Revision 834
Added by Aaron Marcuse-Kubitza almost 13 years ago
lib/sql.py | ||
---|---|---|
142 | 142 |
check_name(table) |
143 | 143 |
if table not in cache: |
144 | 144 |
cache[table] = col(run_query(db, 'SELECT * FROM '+table+' LIMIT 0', |
145 |
recover), 0) |
|
145 |
recover=recover), 0)
|
|
146 | 146 |
return cache[table] |
147 | 147 |
|
148 | 148 |
def constraint_cols(db, table, constraint): |
Also available in: Unified diff
sql.py: Fixed error in pkey() where recover was not passed as a named parameter to run_query()