empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From franci...@apache.org
Subject empire-db git commit: fix EMPIREDB-241 Error in lower() implementation for PostgreSQL
Date Mon, 09 May 2016 19:37:37 GMT
Repository: empire-db
Updated Branches:
  refs/heads/master a812088bc -> 3566a9786


fix EMPIREDB-241 Error in lower() implementation for PostgreSQL


Project: http://git-wip-us.apache.org/repos/asf/empire-db/repo
Commit: http://git-wip-us.apache.org/repos/asf/empire-db/commit/3566a978
Tree: http://git-wip-us.apache.org/repos/asf/empire-db/tree/3566a978
Diff: http://git-wip-us.apache.org/repos/asf/empire-db/diff/3566a978

Branch: refs/heads/master
Commit: 3566a97861768d6921755f089af7ad1a350dcdf9
Parents: a812088
Author: Francis De Brabandere <francisdb@apache.org>
Authored: Mon May 9 21:37:27 2016 +0200
Committer: Francis De Brabandere <francisdb@apache.org>
Committed: Mon May 9 21:37:27 2016 +0200

----------------------------------------------------------------------
 .../apache/empire/db/postgresql/DBDatabaseDriverPostgreSQL.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/empire-db/blob/3566a978/empire-db/src/main/java/org/apache/empire/db/postgresql/DBDatabaseDriverPostgreSQL.java
----------------------------------------------------------------------
diff --git a/empire-db/src/main/java/org/apache/empire/db/postgresql/DBDatabaseDriverPostgreSQL.java
b/empire-db/src/main/java/org/apache/empire/db/postgresql/DBDatabaseDriverPostgreSQL.java
index 0c30891..5965dc7 100644
--- a/empire-db/src/main/java/org/apache/empire/db/postgresql/DBDatabaseDriverPostgreSQL.java
+++ b/empire-db/src/main/java/org/apache/empire/db/postgresql/DBDatabaseDriverPostgreSQL.java
@@ -348,7 +348,7 @@ public class DBDatabaseDriverPostgreSQL extends DBDatabaseDriver
             case SQL_FUNC_STRINDEXFROM:       return "strindexfrom_not_available_in_pgsql({0},
?, {1})"; // "locate({0}, ?, {1})"; 
             case SQL_FUNC_LENGTH:             return "length(?)";
             case SQL_FUNC_UPPER:              return "upper(?)";
-            case SQL_FUNC_LOWER:              return "lcase(?)";
+            case SQL_FUNC_LOWER:              return "lower(?)";
             case SQL_FUNC_TRIM:               return "trim(?)";
             case SQL_FUNC_LTRIM:              return "ltrim(?)";
             case SQL_FUNC_RTRIM:              return "rtrim(?)";


Mime
View raw message