db.query fails with "PRAGMA" on "?"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
web.py |
Invalid
|
Undecided
|
Anand Chitipothu |
Bug Description
SQLite fails using the db.query "vars" syntactic sugar when it succeed elsewhere.
>>> len(db.
0.0 (2): PRAGMA table_info('links')
5
>>> len(db.
ERR: PRAGMA table_info('links')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/
out = DB.query(self, *a, **kw)
File "/usr/lib/
self.
File "/usr/lib/
out = cur.execute(
sqlite3.
Of course it's on webpy.dev branch and not webpy.
Sorry, I'll get it right next time.