1819.7.68
|
|
|
Stewart Smith |
14 years ago
|
|
|
1819.7.67
|
|
|
Jimmy Yang |
14 years ago
|
|
|
1819.7.66
|
|
|
Vasil Dimov |
14 years ago
|
|
|
1819.7.65
|
|
|
Jimmy Yang |
14 years ago
|
|
|
1819.7.64
|
|
|
Jimmy Yang |
14 years ago
|
|
|
1819.7.63
|
|
|
Marko Mäkelä |
14 years ago
|
|
|
1819.7.62
|
|
Merge Revision revid:marko.makela@oracle.com-20100630093149-wmc37t128gic933v from MySQL InnoDB
Original revid:marko.makela@oracle.com-20100630093149-wmc37t128gic933v
Original Authors: Marko Mäkelä <marko.makela@oracle.com> Original commit message: Correct some comments that were added in the fix of Bug #54358 (READ UNCOMMITTED access failure of off-page DYNAMIC or COMPRESSED columns).
Records that lack incompletely written externally stored columns may be accessed by READ UNCOMMITTED transaction even without involving a crash during an INSERT or UPDATE operation. I verified this as follows.
(1) added a delay after the mini-transaction for writing the clustered index 'stub' record was committed (patch attached) (2) started mysqld in gdb, setting breakpoints to the where the assertions about READ UNCOMMITTED were added in the bug fix (3) invoked ibtest3 --create-options=key_block_size=2 to create BLOBs in a COMPRESSED table (4) invoked the following: yes 'set transaction isolation level read uncommitted; checksum table blobt3;select sleep(1);'|mysql -uroot test (5) noted that one of the breakpoints was triggered (return(NULL) in btr_rec_copy_externally_stored_field())
=== modified file 'storage/innodb_plugin/row/row0ins.c' --- storage/innodb_plugin/row/row0ins.c 2010-06-30 08:17:25 +0000 +++ storage/innodb_plugin/row/row0ins.c 2010-06-30 08:17:25 +0000 @@ -2120,6 +2120,7 @@ function_exit: rec_t* rec; ulint* offsets; mtr_start(&mtr); + os_thread_sleep(5000000); btr_cur_search_to_nth_level(index, 0, entry, PAGE_CUR_LE, BTR_MODIFY_TREE, &cursor, 0,
=== modified file 'storage/innodb_plugin/row/row0upd.c' --- storage/innodb_plugin/row/row0upd.c 2010-06-30 08:11:55 +0000 +++ storage/innodb_plugin/row/row0upd.c 2010-06-30 08:11:55 +0000 @@ -1763,6 +1763,7 @@ row_upd_clust_rec( rec_offs_init(offsets_); mtr_start(mtr); + os_thread_sleep(5000000); ut_a(btr_pcur_restore_position(BTR_MODIFY_TREE, pcur, mtr)); rec = btr_cur_get_rec(btr_cur);
|
Marko Mäkelä |
14 years ago
|
|
|
1819.7.61
|
|
|
Marko Mäkelä |
14 years ago
|
|
|
1819.7.60
|
|
|
Marko Mäkelä |
14 years ago
|
|
|
1819.7.59
|
|
|
Marko Mäkelä |
14 years ago
|
|
|
1819.7.58
|
|
|
Marko Mäkelä |
14 years ago
|
|
|
1819.7.57
|
|
|
Davi Arnaut |
14 years ago
|
|
|
1819.7.56
|
|
|
Stewart Smith |
14 years ago
|
|
|
1819.7.55
|
|
|
MySQL Build Team |
14 years ago
|
|
|
1819.7.54
|
|
|
MySQL Build Team |
14 years ago
|
|
|
1819.7.53
|
|
|
MySQL Build Team |
14 years ago
|
|
|
1819.7.52
|
|
|
Stewart Smith |
14 years ago
|
|
|
1819.7.51
|
|
|
Stewart Smith |
14 years ago
|
|
|
1819.7.50
|
|
|
karen.langford at or... |
14 years ago
|
|
|
1819.7.49
|
|
|
Sunny Bains |
14 years ago
|
|
|