ID:               40772
 User updated by:  vunnuk_o at ukr dot net
 Reported By:      vunnuk_o at ukr dot net
-Status:           No Feedback
+Status:           Closed
 Bug Type:         PDO related
 Operating System: Win XP
 PHP Version:      5.2.1
 New Comment:

With the latest snapshot this error does not manifest itself


Previous Comments:
------------------------------------------------------------------------

[2007-03-20 01:00:00] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------

[2007-03-12 11:12:45] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip



------------------------------------------------------------------------

[2007-03-12 10:59:24] vunnuk_o at ukr dot net

>>This works on Linux (SQLite) but fails on Windows.
>Which PHP version are you using?
5.2.1

>>Otherwise on Linux it leads to another error:
>>The auto-commit mode cannot be changed for this driver
>How is that related to your problem and how to reproduce it?
It's not related; just telling that Ilia's code has an error:

$d = new PDO('sqlite:test.db', NULL, NULL, array(PDO::ATTR_ERRMODE, 
PDO::ERRMODE_EXCEPTION));

should be 

$d = new PDO('sqlite:test.db', NULL, NULL, array(PDO::ATTR_ERRMODE => 
PDO::ERRMODE_EXCEPTION));

------------------------------------------------------------------------

[2007-03-12 09:22:42] [EMAIL PROTECTED]

>This works on Linux (SQLite) but fails on Windows.
Which PHP version are you using?

>Otherwise on Linux it leads to another error:
>The auto-commit mode cannot be changed for this driver
How is that related to your problem and how to reproduce it?

------------------------------------------------------------------------

[2007-03-11 20:02:56] vunnuk_o at ukr dot net

This works on Linux (SQLite) but fails on Windows. So still a bug.
Also, your example has an error

array(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION));
should be 
array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION));

Otherwise on Linux it leads to another error:
The auto-commit mode cannot be changed for this driver

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/40772

-- 
Edit this bug report at http://bugs.php.net/?id=40772&edit=1

Reply via email to