summaryrefslogtreecommitdiff
path: root/innobase/data
diff options
context:
space:
mode:
authorunknown <marko@hundin.mysql.fi>2005-04-22 15:15:18 +0300
committerunknown <marko@hundin.mysql.fi>2005-04-22 15:15:18 +0300
commit33d5b13bbebcfc3657a7b8cc10eec10f73d44d71 (patch)
treea65e358729e6f1e701274a34709b910b114ee25b /innobase/data
parent98dc4142b206ea3fcf1d7b4bd127baef1aeac2d4 (diff)
downloadmariadb-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/data')
-rw-r--r--innobase/data/data0data.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/innobase/data/data0data.c b/innobase/data/data0data.c
index 5f74dde8710..194213a04e1 100644
--- a/innobase/data/data0data.c
+++ b/innobase/data/data0data.c
@@ -502,7 +502,7 @@ dtuple_convert_big_rec(
size = rec_get_converted_size(index, entry);
- if (size > 1000000000) {
+ if (UNIV_UNLIKELY(size > 1000000000)) {
fprintf(stderr,
"InnoDB: Warning: tuple size very big: %lu\n", (ulong) size);
fputs("InnoDB: Tuple contents: ", stderr);