From 87fd08a98063303d4d97e2bdac7b212ae5248914 Mon Sep 17 00:00:00 2001
From: Constantin Michael <constantin@codesynthesis.com>
Date: Thu, 27 Oct 2011 12:36:03 +0200
Subject: Revert to manually quoting Oracle identifiers where necessary

---
 common/callback/driver.cxx | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

(limited to 'common/callback')

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)
       {
-- 
cgit v1.1