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