Project

General

Profile

« Previous | Next » 

Revision 5528

sql.mk_select() calls: Removed no longer needed order_by=None when limit=0

View differences:

lib/sql.py
1053 1053
        order_by=None), recover=recover, log_level=3))
1054 1054

  
1055 1055
def table_col_names(db, table, recover=None):
1056
    return list(col_names(select(db, table, limit=0, order_by=None,
1057
        recover=recover, log_level=4)))
1056
    return list(col_names(select(db, table, limit=0, recover=recover,
1057
        log_level=4)))
1058 1058

  
1059 1059
def table_cols(db, table, *args, **kw_args):
1060 1060
    return [sql_gen.as_Col(strings.ustr(c), table)
lib/sql_io.py
547 547
        
548 548
        # Create empty pkeys table so its row type can be used
549 549
        insert_into_pkeys(sql.mk_select(db, input_joins,
550
            [in_pkey_col, func_call], order_by=None, limit=0), recover=True)
550
            [in_pkey_col, func_call], limit=0), recover=True)
551 551
        result_type = db.col_info(sql_gen.Col(into_out_pkey, into)).type
552 552
        
553 553
        ## Create error handling wrapper function

Also available in: Unified diff