MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:jwinstead Date:December 7 2007 5:59pm
Subject:Connector/ODBC 3.51 commit: r939 - branches/guffert/test
View as plain text  
Modified:
   branches/guffert/test/my_basics.c
Log:
Always skip test of FLAG_NO_PROMPT if using driver manager


Modified: branches/guffert/test/my_basics.c
===================================================================
--- branches/guffert/test/my_basics.c	2007-12-07 17:57:22 UTC (rev 938)
+++ branches/guffert/test/my_basics.c	2007-12-07 17:59:56 UTC (rev 939)
@@ -490,18 +490,12 @@
 */
 DECLARE_TEST(t_bug30840)
 {
-#ifdef WIN32
-  skip("test does not work on Windows");
-#else
   HDBC hdbc1;
   SQLCHAR   conn[256], conn_out[256];
   SQLSMALLINT conn_out_len;
 
-  /* Windows DM checks if we try to prompt with an invalid
-   * window handle */
-#ifdef _WIN32
-  return OK;
-#endif
+  if (using_dm(hdbc))
+    skip("test does not work with all driver managers");
 
   sprintf((char *)conn, "DSN=%s;UID=%s;PWD=%s;OPTION=16",
           mydsn, myuid, mypwd);
@@ -522,7 +516,6 @@
   ok_con(hdbc1, SQLFreeHandle(SQL_HANDLE_DBC, hdbc1));
 
   return OK;
-#endif
 }
 
 

Thread
Connector/ODBC 3.51 commit: r939 - branches/guffert/testjwinstead7 Dec