jelix/jelix — pull request #55 by catsoup (2012-04-29 20:02:25+00:00)
Title: jdbtools : replaced db handler call to query method with exec

Hello, When installing an app wich use pdo sqlite, I get this error :
PHP Fatal error: Call to a member function setFetchMode() on a non-object in (...)lib/jelix/db/jDbPDOConnection.class.php on line 126
jDbTools::execSQLScript() should use the exec function instead of query, because for some DBMS query will return false, even if the query were well executed (at least, it's the case with sqlite)