diff options
author | unknown <marko@hundin.mysql.fi> | 2005-04-22 15:15:18 +0300 |
---|---|---|
committer | unknown <marko@hundin.mysql.fi> | 2005-04-22 15:15:18 +0300 |
commit | 33d5b13bbebcfc3657a7b8cc10eec10f73d44d71 (patch) | |
tree | a65e358729e6f1e701274a34709b910b114ee25b /innobase/row | |
parent | 98dc4142b206ea3fcf1d7b4bd127baef1aeac2d4 (diff) | |
download | mariadb-git-33d5b13bbebcfc3657a7b8cc10eec10f73d44d71.tar.gz |
row0upd.c:
Add UNIV_UNLIKELY hint.
lock0lock.c:
Correct the prototypes of lock_deadlock_recursive() and
lock_deadlock_occurs().
data0data.c:
dtuple_convert_big_rec(): Add UNIV_UNLIKELY hint.
ha_innodb.cc:
ha_innobase::write_row(): Correct the type of 'mode'.
sql/ha_innodb.cc:
ha_innobase::write_row(): Correct the type of 'mode'.
innobase/data/data0data.c:
dtuple_convert_big_rec(): Add UNIV_UNLIKELY hint.
innobase/lock/lock0lock.c:
Correct the prototypes of lock_deadlock_recursive() and
lock_deadlock_occurs().
innobase/row/row0upd.c:
Add UNIV_UNLIKELY hint.
Diffstat (limited to 'innobase/row')
-rw-r--r-- | innobase/row/row0upd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/innobase/row/row0upd.c b/innobase/row/row0upd.c index a595ad00247..c0aa285d7e5 100644 --- a/innobase/row/row0upd.c +++ b/innobase/row/row0upd.c @@ -1270,7 +1270,7 @@ row_upd_sec_index_entry( rec = btr_cur_get_rec(btr_cur); - if (!found) { + if (UNIV_UNLIKELY(!found)) { fputs("InnoDB: error in sec index entry update in\n" "InnoDB: ", stderr); dict_index_name_print(stderr, trx, index); |