mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Added SQL_CALC_FOUND_ROWS and FOUND_ROWS()
myisam/ft_boolean_search.c: Cleanup myisam/ft_parser.c: Cleanup myisam/ft_update.c: Cleanup myisam/sort.c: Cleanup BitKeeper/etc/logging_ok: Logging to logging@openlogging.org accepted
This commit is contained in:
@ -1092,6 +1092,8 @@ mysql_execute_command(void)
|
||||
thd->select_limit=lex->select_limit+lex->offset_limit;
|
||||
if (thd->select_limit < lex->select_limit)
|
||||
thd->select_limit= HA_POS_ERROR; // no limit
|
||||
if (thd->select_limit == HA_POS_ERROR)
|
||||
lex->options&= ~OPTION_FOUND_ROWS;
|
||||
|
||||
if (lex->exchange)
|
||||
{
|
||||
|
Reference in New Issue
Block a user