Revision 2422
Added by Aaron Marcuse-Kubitza over 12 years ago
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 |
in_row_ct_ref = [0] |
|
311 | 312 |
db_xml.put_table(in_db, root.firstChild, table, commit, |
312 |
row_ins_ct_ref, n, start) |
|
313 |
row_ct = 0 # unknown for now
|
|
313 |
in_row_ct_ref, row_ins_ct_ref, n, start)
|
|
314 |
row_ct = in_row_ct_ref[0]
|
|
314 | 315 |
else: |
315 | 316 |
# Use normal by-row method |
316 | 317 |
row_ct = map_table(col_names, sql.rows(cur), rows_start=start) |
Also available in: Unified diff
db_xml.py: put_table(): Added in_row_ct_ref param to store the # of input rows processed. Renamed row_ct_ref param to row_ins_ct_ref to distinguish it from new in_row_ct_ref param.