Project

General

Profile

« Previous | Next » 

Revision 2055

sql.py: mk_select(): Don't escape the table name, because it will either be check_name()d or it's already been escaped

View differences:

lib/sql.py
300 300
    query = 'SELECT '
301 301
    if fields == None: query += '*'
302 302
    else: query += ', '.join([esc_name(db, field) for field in fields])
303
    query += ' FROM '+esc_name(db, table)
303
    query += ' FROM '+table
304 304
    
305 305
    missing = True
306 306
    if conds != {}:

Also available in: Unified diff