Your IP : 3.149.29.209


Current Path : /opt/alt/python33/lib64/python3.3/sqlite3/__pycache__/
Upload File :
Current File : //opt/alt/python33/lib64/python3.3/sqlite3/__pycache__/dump.cpython-33.pyc

�
��f	c@sdd�ZdS(c
csz|j�}dVd}|j|�}x|j�D]�\}}}|dkrVdVn7|dkrjdVn#|jd�rq3ndj|�V|jd	d
�}|jdj|��}dd
�|j�D�}	dj|djdd�|	D���}|j|�}
x |
D]}dj|d�VqWq3Wd}|j|�}x+|j�D]\}}}dj|�VqPWdVdS(u/
    Returns an iterator to the dump of the database in an SQL text format.

    Used to produce an SQL dump of the database.  Useful to save an in-memory
    database for later restoration.  This function should not be called
    directly but instead called from the Connection method, iterdump().
    uBEGIN TRANSACTION;u�
        SELECT "name", "type", "sql"
        FROM "sqlite_master"
            WHERE "sql" NOT NULL AND
            "type" == 'table'
            ORDER BY "name"
        usqlite_sequenceuDELETE FROM "sqlite_sequence";usqlite_stat1uANALYZE "sqlite_master";usqlite_u{0};u"u""uPRAGMA table_info("{0}")cSs g|]}t|d��qS(i(ustr(u.0u
table_info((u1/opt/alt/python33/lib64/python3.3/sqlite3/dump.pyu
<listcomp>3s	u_iterdump.<locals>.<listcomp>u2SELECT 'INSERT INTO "{0}" VALUES({1})' FROM "{0}";u,css*|] }dj|jdd��VqdS(u'||quote("{0}")||'u"u""N(uformatureplace(u.0ucol((u1/opt/alt/python33/lib64/python3.3/sqlite3/dump.pyu	<genexpr>6su_iterdump.<locals>.<genexpr>iu�
        SELECT "name", "type", "sql"
        FROM "sqlite_master"
            WHERE "sql" NOT NULL AND
            "type" IN ('index', 'trigger', 'view')
        uCOMMIT;N(ucursoruexecuteufetchallu
startswithuformatureplaceujoin(
u
connectionucuuqu
schema_resu
table_nameutypeusqlutable_name_identuresucolumn_namesu	query_resurowuname((u1/opt/alt/python33/lib64/python3.3/sqlite3/dump.pyu	_iterdump
s4			
u	_iterdumpN(u	_iterdump(((u1/opt/alt/python33/lib64/python3.3/sqlite3/dump.pyu<module>
s

?>