excec / query on Sqlite3

[email protected] (Gilles)
Newsgroups php.db
Message-ID <[email protected]>
Hello,

I'm not sure if it's a bug :

$o_sqlite3=new SQLite3('test.sqlite');

$r=$o_sqlite3->exec('');
echo'<pre>';var_dump($r);echo'</pre>'; // bool(true)

$r=$o_sqlite3->query('');
echo'<pre>';var_dump($r);echo'</pre>';  // bool(false)

$r=$o_sqlite3->exec(false);
echo'<pre>';var_dump($r);echo'</pre>';  // bool(true)

$r=$o_sqlite3->query(false);
echo'<pre>';var_dump($r);echo'</pre>';  // bool(false)


Best,


System Windows NT 5.1 build 2600 (Windows XP Professional Service Pack 
3) i586 WIN XP SP3
PHP Version 5.4.13
SQLite3 module version 	0.7
SQLite Library 	3.7.7.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.