Dennis Cote wrote:

D. Richard Hipp wrote:

On Tue, 2005-09-13 at 09:08 +0200, Laurent wrote:
I get the error :

  Assertion failed: xHash!=0, file hash.c, line 299
  Abnormal program termination



I tried the same sequence of commands and it worked
fine for me.
Richard,

I can confirm Laurent's problem exists in the 2.8.15 version of the shell under Windows. I have copied a a session log of the commands below:

   C:\Documents and Settings\DennisC>sqlite x1.dbx
   SQLite version 2.8.15
   Enter ".help" for instructions
   sqlite> create table documents (a);
   sqlite> create index i on documents(a);
   sqlite> .q
     C:\Documents and Settings\DennisC>sqlite x2.dbx
   SQLite version 2.8.15
   Enter ".help" for instructions
   sqlite> create table documents (a);
   sqlite> create index i on documents(a);
   sqlite> .q
     C:\Documents and Settings\DennisC>sqlite
   SQLite version 2.8.15
   Enter ".help" for instructions
   sqlite> attach 'x1.dbx' as d1;
   sqlite> attach 'x2.dbx' as d2;
   sqlite> detach d1;
   Assertion failed: xHash!=0, file ../sqlite/src/hash.c, line 299
This application has requested the Runtime to terminate it in an unusual way.
   Please contact the application's support team for more information.
     C:\Documents and Settings\DennisC>

I don't have 2.8.16 handy, so I can't try that version. I will try again with latest as well.

Dennis Cote

This sequence of commands works correctly with sqlite 3.2.2.

Dennis Cote

Reply via email to