Home » Database » MDB2 » Bug #3995
Type-o in Driver MSSQL
Details
| Submitted | 2005-03-29 19:37 UTC |
|---|---|
| From | nick at silverorange dot com |
| Assigned | lsmith |
| Status | Closed |
| Package | MDB2 |
| PHP Version | 5.0.3 |
| OS | Linux |
| Roadmaps | (Not assigned) |
Comments
[2005-03-29 19:37 UTC] nick at silverorange dot com
Description:
------------
Simple type-o.
"nativecode" should be "native_code"
Reproduce code:
---------------
Index: MDB2/Driver/mssql.php
===================================================================
RCS file: /repository/pear/MDB2/MDB2/Driver/mssql.php,v
retrieving revision 1.64
diff -u -r1.64 mssql.php
--- MDB2/Driver/mssql.php 25 Mar 2005 18:12:18 -0000 1.64
+++ MDB2/Driver/mssql.php 29 Mar 2005 19:33:44 -0000
@@ -129,7 +129,7 @@
);
}
if (isset($ecode_map[$native_code])) {
- if ($nativecode == 3701
+ if ($native_code == 3701
&& preg_match('/Cannot drop the index/i', $msg)
) {
$error = MDB2_ERROR_NOT_FOUND;
[2005-03-30 01:33 UTC] smith at backendmedia dot com
This bug has been fixed in CVS.
In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pear.php.net.
In case this was a pear.php.net website problem, the change will show
up on the website in short time.
Thank you for the report, and for helping us make PEAR better.