Fix DatabaseSqlite::__toString
authorMarius Hoch <hoo@online.de>
Mon, 5 Oct 2015 20:42:28 +0000 (22:42 +0200)
committerMaxSem <maxsem.wiki@gmail.com>
Mon, 5 Oct 2015 20:54:11 +0000 (20:54 +0000)
commit2c03cd32d04e8877fd2caf56d84dc28c44eb681a
treea5b01660a828f4401f01502e76d320bb220220fe
parent2eaaf817ebfbc6f2c9f27546ca6cd319d3518b41
Fix DatabaseSqlite::__toString

Failed with "Catchable fatal error: Object of class
PDO could not be converted to string in".

The message I used was a rather arbitrary choice, but
I think it makes sense.

Bug: T114709
Change-Id: I0023fae3fa2a0c2b37cb3c34751706fe0d481d19
includes/db/DatabaseSqlite.php
tests/phpunit/includes/db/DatabaseSqliteTest.php