Noel Grandin
unread,Oct 18, 2012, 10:02:28 AM10/18/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Patrice Castet, h2-da...@googlegroups.com
Hi
Thank you for the test-case.
There was a bug where it would sometimes use the wrong index when
validating foreign key constraints.
The fix has been committed to SVN and will be in the next release.
Regards, Noel.
On 2012-10-18 11:31, Patrice Castet wrote:
> sure, please find attached :
> 1) a SQL script allowing to reproduce the problem the same way we hit
> it (anonymized)
> 2) a screen capture in .odt (libreOffice 3.6.0.4 open document) where
> you can see HSQLDB 2.2.9 refuses the final INSERT because there is a
> FK violation on FK_TE_C, which is the expected behavior.
> 3) a log file showing that H2 1.3-168 accept the wrong data, without
> raising the expected FK violation ! (last INSERT of SQL file)
> It looks to us a mean FK bug in H2, what do you think about it ?
> thx and regards,
> Patrice
>