db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Pendleton <bpendle...@amberpoint.com>
Subject Re: DERBY 4509 related query
Date Mon, 18 Jan 2010 16:03:19 GMT
> I think you can check this by going through the result and verify that
> all rows have tablename T1.

Or, equivalently, issue:

   select count(*) from syscs_diag.lock_table where tablename <> 'T1'

and assert that the returned count is equal to 0.

Definitely it would be nice to have some comments in the test case,
no matter what solution you choose, explaining what is being tested,
along the lines of

   // Verify that the generation of values for column YYY is not
   // holding locks on any system catalogs, or on any tables other than T1.



View raw message