Changeset: 05bccd5e318f for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=05bccd5e318f
Modified Files:
Branch: default
Log Message:
Merge with Oct2010 branch:
Use fully qualified table name in readline completion.
This should fix bug 2639.
diffs (12 lines):
diff -r a1fb3fd669fe -r 05bccd5e318f clients/src/mapiclient/ReadlineTools.c
--- a/clients/src/mapiclient/ReadlineTools.c Thu Sep 09 15:49:48 2010 +0200
+++ b/clients/src/mapiclient/ReadlineTools.c Thu Sep 09 17:20:36 2010 +0200
@@ -74,7 +74,7 @@
if (!state) {
seekpos = 0;
len = strlen(text);
- if ((table_hdl = mapi_query(_mid, "SELECT name FROM tables"))
== NULL || mapi_error(_mid)) {
+ if ((table_hdl = mapi_query(_mid, "SELECT \"name\" FROM
\"sys\".\"tables\"")) == NULL || mapi_error(_mid)) {
if (table_hdl) {
mapi_explain_query(table_hdl, stderr);
mapi_close_handle(table_hdl);
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list