Thanks for the report.
You're right that it was indeed inconsistent with the stated requirements.
I've checked in a fix here:
http://www.sqlite.org/src/vinfo/76eca7295cf7df4bef013af6c8c37251300cd383
We're still evaluating whether to keep the code change or fall back to
editing the requirement,
On Thu, Dec 17, 2009 at 10:15:35AM -0500, Nicolas Rivera scratched on the wall:
> Jay --
>
> Are you saying that:
>
> (a) sqlite3_complete("") returns 0 in your system and therefore I must
> be doing something wrong,
>
> (b) or sqlite3_complete("") does return 1 and it is a bug?
I didn't test
Jay --
Are you saying that:
(a) sqlite3_complete("") returns 0 in your system and therefore I must
be doing something wrong,
(b) or sqlite3_complete("") does return 1 and it is a bug?
If I am doing something wrong, does anyone have an idea of what it could be?
The workaround is easy enough,
On Wed, Dec 16, 2009 at 04:52:16PM -0500, Nicolas Rivera scratched on the wall:
> Thanks for your reply Dr. Hipp.
>
> I just ran those, and they do return 0.
>
> But I am confused. The documentation says:
> "These routines return 1 if the input string appears to be a complete
> SQL statement.
Thanks for your reply Dr. Hipp.
I just ran those, and they do return 0.
But I am confused. The documentation says:
"These routines return 1 if the input string appears to be a complete
SQL statement. A statement is judged to be complete if it ends with a
semicolon token and is not a prefix of
On Dec 16, 2009, at 4:10 PM, Nicolas Rivera wrote:
> Hi,
>
> I think I am missing something really simple (some macro or
> something),
> because I cannot make sqlite3_complete() to return anything other
> than 1.
>
> Even when I pass it "" (an empty string), it still returns 1. I even
>
Hi,
I think I am missing something really simple (some macro or something),
because I cannot make sqlite3_complete() to return anything other than 1.
Even when I pass it "" (an empty string), it still returns 1. I even
tried to call sqlite3_initialize() before (although to my knowledge this
7 matches
Mail list logo