I found the crash bug when using transaction between filedb and temp db.
To reproduce bug, execute follow sequence.

> sqlite3.exe db1;

sqlite3 > ATTACH DATABASE "" AS tempdb;
sqlite3 > BEGIN;
sqlite3 > CREATE TABLE tbl1 (c0);
sqlite3 > CREATE TABLE tempdb.tbl2 (d0);
sqlite3 > END;

version:
  v3.6.20
  v3.6.21
 (I tryied only 2 versions)

crash occurs at vdbeaux.c: vdbeCommit() line1712 (v3.6.21)

I applied the following patch and this bug seemed to be fixed.

--------------------------

1712c1712
<         if( zFile[0]==0 ) continue;  /* Ignore :memory: databases */
---
>         if( zFile == NULL || zFile[0]==0 ) continue;  /* Ignore :memory: 
> databases */

--------------------------
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to