Dan Kennedy wrote:
> On 12/08/2010 04:18 AM, Iker Arizmendi wrote:
>> The function that opens a cursor for the simple tokenizer,
>> simpleOpen, does not set the "pTokenizer" member of the
>> returned cursor. Ie, it appears the following line is
>> missing:
>>
>>      c->base.pTokenizer = pTokenizer;
>>
>> which causes problems in simpleNext . Possible bug?
> 
> How do we reproduce the problem?

The problem doesn't show up with the stock tokenizers
since the functions that open cursors in sqlite3.c set
the pTokenizer member on return from xOpen. My custom
tokenizer hit upon the issue because it wraps calls to
the simple xOpen and treated the returned cursors as
opaque objects.

Iker


_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to