Changeset: e18528196508 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=e18528196508
Modified Files:
        clients/src/mapiclient/ReadlineTools.c
Branch: Oct2010
Log Message:

Merge with Jun2010 branch:
Use fully qualified table name in readline completion.
This should fix bug 2639.


diffs (12 lines):

diff -r 33143d921142 -r e18528196508 clients/src/mapiclient/ReadlineTools.c
--- a/clients/src/mapiclient/ReadlineTools.c    Thu Sep 09 15:49:27 2010 +0200
+++ b/clients/src/mapiclient/ReadlineTools.c    Thu Sep 09 17:20:14 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

Reply via email to