aboutsummaryrefslogtreecommitdiff
path: root/common/callback
AgeCommit message (Collapse)AuthorFilesLines
2011-08-24Make tests use unique table prefixesBoris Kolpackov2-2/+3
2011-08-19Rework query machinery not to use '_' as primary table aliasBoris Kolpackov1-1/+1
Now we always qualify with the actual table name and use the '_' alias for situations where an object is referencing itself.
2011-08-18Fix custom recursive loading in post_load callbackBoris Kolpackov3-6/+50
Before we called the callback while holding the statements locked. As a result, if the callback tried to load another object of this type, it failed. Now we unlock the statements (since we have completely loaded the object from ODB's point of view) and then call the callback. The callback test has been updated to test this situation.
2011-07-18Qualify id with table alias to help SQLite outBoris Kolpackov1-1/+1
This hack should go away once we have language-integrated support for ORDER BY.
2011-07-11Order results by id to get consistent test output orderBoris Kolpackov1-1/+1
2011-07-05Fix memory leakBoris Kolpackov1-0/+2
2011-07-04Implement support for database operations callbacksBoris Kolpackov4-0/+353
New object pragma: callback. New test: common/callback. New manual section: 10.1.4, "callback".