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

Use fully qualified table name in readline completion.
This should fix bug 2639.


diffs (12 lines):

diff -r 2d5b83475da8 -r af483074f8f4 clients/src/mapiclient/ReadlineTools.mx
--- a/clients/src/mapiclient/ReadlineTools.mx   Wed Sep 08 17:56:03 2010 +0200
+++ b/clients/src/mapiclient/ReadlineTools.mx   Thu Sep 09 17:19:15 2010 +0200
@@ -88,7 +88,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