aboutsummaryrefslogtreecommitdiff
path: root/common/callback/driver.cxx
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-10-27 12:36:03 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-10-27 12:36:03 +0200
commit87fd08a98063303d4d97e2bdac7b212ae5248914 (patch)
treefd36e510414dbd3047a5d784cc2be87a95808e8c /common/callback/driver.cxx
parent9862cef1421bdc08a99c06f08de2dc5396832185 (diff)
Revert to manually quoting Oracle identifiers where necessary
Diffstat (limited to 'common/callback/driver.cxx')
-rw-r--r--common/callback/driver.cxx8
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)
{