Multiple queries using db.query() raises a _mysql_exceptions.ProgrammingError
Bug #672538 reported by
Brian J Ewing
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
web.py |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
db.query("INSERT INTO table1 (field1, field2) VALUES ('value', 'value'); UPDATE table2 SET foo='bar'")
This works fine, however a _mysql_
_mysql_
db.query tries to return the result from the last query without first freeing the result of the first, and MySQLdb raises this exception
Changed in webpy: | |
status: | New → Fix Released |
To post a comment you must log in.
Issue moved to github.
https:/ /github. com/webpy/ webpy/issues/ issue/34