summaryrefslogtreecommitdiff
path: root/sql/ha_heap.cc
diff options
context:
space:
mode:
authorunknown <monty@mashka.mysql.fi>2002-11-14 12:21:36 +0200
committerunknown <monty@mashka.mysql.fi>2002-11-14 12:21:36 +0200
commit3648eb7da856868e1e484ac5b592e3a26ee560fc (patch)
tree65895353350fb5af2ad4caa816640113636e002d /sql/ha_heap.cc
parent869dc1a1e725002df22e96f612bc050d8b148211 (diff)
downloadmariadb-git-3648eb7da856868e1e484ac5b592e3a26ee560fc.tar.gz
Portability fix when using -DBIG_TABLES
BitKeeper/etc/config: Changed Sasha to sys client/mysqlbinlog.cc: Fixed that --position open works. sql/item_timefunc.cc: Portability fix sql/log_event.cc: Portability fix sql/set_var.cc: Portability fix
Diffstat (limited to 'sql/ha_heap.cc')
-rw-r--r--sql/ha_heap.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/ha_heap.cc b/sql/ha_heap.cc
index e6d7871b016..2edc3b1478e 100644
--- a/sql/ha_heap.cc
+++ b/sql/ha_heap.cc
@@ -88,9 +88,9 @@ int ha_heap::open(const char *name, int mode, uint test_if_locked)
file=heap_open(name,mode,
table->keys,keydef,
table->reclength,
- ((table->max_rows < max_rows && table->max_rows) ?
- table->max_rows : max_rows),
- table->min_rows);
+ (ulong) ((table->max_rows < max_rows && table->max_rows) ?
+ table->max_rows : max_rows),
+ (ulong) table->min_rows);
my_free((gptr) keydef,MYF(0));
if (file)
info(HA_STATUS_NO_LOCK | HA_STATUS_CONST | HA_STATUS_VARIABLE);