felipe          Wed, 15 Jul 2009 02:35:43 +0000

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

Changed paths:
        U   php/php-src/branches/PHP_5_2/NEWS
        U   php/php-src/branches/PHP_5_2/ext/pdo_odbc/odbc_stmt.c

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

Modified: php/php-src/branches/PHP_5_2/NEWS
===================================================================
--- php/php-src/branches/PHP_5_2/NEWS   2009-07-15 02:32:43 UTC (rev 284097)
+++ php/php-src/branches/PHP_5_2/NEWS   2009-07-15 02:35:43 UTC (rev 284098)
@@ -4,6 +4,8 @@
 - Fixed regression in cURL extension that prevented flush of data to output
   defined as a file handle. (Ilia)

+- Fixed bug #48913 (Too long error code strings in pdo_odbc driver).
+  (naf at altlinux dot ru, Felipe)
 - Fixed bug #48788 (RecursiveDirectoryIterator doesn't descend into symlinked
   directories). (Ilia)
 - Fixed bug #48733 (CURLOPT_WRITEHEADER|CURLOPT_FILE|CURLOPT_STDERR warns on

Modified: php/php-src/branches/PHP_5_2/ext/pdo_odbc/odbc_stmt.c
===================================================================
--- php/php-src/branches/PHP_5_2/ext/pdo_odbc/odbc_stmt.c       2009-07-15 
02:32:43 UTC (rev 284097)
+++ php/php-src/branches/PHP_5_2/ext/pdo_odbc/odbc_stmt.c       2009-07-15 
02:35:43 UTC (rev 284098)
@@ -568,7 +568,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;
        }
 }
@@ -596,7 +596,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