$ java -cp h2-1.3.157.jar org.h2.tools.Server
Attempt to define a second primary key; SQL statement: CREATE PRIMARY KEY IF NOT EXISTS INFORMATION_SCHEMA.PRIMARY_KEY_3 ON INFORMATION_SCHEMA.LOB_MAP(LOB, SEQ) [90017-136] 90017/90017
If the error code is really "[90017-136]", that would mean you are
actually using H2 version 1.2.136 from 2010-05-24. Could you verify
this?
There is a bug introduced in version 1.3.156 and 1.3.157 (actually,
it's a bit more complicated - it's a bug that was there before, but
didn't / couldn't show up until then). It is related to the BLOB /
CLOB optimization in version 1.3.156.
I found and fixed the problem now (in the trunk). Unfortunately, you
will need to use the Recover tool to restore the data. I'm sorry about
that. I will release a new version at the end of the week. Until then,
I suggest to use version 1.3.155 if possible.
Regards,
Thomas
If the error code is really "[90017-136]", that would mean you are
actually using H2 version 1.2.136 from 2010-05-24. Could you verify
this?
CREATE PRIMARY KEY IF NOT EXISTS INFORMATION_SCHEMA.PRIMARY_KEY_3 ON INFORMATION_SCHEMA.LOB_MAP(LOB, SEQ) [90017-157] 90017/90017
I found and fixed the problem now (in the trunk). Unfortunately, you
will need to use the Recover tool to restore the data. I'm sorry about
that. I will release a new version at the end of the week. Until then,
I suggest to use version 1.3.155 if possible.
$ java -cp h2-1.3.157.jar org.h2.tools.Recover -dir /path/to/database-dir -db database-name