Revision 3053
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql.py | ||
---|---|---|
886 | 886 |
-- Insert the value and error for *each* source column. |
887 | 887 |
FOR "column" IN |
888 | 888 |
'''+mk_select(db, sql_gen.NamedValues('c', None, [[c.name] for c in srcs]), |
889 |
order_by=None)+''' |
|
889 |
order_by=None, start=0)+'''
|
|
890 | 890 |
LOOP |
891 | 891 |
BEGIN |
892 | 892 |
'''+mk_insert_select(db, errors_table, errors_table_cols, |
Also available in: Unified diff
sql.py: cast(): columns values clause: Use start=0 to avoid "SELECT statement missing a WHERE, LIMIT, or OFFSET clause" warning