Project

General

Profile

« Previous | Next » 

Revision 2427

db_xml.py: put_table(): Use new sql.table_row_count()

View differences:

db_xml.py
200 200
    
201 201
    # Count # rows and update in_row_ct_ref once all columns have been processed
202 202
    if in_row_ct_ref != None:
203
        in_row_ct_ref[0] += sql.value(sql.run_query(db,
204
            *sql.mk_select(db, in_table, [sql_gen.row_count], order_by=None)))
203
        in_row_ct_ref[0] += sql.table_row_count(db, in_table)
205 204
    
206 205
    return pkeys_loc

Also available in: Unified diff