summaryrefslogtreecommitdiff
path: root/include
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 /include
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 'include')
-rw-r--r--include/my_base.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/my_base.h b/include/my_base.h
index 7d7e296ead3..2450ab33425 100644
--- a/include/my_base.h
+++ b/include/my_base.h
@@ -300,8 +300,10 @@ enum data_file_type {
/* For number of records */
#ifdef BIG_TABLES
+#define rows2double(A) ulonglong2double(A)
typedef my_off_t ha_rows;
#else
+#define rows2double(A) (double) (A)
typedef ulong ha_rows;
#endif