Hacked By AnonymousFox

Current Path : /opt/alt/python310/lib64/python3.10/sqlite3/__pycache__/
Upload File :
Current File : //opt/alt/python310/lib64/python3.10/sqlite3/__pycache__/dump.cpython-310.opt-2.pyc

o

6��f��@sdd�ZdS)ccsL�	|��}dVd}|�|�}g}|��D]h\}}}|dkr3|�d���}dg}|dd�|D�7}q|dkr;d	Vn|�d
�rAqd�|�V|�dd
�}	|�d�|	��}
dd�|
��D�}d�|	d�dd�|D���}|�|�}|D]
}
d�|
d�Vqsqd}|�|�}|��D]\}}}d�|�Vq�|D]}
d�|
�Vq�dVdS)NzBEGIN TRANSACTION;z�
        SELECT "name", "type", "sql"
        FROM "sqlite_master"
            WHERE "sql" NOT NULL AND
            "type" == 'table'
            ORDER BY "name"
        �sqlite_sequencez SELECT * FROM "sqlite_sequence";zDELETE FROM "sqlite_sequence"cSs&g|]}d|d�d|d�d��qS)z&INSERT INTO "sqlite_sequence" VALUES('�z',��)�)�.0�rowrr�3/opt/alt/python310/lib64/python3.10/sqlite3/dump.py�
<listcomp>$s��z_iterdump.<locals>.<listcomp>Zsqlite_stat1zANALYZE "sqlite_master";Zsqlite_z{0};�"�""zPRAGMA table_info("{0}")cSsg|]}t|d��qS)r)�str)rZ
table_inforrrr	:sz2SELECT 'INSERT INTO "{0}" VALUES({1})' FROM "{0}";�,css"�|]}d�|�dd��VqdS)z'||quote("{0}")||'r
rN)�format�replace)r�colrrr�	<genexpr>=s� z_iterdump.<locals>.<genexpr>rz�
        SELECT "name", "type", "sql"
        FROM "sqlite_master"
            WHERE "sql" NOT NULL AND
            "type" IN ('index', 'trigger', 'view')
        zCOMMIT;)ZcursorZexecuteZfetchall�
startswithrr�join)Z
connectionZcu�qZ
schema_resrZ
table_name�typeZsqlZrowsZtable_name_ident�resZcolumn_namesZ	query_resr�namerrr�	_iterdump
sL�
�
	�
�

rN)rrrrr�<module>s	

Hacked By AnonymousFox1.0, Coded By AnonymousFox