Changeset: 4d7ee5937fcc for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/4d7ee5937fcc
Modified Files:
        clients/odbc/tests/ODBCmetadata.c
Branch: mal_opt_output
Log Message:

Fix ODBC test case, removing 'optimizer.' leading str.


diffs (12 lines):

diff --git a/clients/odbc/tests/ODBCmetadata.c 
b/clients/odbc/tests/ODBCmetadata.c
--- a/clients/odbc/tests/ODBCmetadata.c
+++ b/clients/odbc/tests/ODBCmetadata.c
@@ -252,7 +252,7 @@ compareResultOptClose(SQLHANDLE stmt, SQ
                        if (ret == SQL_SUCCESS || ret == SQL_SUCCESS_WITH_INFO) 
{
                                /* some rows of EXPLAIN output (which has only 
1 result column) must be surpressed to get stable output */
                                if (columns == 1 &&
-                                   (strncmp(buf, "# optimizer.", 12) == 0 ||
+                                   (strncmp(buf, "# ", 2) == 0 ||
                                     strncmp(buf, "barrier X_", 10) == 0 ||
                                     strncmp(buf, "exit X_", 7) == 0) ) {
                                        continue;
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to