RE: [PHP-DEV] SQLite API deficiency

2004-05-13 Thread Stanislav Malyshev
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

Re: [PHP-DEV] SQLite API deficiency

2004-05-13 Thread Ilia Alshanetsky
On May 13, 2004 09:25 am, Stanislav Malyshev wrote: > I have discovered that SQLite function sqlite_query runs sqlite_exec > function if it's return value is used and sqlite_compile/sqlite_step combo > if return value is used. I think this is a problem - if I want to run some > pack of queries (lik

RE: [PHP-DEV] SQLite API deficiency

2004-05-13 Thread Wez Furlong
if there is no way to get the compile/step executing multiple queries, then we will need a new function as you suggest. --Wez. > -Original Message- > From: Stanislav Malyshev [mailto:[EMAIL PROTECTED] > Sent: 13 May 2004 14:26 > To: PHP Development > Subject: [PHP-DEV] SQLi

[PHP-DEV] SQLite API deficiency

2004-05-13 Thread Stanislav Malyshev
I have discovered that SQLite function sqlite_query runs sqlite_exec function if it's return value is used and sqlite_compile/sqlite_step combo if return value is used. I think this is a problem - if I want to run some pack of queries (like, create whole DB schema in one call), I can do it with