aboutsummaryrefslogtreecommitdiff
path: root/sqlite/truncation/test.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2011-08-18 11:38:40 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2011-08-18 11:38:40 +0200
commit458296a902060900487f80219a8762142bb7800e (patch)
tree2c6a0bfb63e9d2dcb9c11774b157ef443cbb43bb /sqlite/truncation/test.hxx
parent839a84b996d89dcf3d553af23e4ed5e0e4fa60e2 (diff)
Fix custom recursive loading in post_load callback
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.
Diffstat (limited to 'sqlite/truncation/test.hxx')
0 files changed, 0 insertions, 0 deletions