Closed GoogleCodeExporter closed 8 years ago
It looks like the index on cardid is broken. The query uses this index, and
returns the wrong row. I can't say how this happened unfortunately... To fix
the problem, you would need to backup the database to a SQL script file (using
SCRIPT TO or the Script tool), and then re-create it (using RUNSCRIPT or the
RunScript tool).
The database was create using H2 version 1.3.153 from 2011-03-14. Looking at
the change log at http://www.h2database.com/html/changelog.html , a known
problem that could have caused it was fixed in version 1.3.163 (2011-12-30):
"On out of disk space, the database could get corrupt sometimes, if later write
operations succeeded. The same problem happened on other kinds of I/O
exceptions (where one or some of the writes fail, but subsequent writes
succeed). Now the file is closed on the first unsuccessful write operation, so
that later requests fail consistently." - but I don't know if this occurred in
your case.
Original comment by thomas.t...@gmail.com
on 7 Mar 2012 at 7:43
Thanks for pointing this out,Thomas. We'll go with a more recent version to
avoid this problem.
Original comment by alex.par...@gmail.com
on 8 Mar 2012 at 3:43
Original comment by thomas.t...@gmail.com
on 18 Mar 2012 at 5:40
Original issue reported on code.google.com by
dobr...@gmail.com
on 24 Feb 2012 at 3:41