Revision 3312
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql_io.py | ||
---|---|---|
364 | 364 |
if limit_ref[0] == 0: # special case |
365 | 365 |
log_debug('Creating an empty pkeys table') |
366 | 366 |
cur = sql.run_query_into(db, sql.mk_select(db, out_table, |
367 |
[out_pkey], limit=limit_ref[0]), into=insert_out_pkeys)
|
|
367 |
[out_pkey], order_by=None, limit=0), into=insert_out_pkeys)
|
|
368 | 368 |
break # don't do main case |
369 | 369 |
|
370 | 370 |
has_joins = join_cols != {} |
Also available in: Unified diff
sql_io.py: put_table(): Creating an empty pkeys table: Don't sort the inserted result by pkey because it's empty (limit=0)