Richard Heyes wrote:

> Hi,
>
> I'm in the process of writing a C# wrapper for Sqlite, and all is going
> reasonably well. However the following query is giving me problems:
>
> SELECT COUNT(*) FROM myTable
>
> Whenever it's run, a null reference exception is thrown. When stepping
> through the code I can see the callback method running and the correct data
> is being generated, however after the callback returns (its return value is
> zero) the exception is thrown.
>
> Strangely, this is the only query I've found that generates an exception.
>
> I looked at the Mono wrapper and this too behaves in the same manner.
>
> If anyone has any tips, I'd be grateful.
>
> --
> Richard Heyes
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

Hello,
I've done a c++ wrapper around sqlite and have no problem with count(*), do you
check NULL values ?

Noël


--
GISTEK software
Gis consultant.
[EMAIL PROTECTED]
www.gistek.net



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

Reply via email to