1819.9.46
|
|
|
Sunny Bains |
13 years ago
|
|
|
1819.9.45
|
|
|
Vasil Dimov |
13 years ago
|
|
|
1819.9.44
|
|
|
Calvin Sun |
13 years ago
|
|
|
1819.9.43
|
|
|
Sunny Bains |
13 years ago
|
|
|
1819.9.42
|
|
|
Jimmy Yang |
13 years ago
|
|
|
1819.9.41
|
|
|
Jimmy Yang |
13 years ago
|
|
|
1819.9.40
|
|
Merge Revision revid:marko.makela@oracle.com-20100630095241-bietgukdy2g6k7x4 from MySQL InnoDB
Original revid:marko.makela@oracle.com-20100630095241-bietgukdy2g6k7x4
Original Authors: Marko Mkel <marko.makela@oracle.com> Original commit message: Merge Bug #54358 comment corrections from mysql-5.1-innodb: ------------------------------------------------------------ revno: 3533 revision-id: marko.makela@oracle.com-20100630093149-wmc37t128gic933v parent: marko.makela@oracle.com-20100629131219-pjbkpk5rsqztmw27 committer: Marko Mkel <marko.makela@oracle.com> branch nick: 5.1-innodb timestamp: Wed 2010-06-30 12:31:49 +0300 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ä |
13 years ago
|
|
|
1819.9.39
|
|
|
Mark Leith |
13 years ago
|
|
|
1819.9.38
|
|
|
Marko Mäkelä |
13 years ago
|
|
|
1819.9.37
|
|
|
Marko Mäkelä |
13 years ago
|
|
|
1819.9.36
|
|
Merge Revision revid:marko.makela@oracle.com-20100629113248-fvl48lnzr44z94gg from MySQL InnoDB
Original revid:marko.makela@oracle.com-20100629113248-fvl48lnzr44z94gg
Original Authors: Marko Mkel <marko.makela@oracle.com> Original commit message: Bug#52199 utf32: mbminlen=4, mbmaxlen=4, type->mbminlen=0, type->mbmaxlen=4
Merge and adjust a forgotten change to fix this bug. rb://393 approved by Jimmy Yang ------------------------------------------------------------------------ r3794 | marko | 2009-01-07 14:14:53 +0000 (Wed, 07 Jan 2009) | 18 lines
branches/6.0: Allow the minimum length of a multi-byte character to be up to 4 bytes. (Bug #35391)
dtype_t, dict_col_t: Replace mbminlen:2, mbmaxlen:3 with mbminmaxlen:5. In this way, the 5 bits can hold two values of 0..4, and the storage size of the fields will not cross the 64-bit boundary. Encode the values as DATA_MBMAX * mbmaxlen + mbminlen. Define the auxiliary macros DB_MBMINLEN(mbminmaxlen), DB_MBMAXLEN(mbminmaxlen), and DB_MINMAXLEN(mbminlen, mbmaxlen).
Try to trim and pad UTF-16 and UTF-32 with spaces as appropriate.
Alexander Barkov suggested the use of cs->cset->fill(cs, buff, len, 0x20). ha_innobase::store_key_val_for_row() now does that, but the added function row_mysql_pad_col() does not, because it doesn't have the MySQL TABLE object.
rb://49 approved by Heikki Tuuri ------------------------------------------------------------------------
|
Marko Mäkelä |
13 years ago
|
|
|
1819.9.35
|
|
|
Marko Mäkelä |
13 years ago
|
|
|
1819.9.34
|
|
|
Marko Mäkelä |
13 years ago
|
|
|
1819.9.33
|
|
|
Marko Mäkelä |
13 years ago
|
|
|
1819.9.32
|
|
|
Marko Mäkelä |
13 years ago
|
|
|
1819.9.31
|
|
|
Marko Mäkelä |
13 years ago
|
|
|
1819.9.30
|
|
|
Vasil Dimov |
13 years ago
|
|
|
1819.9.29
|
|
|
Stewart Smith |
13 years ago
|
|
|
1819.9.28
|
|
|
Marko Mäkelä |
13 years ago
|
|
|
1819.9.27
|
|
|
Marko Mäkelä |
13 years ago
|
|
|