ID: 31342 User updated by: hugo dot pl at gmail dot com Reported By: hugo dot pl at gmail dot com Status: Open Bug Type: Feature/Change Request Operating System: * PHP Version: 5.1.0-dev Assigned To: helly New Comment:
Maybe adding another paramater in the constructor to set this flag? SQLiteDatabase( file, mode, errmsg, flags ) Previous Comments: ------------------------------------------------------------------------ [2005-01-10 08:46:31] [EMAIL PROTECTED] We cannot easily do this because it would change the api compared to 5.0. So what we need to do is adding a method set_throw_exceptions(bool) or adding a flag SQLITE_THROW_EXCEPTIONS for the result type parameter. Once we have this we could easily extend all yout 'if (object)' checks to test for that flag also. But we must not extend the checks in the ctors because there we MUST throw exceptions. ------------------------------------------------------------------------ [2005-01-10 00:25:33] hugo dot pl at gmail dot com Sorry for the delay, I was travelling. The patch generated with "diff -u orig_file mod_file" http://sqlitefront.sourceforge.net/temp/patch.diff ------------------------------------------------------------------------ [2005-01-01 14:27:44] [EMAIL PROTECTED] unified diff == diff -u ------------------------------------------------------------------------ [2004-12-31 01:31:59] [EMAIL PROTECTED] Please provide a unified patch, thanks. ------------------------------------------------------------------------ [2004-12-30 05:29:38] hugo dot pl at gmail dot com Sorry, wrong URL The correct URL is: http://sqlitefront.sourceforge.net/temp/sqlite.c ------------------------------------------------------------------------ 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/31342 -- Edit this bug report at http://bugs.php.net/?id=31342&edit=1