tzh
2024-08-22 c7d0944258c7d0943aa7b2211498fd612971ce27
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
X\¬Qc@s d„ZdS(ccsx|jƒ}dVd}|j|ƒ}x|jƒD]ú\}}}|dkrVdVn2|dkrjdVn|jdƒrq3n    d|V|jd    d
ƒ}|jd j|ƒƒ}g|jƒD]}    t|    d ƒ^q¿}
d j|djd„|
Dƒƒƒ}|j|ƒ} x| D]} d| dVqWq3Wd}|j|ƒ}x&|jƒD]\} }}d|VqSWdVdS(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'
            ORDER BY "name"
        tsqlite_sequencesDELETE FROM "sqlite_sequence";t sqlite_stat1sANALYZE "sqlite_master";tsqlite_s%s;t"s""sPRAGMA table_info("{0}")is2SELECT 'INSERT INTO "{0}" VALUES({1})' FROM "{0}";t,css*|] }dj|jddƒƒVqdS(s'||quote("{0}")||'Rs""N(tformattreplace(t.0tcol((sT/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/sqlite3/dump.pys    <genexpr>6sis£
        SELECT "name", "type", "sql"
        FROM "sqlite_master"
            WHERE "sql" NOT NULL AND
            "type" IN ('index', 'trigger', 'view')
        sCOMMIT;N(tcursortexecutetfetchallt
startswithRRtstrtjoin(t
connectiontcutqt
schema_rest
table_namettypetsqlttable_name_identtrest
table_infot column_namest    query_restrowtname((sT/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/sqlite3/dump.pyt    _iterdump
s4                   )  N(R(((sT/tmp/ndk-User/buildhost/install/prebuilt/darwin-x86_64/lib/python2.7/sqlite3/dump.pyt<module>
s