felipe          Wed, 15 Jul 2009 02:31:07 +0000

URL: http://svn.php.net/viewvc?view=revision&revision=284096

Changed paths:
        U   php/php-src/trunk/ext/pdo_odbc/odbc_stmt.c

Log:
- Fixed bug #48913 (Too long error code strings in pdo_odbc driver)

Modified: php/php-src/trunk/ext/pdo_odbc/odbc_stmt.c
===================================================================
--- php/php-src/trunk/ext/pdo_odbc/odbc_stmt.c  2009-07-15 02:16:41 UTC (rev 
284095)
+++ php/php-src/trunk/ext/pdo_odbc/odbc_stmt.c  2009-07-15 02:31:07 UTC (rev 
284096)
@@ -532,7 +532,7 @@
                default:
                        strcpy(S->einfo.last_err_msg, "Unknown Attribute");
                        S->einfo.what = "setAttribute";
-                       strcpy(S->einfo.last_state, "IM0001");
+                       strcpy(S->einfo.last_state, "IM001");
                        return -1;
        }
 }
@@ -560,7 +560,7 @@
                default:
                        strcpy(S->einfo.last_err_msg, "Unknown Attribute");
                        S->einfo.what = "getAttribute";
-                       strcpy(S->einfo.last_state, "IM0001");
+                       strcpy(S->einfo.last_state, "IM001");
                        return -1;
        }
 }

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to