Project

General

Profile

« Previous | Next » 

Revision 1997

bin/map: in_is_db: by_col: Use new put_table() (defined but not implemented yet)

View differences:

bin/map
278 278
                row = ['$'+v for v in col_names] # values are the column names
279 279
                map_table(col_names, [row]) # map just the sample row
280 280
                xml_func.strip(root)
281
                sys.stderr.write(str(root))
282
                raise NotImplementedError(
283
                    'By-column optimization not available yet')
281
                db_xml.put_table(in_db, root.firstChild, table, row_ins_ct_ref,
282
                    table_is_esc=table_is_esc)
284 283
            else:
285 284
                # Use normal by-row method
286 285
                row_ct = map_table(col_names, sql.rows(cur), rows_start=start)

Also available in: Unified diff