diff options
Diffstat (limited to 'common/callback')
-rw-r--r-- | common/callback/driver.cxx | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/common/callback/driver.cxx b/common/callback/driver.cxx index 76dbda4..b22d543 100644 --- a/common/callback/driver.cxx +++ b/common/callback/driver.cxx @@ -95,13 +95,7 @@ main (int argc, char* argv[]) transaction t (db->begin ()); -#ifndef DATABASE_ORACLE - result r (db->query<object> ( - (query::id < 3) + "ORDER BY callback_object.id")); -#else - result r (db->query<object> ( - (query::id < 3) + "ORDER BY \"callback_object\".\"id\"")); -#endif + result r (db->query<object> ((query::id < 3) + "ORDER BY" + query::id)); for (result::iterator i (r.begin ()); i != r.end (); ++i) { |