MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:jimw Date:March 19 2007 6:48pm
Subject:[svn:DBD-mysql] r9275 - DBD-mysql/trunk
View as plain text  
Author: jimw
Date: Mon Mar 19 11:48:52 2007
New Revision: 9275

Modified:
   DBD-mysql/trunk/dbdimp.c

Log:
Remove redundant debug message, and move remaining one out from between
a function call and it's error checking so it is more apparent what is
going on.


Modified: DBD-mysql/trunk/dbdimp.c
==============================================================================
--- DBD-mysql/trunk/dbdimp.c	(original)
+++ DBD-mysql/trunk/dbdimp.c	Mon Mar 19 11:48:52 2007
@@ -2893,6 +2893,10 @@
       bind_type_guessing=0;
   }
 
+  if (dbis->debug >= 2)
+    PerlIO_printf(DBILOGFP, "mysql_st_internal_execute MYSQL_VERSION_ID %d\n",
+                  MYSQL_VERSION_ID );
+
   salloc= parse_params(svsock,
                               sbuf,
                               &slen,
@@ -2900,13 +2904,6 @@
                               num_params,
                               bind_type_guessing);
 
-  if (dbis->debug >= 2)
-    PerlIO_printf(DBILOGFP, "mysql_st_internal_execute\n");
-
-  if (dbis->debug >= 2)
-    PerlIO_printf(DBILOGFP, "mysql_st_internal_execute MYSQL_VERSION_ID %d\n",
-                  MYSQL_VERSION_ID );
-
   if (salloc)
   {
     sbuf= salloc;
Thread
[svn:DBD-mysql] r9275 - DBD-mysql/trunkjimw19 Mar