linux-traipu team mailing list archive
-
linux-traipu team
-
Mailing list archive
-
Message #04563
[Bug 567646] Re: ib_cursor_truncate commits transaction but doesn't release schema lock
** No longer affects: drizzle
--
You received this bug notification because you are a member of UBUNTU -
AL - BR, which is subscribed to Drizzle.
https://bugs.launchpad.net/bugs/567646
Title:
ib_cursor_truncate commits transaction but doesn't release schema lock
Status in HailDB:
Confirmed
Bug description:
I've found that ib_cursor_truncate currently commits the transaction
on success.
from api0api.c:
/* This function currently commits the transaction
on success. */
err = ddl_truncate_table(table, trx);
which isn't documented (except in the source :)
BUT, it doesn't release the schema lock... so unlike other DDL ops on
success you have to release the schema lock yourself.
it'd be great if ib_cursor_truncate() was a bit more consistent with
the rest of the DDL api and the user called commit (which released the
schema lock).
originally reported at:
http://forums.innodb.com/read.php?8,1136,1136#msg-1136
To manage notifications about this bug go to:
https://bugs.launchpad.net/haildb/+bug/567646/+subscriptions