summaryrefslogtreecommitdiff
path: root/sql/ha_myisammrg.cc
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2001-11-04 16:14:09 +0200
committermonty@hundin.mysql.fi <>2001-11-04 16:14:09 +0200
commitfd0780493d9f91c1b4e8a0ff80fc670d5cf3b19a (patch)
tree689c9d0271e23431f1ab0ac09e1af4d68a58ca76 /sql/ha_myisammrg.cc
parent67951fdeb4195d6fcefeba6aab811b6c5e585178 (diff)
parent65d4c846d83467270e56537b2cd0f44fc37ef9be (diff)
downloadmariadb-git-fd0780493d9f91c1b4e8a0ff80fc670d5cf3b19a.tar.gz
merge with 3.23.44
Diffstat (limited to 'sql/ha_myisammrg.cc')
-rw-r--r--sql/ha_myisammrg.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/ha_myisammrg.cc b/sql/ha_myisammrg.cc
index 0a2ef534ad1..d82c202baa3 100644
--- a/sql/ha_myisammrg.cc
+++ b/sql/ha_myisammrg.cc
@@ -181,7 +181,11 @@ void ha_myisammrg::info(uint flag)
mean_rec_length=info.reclength;
block_size=0;
update_time=0;
+#if SIZEOF_OFF_T > 4
ref_length=6; // Should be big enough
+#else
+ ref_length=4; // Can't be > than my_off_t
+#endif
}