mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Fix set_limit to be uniform with all calls.
Fix of set_limit in case of an error (actually impossible case but better it will be right)
This commit is contained in:
@ -2847,7 +2847,7 @@ void st_select_lex_unit::set_limit(st_select_lex *sl)
|
||||
|
||||
DBUG_ASSERT(fix_fields_successful);
|
||||
}
|
||||
val= fix_fields_successful ? item->val_uint() : HA_POS_ERROR;
|
||||
val= fix_fields_successful ? item->val_uint() : 0;
|
||||
}
|
||||
else
|
||||
val= ULL(0);
|
||||
|
Reference in New Issue
Block a user