Project

General

Profile

« Previous | Next » 

Revision 296

Commit after inserting each row

View differences:

bin/map
160 160
        try:
161 161
            row_ct_ref = [0]
162 162
            def use_row(root): db_xml.xml2db(out_db, root, commit, row_ct_ref)
163
            db_xml.xml2db(out_db, get_xml(use_row).documentElement, row_ct_ref)
163
            db_xml.xml2db(out_db, get_xml(use_row).documentElement, commit,
164
                row_ct_ref)
164 165
            print 'Inserted '+str(row_ct_ref[0])+' rows'
165 166
        finally:
166 167
            out_db.rollback()

Also available in: Unified diff