ACC SHELL

Path : /usr/lib/python/sqlite3/
File Upload :
Current File : //usr/lib/python/sqlite3/dump.pyo

Ñò
p&ÄMc@s
d„ZdS(c
cs›|iƒ}dVd}|i|ƒ}x+|iƒD]\}}}|djo	dVn7|djo	dVn!|idƒoq3n
d|V|id	|ƒ}g}|iƒD]}	|t|	d
ƒq²~}
d}|dig}|
D]}|d
|dqì~ƒ7}|d7}|i|h|d6ƒ}
x|
D]}d|dVq9Wq3Wd}|i|ƒ}x&|iƒD]\}}}d|VqvWdVdS(s/
    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().
    sBEGIN TRANSACTION;s‚
        SELECT name, type, sql
        FROM sqlite_master
            WHERE sql NOT NULL AND
            type == 'table'
        tsqlite_sequencesDELETE FROM sqlite_sequence;tsqlite_stat1sANALYZE sqlite_master;tsqlite_s%s;sPRAGMA table_info('%s')is*SELECT 'INSERT INTO "%(tbl_name)s" VALUES(t,s	'||quote(s)||'s)' FROM '%(tbl_name)s'ttbl_nameis—
        SELECT name, type, sql
        FROM sqlite_master
            WHERE sql NOT NULL AND
            type IN ('index', 'trigger', 'view')
        sCOMMIT;N(tcursortexecutetfetchallt
startswithtstrtjoin(t
connectiontcutqt
schema_rest
table_namettypetsqltrest_[1]t
table_infotcolumn_namest_[2]tcolt	query_restrowtname((s"/usr/lib/python2.6/sqlite3/dump.pyt	_iterdumps8	

	
	
	16


N(R(((s"/usr/lib/python2.6/sqlite3/dump.pyt<module>s

ACC SHELL 2018