List:Commits« Previous MessageNext Message »
From:grichter Date:June 14 2007 5:29am
Subject:Connector/ODBC 3.51 commit: r497 - trunk/test
View as plain text  
Modified:
   trunk/test/my_catalog.c
Log:
Added "SET GLOBAL log_bin_trust_function_creators = 1" to allow test to 
run on a server which has binary log enabled


Modified: trunk/test/my_catalog.c
===================================================================
--- trunk/test/my_catalog.c	2007-06-13 10:03:41 UTC (rev 496)
+++ trunk/test/my_catalog.c	2007-06-14 05:29:11 UTC (rev 497)
@@ -653,12 +653,14 @@
   return OK;
 }
 
-
 DECLARE_TEST(t_sqlprocedures)
 {
   SQLRETURN rc;
   /** @todo check server version */
 
+  /* avoid errors in case binary log is activated */
+  ok_sql(hstmt, "SET GLOBAL log_bin_trust_function_creators = 1");
+
   ok_sql(hstmt, "DROP FUNCTION IF EXISTS t_sqlproc_func");
   ok_sql(hstmt,
          "CREATE FUNCTION t_sqlproc_func (a INT) RETURNS INT RETURN SQRT(a)");
@@ -1332,7 +1334,7 @@
   ADD_TEST(my_table_dbs)
   ADD_TEST(my_tablepriv)
   ADD_TEST(my_tablepriv_data)
-  ADD_TEST(my_colpriv)
+  ADD_TEST(my_colpriv) 
   ADD_TEST(t_sqlprocedures)
   ADD_TEST(t_catalog)
   ADD_TEST(tmysql_specialcols)

Thread
Connector/ODBC 3.51 commit: r497 - trunk/testgrichter14 Jun