|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2017-10-29 21:21 UTC] t dot oelgarte at asysgmbh dot de
-Status: Open
+Status: Closed
[2017-10-29 21:21 UTC] t dot oelgarte at asysgmbh dot de
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 19:00:01 2025 UTC |
Description: ------------ If i extend the SQLite3 class and overwrite it's constructor, then the call to the parent constructor (the constructor of SQLite3) will throw an Exception with the following error message: "Unable to open database: library routine called out of sequence". Test script: --------------- class MySqlite extends \SQLite3 { function __construct(string $filename, int $flags = null, string $encryption_key) { parent::__construct($filename, $flags, $encryption_key); $this->enableExceptions(true); $this->busyTimeout(60000); } } $con = new MySqlite('file.sqlite3');