mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-27637 Spider: remove #if defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >= ${VERSION}
This commit is contained in:
@@ -13670,11 +13670,7 @@ int spider_mbase_handler::bulk_tmp_table_rnd_next()
|
||||
int error_num;
|
||||
DBUG_ENTER("spider_mbase_handler::bulk_tmp_table_rnd_next");
|
||||
DBUG_PRINT("info",("spider this=%p", this));
|
||||
#if defined(MARIADB_BASE_VERSION) && MYSQL_VERSION_ID >= 50200
|
||||
error_num = upd_tmp_tbl->file->ha_rnd_next(upd_tmp_tbl->record[0]);
|
||||
#else
|
||||
error_num = upd_tmp_tbl->file->rnd_next(upd_tmp_tbl->record[0]);
|
||||
#endif
|
||||
if (!error_num)
|
||||
{
|
||||
error_num = restore_sql_from_bulk_tmp_table(&insert_sql, upd_tmp_tbl);
|
||||
|
Reference in New Issue
Block a user