ib_cursor_truncate commits transaction but doesn't release schema lock
Bug #567646 reported by
Stewart Smith
This bug affects 1 person
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| HailDB |
Confirmed
|
Low
|
Stewart Smith | ||
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_
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_
originally reported at: http://
| Changed in haildb: | |
| importance: | Undecided → Low |
| status: | New → Confirmed |
| tags: | added: api |
| Changed in drizzle: | |
| importance: | Undecided → Low |
| status: | New → Triaged |
| Changed in drizzle: | |
| assignee: | nobody → Stewart Smith (stewart-flamingspork) |
| Changed in haildb: | |
| assignee: | nobody → Stewart Smith (stewart-flamingspork) |
| Changed in haildb: | |
| milestone: | none → baghdad |
| Changed in drizzle: | |
| milestone: | none → 2010-10-25 |
| Changed in drizzle: | |
| milestone: | 2010-10-25 → 2010-11-08 |
| Changed in haildb: | |
| milestone: | baghdad → cairo |
| Changed in drizzle: | |
| milestone: | 2010-11-08 → 2010-11-22 |
| Changed in drizzle: | |
| milestone: | 2010-11-22 → 2010-12-06 |
| Changed in drizzle: | |
| milestone: | 2010-12-06 → 2010-12-20 |
| Changed in drizzle: | |
| milestone: | 2010-12-20 → 2011-01-03 |
| Changed in drizzle: | |
| milestone: | 2011-01-03 → 2011-01-17 |
| Changed in drizzle: | |
| milestone: | 2011-01-17 → 2011-02-14 |
| Changed in haildb: | |
| milestone: | cairo → detroit |
| Changed in drizzle: | |
| milestone: | 2011-02-14 → 2011-03-14 |
| Changed in drizzle: | |
| milestone: | 2011-03-14 → 2011-04-11 |
| Changed in drizzle: | |
| milestone: | 2011-04-11 → 2011-04-25 |
| Changed in drizzle: | |
| milestone: | 2011-04-25 → none |
| no longer affects: | drizzle |
To post a comment you must log in.
embedded_innodb Drizzle plugin will need to be fixed when this bug is fixed.