1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Merged the implementation of MDEV-28 LIMIT ROWS EXAMINED into MariaDB 5.5.

This commit is contained in:
unknown
2012-03-12 00:45:18 +02:00
18 changed files with 1655 additions and 55 deletions

View File

@ -451,6 +451,17 @@ bool mysql_create_view(THD *thd, TABLE_LIST *views,
goto err;
}
if (lex->limit_rows_examined)
{
/*
LIMIT ROWS EXAMINED is not supported inside views to avoid complicated
side-effects and semantics of the clause.
*/
my_error(ER_NOT_SUPPORTED_YET, MYF(0), "LIMIT ROWS EXAMINED inside views");
res= TRUE;
goto err;
}
sp_cache_invalidate();
if (!lex->definer)