Project

General

Profile

« Previous | Next » 

Revision 2417

db_xml.py: put_table(): Don't pass limit, start recursively, because the table subsetting will happen only once in the first invocation of the function. Moved limit, start params to end since they are not passed recursively. start param no longer defaults to 0 because this is not needed since sql.put_table() now sets start to 0 where needed.

View differences:

map
308 308
                xml_func.strip(root)
309 309
                if debug: log_debug('Putting stripped:\n'+str(root))
310 310
                    # only calc if debug
311
                db_xml.put_table(in_db, root.firstChild, table, n, start,
312
                    commit, row_ins_ct_ref)
311
                db_xml.put_table(in_db, root.firstChild, table, commit,
312
                    row_ins_ct_ref, n, start)
313 313
                row_ct = 0 # unknown for now
314 314
            else:
315 315
                # Use normal by-row method

Also available in: Unified diff