aboutsummaryrefslogtreecommitdiff
path: root/common/callback/driver.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'common/callback/driver.cxx')
-rw-r--r--common/callback/driver.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/callback/driver.cxx b/common/callback/driver.cxx
index afd6fb3..bc5b4f0 100644
--- a/common/callback/driver.cxx
+++ b/common/callback/driver.cxx
@@ -93,7 +93,8 @@ main (int argc, char* argv[])
typedef odb::result<object> result;
transaction t (db->begin ());
- result r (db->query<object> ((query::id < 3) + "ORDER BY object.id"));
+ result r (db->query<object> (
+ (query::id < 3) + "ORDER BY common_callback_object.id"));
for (result::iterator i (r.begin ()); i != r.end (); ++i)
{