Hi,

I have the tables of the following style:

CREATE TABLE Objects (ObjectID TEXT PRIMARY KEY, Class TEXT)

And I'm executing the following statement in the sqlite3 shell:

SELECT * FROM Objects WHERE ObjectID =
'{08021C17-46DD-4d83-A6FE-DDF0F7EC0AAE}'

In the shell this query succeeds. However if I try to do the same thing via
sqlite3_prepare, sqlite3_bind_text16 and sqlite3_step, then sqlite3_step
always returns 101 (SQLITE_DONE.) I've opened the database using
sqlite3_open16. No schema changes, no other connections are open at this
point. However the query always fails, even though the same query succeeds
in the shell. I've even tried to insert a row and immediately query for the
same row, but even that fails.

I have this issue with several tables. With several different code places -
all have the same style and probably the same bug.

Can anyone give me a hint at what's wrong?

Thanks,
Mike


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

Reply via email to