Jacob Qvortrup
unread,May 15, 2012, 4:41:04 AM5/15/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to h2-da...@googlegroups.com
Hi, i am wondering why the command "Show Tables" always uses the PUBLIC schema instead of the one set using the "Set Schema" command. The change would be very simple:
--- Parser.java (4146)
+++ Parser.java (working copy)
@@ -849,7 +850,7 @@
buff.append("'UTF8' AS SERVER_ENCODING FROM DUAL");
} else if (readIf("TABLES")) {
// for MySQL compatibility
- String schema = Constants.SCHEMA_MAIN;
+ String schema = session.getCurrentSchemaName();
if (readIf("FROM")) {
schema = readUniqueIdentifier();
}