Revision 5385
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/db_xml.py | ||
---|---|---|
229 | 229 |
in_table = sql_gen.Table(strings.ustr(full_in_table), |
230 | 230 |
srcs=full_in_table.srcs, is_temp=True) # prepend schema to name |
231 | 231 |
sql.copy_table_struct(db, full_in_table, in_table) |
232 |
try: sql.add_row_num(db, in_table, sql.pkey_col)
|
|
232 |
try: sql.add_row_num(db, in_table, 'row_num')
|
|
233 | 233 |
except sql.DatabaseErrors: pass # already has pkey |
234 | 234 |
cur = sql.insert_select(db, in_table, None, sql.mk_select(db, |
235 | 235 |
full_in_table, limit=this_limit, start=start, order_by=None)) |
Also available in: Unified diff
db_xml.py: cleanup_table(): Inline sql.pkey_col ('row_num') because this is the only place it's used