> The segfault is now fixed here:
>
>   http://www.sqlite.org/src/info/ca359a3e80

Does the comment to commit mean that in the same test case if view has
no triggers then compilation of the statement will still segfault?

Pavel

On Tue, Mar 30, 2010 at 9:44 AM, Dan Kennedy <danielk1...@gmail.com> wrote:
>
> On Mar 30, 2010, at 6:29 PM, Alexey Pechnikov wrote:
>
>> Hello!
>>
>> CREATE TABLE test (
>>  id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL
>> );
>> CREATE VIEW view_test as select * from test;
>> CREATE TRIGGER view_test_insert instead of insert on view_test
>> begin
>>  insert into test (id) values (NULL);
>> end;
>>
>> insert into view_test (id) values (NULL);
>> select last_insert_rowid();
>> 0
>> select max(rowid) from test;
>> 1
>>
>> insert into view_test default values;
>> Segmentation error
>
> The segfault is now fixed here:
>
>   http://www.sqlite.org/src/info/ca359a3e80
>
> Thanks for reporting it.
>
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to