Changeset: 118017d3f587 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=118017d3f587
Modified Files:
        java/src/nl/cwi/monetdb/jdbc/MonetDatabaseMetaData.java
Branch: default
Log Message:

merge


diffs (24 lines):

diff --git a/java/src/nl/cwi/monetdb/jdbc/MonetDatabaseMetaData.java 
b/java/src/nl/cwi/monetdb/jdbc/MonetDatabaseMetaData.java
--- a/java/src/nl/cwi/monetdb/jdbc/MonetDatabaseMetaData.java
+++ b/java/src/nl/cwi/monetdb/jdbc/MonetDatabaseMetaData.java
@@ -1591,13 +1591,13 @@ public class MonetDatabaseMetaData exten
                        "SELECT * FROM ( " +
                        "SELECT '" + cat + "' AS \"TABLE_CAT\", 
\"schemas\".\"name\" AS \"TABLE_SCHEM\", \"tables\".\"name\" AS \"TABLE_NAME\", 
" +
                                "CASE WHEN \"tables\".\"system\" = true AND 
\"tables\".\"type\" = 0 AND \"tables\".\"temporary\" = 0 THEN 'SYSTEM TABLE' " +
-                               "       WHEN \"tables\".\"system\" = true AND 
\"tables\".\"type\" = 1 AND \"tables\".\"temporary\" = 0 THEN 'SYSTEM VIEW' " +
-                               "       WHEN \"tables\".\"system\" = false AND 
\"tables\".\"type\" = 0 AND \"tables\".\"temporary\" = 0 THEN 'TABLE' " +
-                               "       WHEN \"tables\".\"system\" = false AND 
\"tables\".\"type\" = 1 AND \"tables\".\"temporary\" = 0 THEN 'VIEW' " +
-                               "   WHEN \"tables\".\"system\" = true AND 
\"tables\".\"type\" = 0 AND \"tables\".\"temporary\" = 1 THEN 'SYSTEM SESSION 
TABLE' " +
-                               "       WHEN \"tables\".\"system\" = true AND 
\"tables\".\"type\" = 1 AND \"tables\".\"temporary\" = 1 THEN 'SYSTEM SESSION 
VIEW' " +
-                               "       WHEN \"tables\".\"system\" = false AND 
\"tables\".\"type\" = 0 AND \"tables\".\"temporary\" = 1 THEN 'SESSION TABLE' " 
+
-                               "       WHEN \"tables\".\"system\" = false AND 
\"tables\".\"type\" = 1 AND \"tables\".\"temporary\" = 1 THEN 'SESSION VIEW' " +
+                               "WHEN \"tables\".\"system\" = true AND 
\"tables\".\"type\" = 1 AND \"tables\".\"temporary\" = 0 THEN 'SYSTEM VIEW' " +
+                               "WHEN \"tables\".\"system\" = false AND 
\"tables\".\"type\" = 0 AND \"tables\".\"temporary\" = 0 THEN 'TABLE' " +
+                               "WHEN \"tables\".\"system\" = false AND 
\"tables\".\"type\" = 1 AND \"tables\".\"temporary\" = 0 THEN 'VIEW' " +
+                               "WHEN \"tables\".\"system\" = true AND 
\"tables\".\"type\" = 0 AND \"tables\".\"temporary\" = 1 THEN 'SYSTEM SESSION 
TABLE' " +
+                               "WHEN \"tables\".\"system\" = true AND 
\"tables\".\"type\" = 1 AND \"tables\".\"temporary\" = 1 THEN 'SYSTEM SESSION 
VIEW' " +
+                               "WHEN \"tables\".\"system\" = false AND 
\"tables\".\"type\" = 0 AND \"tables\".\"temporary\" = 1 THEN 'SESSION TABLE' " 
+
+                               "WHEN \"tables\".\"system\" = false AND 
\"tables\".\"type\" = 1 AND \"tables\".\"temporary\" = 1 THEN 'SESSION VIEW' " +
                                "END AS \"TABLE_TYPE\", \"tables\".\"query\" AS 
\"REMARKS\", null AS \"TYPE_CAT\", null AS \"TYPE_SCHEM\", " +
                                "null AS \"TYPE_NAME\", 'rowid' AS 
\"SELF_REFERENCING_COL_NAME\", 'SYSTEM' AS \"REF_GENERATION\" " +
                        "FROM \"sys\".\"tables\" AS \"tables\", 
\"sys\".\"schemas\" AS \"schemas\" WHERE \"tables\".\"schema_id\" = 
\"schemas\".\"id\" " +
_______________________________________________
checkin-list mailing list
checkin-list@monetdb.org
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to