empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From franci...@apache.org
Subject svn commit: r907512 - /incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/mysql/DBDatabaseDriverMySQL.java
Date Sun, 07 Feb 2010 23:29:52 GMT
Author: francisdb
Date: Sun Feb  7 23:29:52 2010
New Revision: 907512

URL: http://svn.apache.org/viewvc?rev=907512&view=rev
Log:
EMPIREDB-70 MySQL Indentifier Quote not MySQL Default
applied patch by McKinley

Modified:
    incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/mysql/DBDatabaseDriverMySQL.java

Modified: incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/mysql/DBDatabaseDriverMySQL.java
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/mysql/DBDatabaseDriverMySQL.java?rev=907512&r1=907511&r2=907512&view=diff
==============================================================================
--- incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/mysql/DBDatabaseDriverMySQL.java
(original)
+++ incubator/empire-db/trunk/empire-db/src/main/java/org/apache/empire/db/mysql/DBDatabaseDriverMySQL.java
Sun Feb  7 23:29:52 2010
@@ -207,8 +207,8 @@
             case SQL_RENAME_TABLE:            return " ";
             case SQL_RENAME_COLUMN:           return " AS ";
             case SQL_DATABASE_LINK:           return "@";
-            case SQL_QUOTES_OPEN:             return "\"";
-            case SQL_QUOTES_CLOSE:            return "\"";
+            case SQL_QUOTES_OPEN:             return "`";
+            case SQL_QUOTES_CLOSE:            return "`";
             case SQL_CONCAT_EXPR:             return "concat(?, {0})";
             // data types
             case SQL_BOOLEAN_TRUE:            return "1";



Mime
View raw message