Changeset: 71adbf239bbc for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=71adbf239bbc
Modified Files:
        clients/odbc/driver/SQLColumnPrivileges.c
        clients/odbc/driver/SQLTablePrivileges.c
Branch: Mar2018
Log Message:

Correct incorrect comment


diffs (24 lines):

diff --git a/clients/odbc/driver/SQLColumnPrivileges.c 
b/clients/odbc/driver/SQLColumnPrivileges.c
--- a/clients/odbc/driver/SQLColumnPrivileges.c
+++ b/clients/odbc/driver/SQLColumnPrivileges.c
@@ -176,7 +176,7 @@ MNDBColumnPrivileges(ODBCStmt *stmt,
                      "p.grantor = g.id and "
                      "e.name = 'gdk_dbname' and "
                      "p.privileges = pc.privilege_code_id",
-               /* a server that supports sys.columns also supports
+               /* a server that supports sys.comments also supports
                 * sys.privilege_codes */
                stmt->Dbc->has_comment ? "sys.privilege_codes as pc" :
                     "(values (1, 'SELECT'), "
diff --git a/clients/odbc/driver/SQLTablePrivileges.c 
b/clients/odbc/driver/SQLTablePrivileges.c
--- a/clients/odbc/driver/SQLTablePrivileges.c
+++ b/clients/odbc/driver/SQLTablePrivileges.c
@@ -155,7 +155,7 @@ MNDBTablePrivileges(ODBCStmt *stmt,
                      "p.grantor = g.id and "
                      "e.name = 'gdk_dbname' and "
                      "p.privileges = pc.privilege_code_id",
-               /* a server that supports sys.columns also supports
+               /* a server that supports sys.comments also supports
                 * sys.privilege_codes */
                stmt->Dbc->has_comment ? "sys.privilege_codes as pc" :
                     "(values (1, 'SELECT'), "
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to