Revision 3126
Added by Aaron Marcuse-Kubitza over 12 years ago
lib/sql.py | ||
---|---|---|
1203 | 1203 |
if temp: str_ += ' TEMP' |
1204 | 1204 |
str_ += ' TABLE '+table.to_str(db)+' (\n' |
1205 | 1205 |
str_ += '\n, '.join(c.to_str(db) for c in cols) |
1206 |
str_ += '\n);\n'
|
|
1206 |
str_ += '\n);' |
|
1207 | 1207 |
|
1208 | 1208 |
try: |
1209 | 1209 |
run_query(db, str_, cacheable=True, log_level=2, |
Also available in: Unified diff
sql.py: create_table(): Removed final newline after query because that's added by the logging mechanism