RE: [PHP-DEV] SQLite API deficiency
| From: | Stanislav Malyshev | Date: | Thu, 13 May 2004 13:52:38 +0000 |
| Subject: | RE: [PHP-DEV] SQLite API deficiency | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-9836@lists.php.net to get a copy of this message | ||
WF>>Can the compile/step definitely not handle multiple queries?
WF>>That's a shame :/
Manual says: The sqlite_compile "compiles" a single SQL statement
(specified by the second parameter) and generates a virtual machine that
is able to execute that statement. /.../ If the 2nd parameter actually
contains two or more statements of SQL, only the first statement is
compiled. (This is different from the behavior of sqlite_exec which
executes all SQL statements in its input string.)
WF>>I'm currently in DB API mode (working on PDO), so I'll refresh my memory
WF>>and do some sqlite stuff over the next few days; if there is no way to
WF>>get the compile/step executing multiple queries, then we will need a new
WF>>function as you suggest.
Well, then I guess I'll add it if I don't hear anyone protesting here.
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/ +972-3-6139665 ext.115