transaction started in ::store_lock() and not by startStatement/Transaction
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Drizzle |
Triaged
|
Medium
|
Andrew Hutchings | ||
7.0 |
Won't Fix
|
Medium
|
Andrew Hutchings | ||
Cherry |
Fix Released
|
High
|
Jay Pipes |
Bug Description
For the following sequence:
create table t1 (a int, b int not null, c int null, d int not null);
show create table t1;
insert into t1 values (0,0, 0, 0);
when HTON_SKIP_
If HTON_SKIP_
backtrace:
#0 check_trx_exists (session=0xa21f00)
at plugin/
#1 0x00007ffff496f8b9 in ha_innobase:
session=
lock_
at plugin/
#2 0x00000000004d3064 in get_lock_data (session=0xa21f00,
table_
write_
#3 0x00000000004d20e7 in drizzled:
tables=
at drizzled/
#4 0x0000000000551e98 in drizzled:
tables=
at drizzled/
#5 0x000000000053d9e8 in drizzled:
tables=
#6 0x000000000055b77d in drizzled:
table_
update_
at drizzled/
interestingly enough though... we do seem to get a commit():
#0 innobase_commit_low (trx=0x1230e00)
at plugin/
#1 0x00007ffff4966e9e in InnobaseEngine:
session=
#2 0x00000000005da7a4 in drizzled:
(this=0xa36010, session=0xa21f00, normal_
at ./drizzled/
#3 0x00000000005d9499 in drizzled:
this=0x9de6d8, session=0xa21f00, normal_
at drizzled/
#4 0x00000000005d937d in drizzled:
this=0x9de6d8, session=0xa21f00, normal_
at drizzled/
#5 0x00000000005d989a in drizzled:
at drizzled/
#6 0x000000000056b5c6 in drizzled:
command=
packet=
at drizzled/
Related branches
- Drizzle Developers: Pending requested
-
Diff: 195 lines (+132/-4)4 files modifieddrizzled/transaction_services.cc (+4/-1)
plugin/innobase/handler/ha_innodb.cc (+0/-3)
tests/r/savepoints.result (+46/-0)
tests/t/savepoints.test (+82/-0)
Changed in drizzle: | |
status: | In Progress → Fix Released |
Changed in drizzle: | |
assignee: | David Shrewsbury (dshrews) → Stewart Smith (stewart) |
Changed in drizzle: | |
milestone: | 2010-10-11 → none |
Jay, I assigned this to you as you've been playing around with that code recently and may be able to resolve it a bit quicker than me... although I'm happy to take it if wanted (but will be a little while before I get to it).