Changeset: 071b8b703783 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=071b8b703783
Modified Files:
        tools/mserver/shutdowntest.c
Branch: Jul2017
Log Message:

Use the exported version of the function.


diffs (30 lines):

diff --git a/tools/mserver/shutdowntest.c b/tools/mserver/shutdowntest.c
--- a/tools/mserver/shutdowntest.c
+++ b/tools/mserver/shutdowntest.c
@@ -34,7 +34,7 @@ CREATE_SQL_FUNCTION_PTR(int,SQLautocommi
 CREATE_SQL_FUNCTION_PTR(str,SQLexitClient);
 CREATE_SQL_FUNCTION_PTR(str,SQLinitClient);
 CREATE_SQL_FUNCTION_PTR(str,SQLstatementIntern);
-CREATE_SQL_FUNCTION_PTR(void,res_table_destroy);
+CREATE_SQL_FUNCTION_PTR(void,SQLdestroyResult);
 
 static int monetdb_initialized = 0;
 
@@ -77,7 +77,7 @@ static str monetdb_query(Client c, str q
                        printf("%s", res->cols[i].name);
                        printf(i + 1 == res->nr_cols ? ")\n" : ",");
                }
-               (*res_table_destroy_ptr)(res);
+               (*SQLdestroyResult_ptr)(res);
        }
        return MAL_SUCCEED;
 }
@@ -257,7 +257,7 @@ static str monetdb_initialize(void) {
        LOAD_SQL_FUNCTION_PTR(SQLexitClient);
        LOAD_SQL_FUNCTION_PTR(SQLinitClient);
        LOAD_SQL_FUNCTION_PTR(SQLstatementIntern);
-       LOAD_SQL_FUNCTION_PTR(res_table_destroy);
+       LOAD_SQL_FUNCTION_PTR(SQLdestroyResult);
 
        if (retval != MAL_SUCCEED) {
                printf("Failed to load SQL function: %s\n", retval);
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list

Reply via email to