summaryrefslogtreecommitdiff
path: root/sql/table.cc
diff options
context:
space:
mode:
authormonty@mashka.mysql.fi <>2003-01-05 20:18:49 +0200
committermonty@mashka.mysql.fi <>2003-01-05 20:18:49 +0200
commit9ecf9645ebab531ce5aa29514b6b9457968f9946 (patch)
treece42417ba1ab6dac8c367a9ae180ea377956e95a /sql/table.cc
parent5e77a27182fe6a2544e3e4b0ad23399c9fb2ca48 (diff)
downloadmariadb-git-9ecf9645ebab531ce5aa29514b6b9457968f9946.tar.gz
A lot of portability fixes.
Added rename table for BDB. This fixes a bug in ALTER TABLE with BDB tables.
Diffstat (limited to 'sql/table.cc')
-rw-r--r--sql/table.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/table.cc b/sql/table.cc
index 62163819599..7e284c89871 100644
--- a/sql/table.cc
+++ b/sql/table.cc
@@ -144,7 +144,7 @@ int openfrm(const char *name, const char *alias, uint db_stat, uint prgflag,
bzero((char*) keyinfo,n_length);
outparam->key_info=keyinfo;
outparam->max_key_length= outparam->total_key_length= 0;
- key_part= (KEY_PART_INFO*) (keyinfo+keys);
+ key_part= my_reinterpret_cast(KEY_PART_INFO*) (keyinfo+keys);
strpos=disk_buff+6;
ulong *rec_per_key;