Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.5.0b4

Bug #9693 database schema change
Submitted: 2006-12-25 19:28 UTC
From: afz at php dot net Assigned: quipo
Status: Closed Package: MDB2_Driver_sqlite
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  


 [2006-12-25 19:28 UTC] afz at php dot net (Ali Fazelzade)
Description: ------------ some time when execute query this errors occurred. for more information see: http://www.sqlite.org/faq.html#q17 and solution for this bug is: replace line 518 of sqlite.php on MDB2/Driver with: do { $result = @$function($query.';', $connection); } while (sqlite_last_error($connection) == SQLITE_SCHEMA); and replace line 521 of sqlite.php on MDB2/Driver with: do { $result = @$function($query.';', $connection, SQLITE_BOTH, $php_errormsg); } while (sqlite_last_error($connection) == SQLITE_SCHEMA);

Comments

 [2007-03-04 23:57 UTC] quipo (Lorenzo Alberton)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.