Re: [sqlite] PRAGMA empty_result_callbacks

2004-04-12 Thread Aaron Patterson
aducom wrote:

We thought that this was a problem too, but investigating we found out 
that in version 12 the execution of the pragma did not trigger the 
callback, but version 13 does. Which means that you have to ignore this 
first trigger, since it contains no data. 

Albert Drent
aducom software
 

Thats interesting.  Is it supposed to work that way?  That seems like it 
wouldn't be very backwards compatable.

Thanks for the info!

--Aaron

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [sqlite] PRAGMA empty_result_callbacks

2004-04-12 Thread aducom
We thought that this was a problem too, but investigating we found out 
that in version 12 the execution of the pragma did not trigger the 
callback, but version 13 does. Which means that you have to ignore this 
first trigger, since it contains no data. 

Albert Drent
aducom software

> Hi, I just upgraded from 2.8.12 to 2.8.13 via RPM.  I was wondering 
if 
> anyone else noticed that PRAGMA empty_result_callbacks seems to break 
> stuff now.  Whenever I execute a statement with that pragma, my 
callback 
> function can't get any column name information.  Do I need to update 
my 
> code for the .13 release?  I downgraded back to the .12 release, and 
> everything works fine.
> 
> Here is the query I used which works fine on 2.8.12, but doesn't work 
on 
> 2.8.13:
> 
> PRAGMA empty_result_callbacks = ON; select * from test
> 
> Any help I can get would be greatly appreciated!
> 
> --Aaron
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[sqlite] PRAGMA empty_result_callbacks

2004-04-12 Thread Aaron Patterson
Hi, I just upgraded from 2.8.12 to 2.8.13 via RPM.  I was wondering if 
anyone else noticed that PRAGMA empty_result_callbacks seems to break 
stuff now.  Whenever I execute a statement with that pragma, my callback 
function can't get any column name information.  Do I need to update my 
code for the .13 release?  I downgraded back to the .12 release, and 
everything works fine.

Here is the query I used which works fine on 2.8.12, but doesn't work on 
2.8.13:

PRAGMA empty_result_callbacks = ON; select * from test

Any help I can get would be greatly appreciated!

--Aaron

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]