Hello everyone,

I hope this is not an FAQ...

In my code I call sqlite3_exec with a sqlite3_callback. I noticed that when
I do a select statement, then the callback is invoked once even if the table
is empty, but with all argv strings passed to the callback being NULL
(however with the correct argc value). Is this expected behaviour, so I
always have to check in my callback if the string parameters being passed
are non-NULL to guard against a select statement on an empty table, or is
there a more elegant solution to the problem?

Thanks for any help,

-- 
Stefan Kuhr

-- 
View this message in context: 
http://www.nabble.com/sqlite3_callback-called-even-for-empty-tables-tf4111001.html#a11689130
Sent from the SQLite mailing list archive at Nabble.com.


-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to