1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Removed some old #if MYSQL_VERSION

- Removed never used warning that explicit_defaults_for_timestamp was
  not set
This commit is contained in:
Monty
2018-04-26 17:57:38 +03:00
parent 2ccd6716fc
commit cd48c1e23a
4 changed files with 0 additions and 34 deletions

View File

@ -1076,13 +1076,7 @@ find_files(THD *thd, Dynamic_array<LEX_CSTRING*> *files, LEX_CSTRING *db,
if (ha_discover_table_names(thd, db, dirp, &tl, false))
goto err;
}
#if MYSQL_VERSION_ID < 100300
/* incomplete optimization, but a less drastic change in GA version */
if (!thd->lex->select_lex.order_list.elements &&
!thd->lex->select_lex.group_list.elements)
#else
if (is_show_command(thd))
#endif
tl.sort();
#ifndef DBUG_OFF
else