Author: timbo
Date: Mon Jan  2 06:42:01 2012
New Revision: 15060

Modified:
   dbi/trunk/Changes
   dbi/trunk/DBI.xs

Log:
Fixed is_nested_call logic error RT73118 (Reini Urban)

Modified: dbi/trunk/Changes
==============================================================================
--- dbi/trunk/Changes   (original)
+++ dbi/trunk/Changes   Mon Jan  2 06:42:01 2012
@@ -14,6 +14,7 @@
   Fixed sql_type_cast example and typo in errors (Martin J. Evans)
   Fixed Gofer error handling for keeperr methods like ping (Tim Bunce)
   Fixed $dbh->clone({}) RT73250 (Tim Bunce)
+  Fixed is_nested_call logic error RT73118 (Reini Urban)
 
   Enhanced and standardized driver trace level mechanism (Tim Bunce)
   Removed old code that was an inneffective attempt to detect

Modified: dbi/trunk/DBI.xs
==============================================================================
--- dbi/trunk/DBI.xs    (original)
+++ dbi/trunk/DBI.xs    Mon Jan  2 06:42:01 2012
@@ -3243,7 +3243,7 @@
         }
     }
 
-    is_nested_call = (call_depth > 1 || (DBIc_PARENT_COM(imp_xxh) && 
DBIc_CALL_DEPTH(DBIc_PARENT_COM(imp_xxh))) >= 1);
+    is_nested_call = ( call_depth > 1 || (DBIc_PARENT_COM(imp_xxh) && 
(DBIc_CALL_DEPTH(DBIc_PARENT_COM(imp_xxh)) >= 1)) );
 
 
     /* --- dispatch --- */

Reply via email to