diff options
author | Constantin Michael <constantin@codesynthesis.com> | 2011-10-27 12:36:03 +0200 |
---|---|---|
committer | Constantin Michael <constantin@codesynthesis.com> | 2011-10-27 12:36:03 +0200 |
commit | 87fd08a98063303d4d97e2bdac7b212ae5248914 (patch) | |
tree | fd36e510414dbd3047a5d784cc2be87a95808e8c /common/callback | |
parent | 9862cef1421bdc08a99c06f08de2dc5396832185 (diff) |
Revert to manually quoting Oracle identifiers where necessary
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) { |