mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
A lot of portability fixes.
Added rename table for BDB. This fixes a bug in ALTER TABLE with BDB tables.
This commit is contained in:
@@ -52,7 +52,7 @@ int mysql_union(THD *thd, LEX *lex,select_result *result)
|
||||
{
|
||||
if (cursor->do_redirect) // False if CUBE/ROLLUP
|
||||
{
|
||||
cursor->table= ((TABLE_LIST*) cursor->table)->table;
|
||||
cursor->table= (my_reinterpret_cast(TABLE_LIST*) (cursor->table))->table;
|
||||
cursor->do_redirect= 0;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user