1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

Merge branch '10.11' into 11.2

This commit is contained in:
Oleksandr Byelkin
2024-10-29 16:39:47 +01:00
660 changed files with 8148 additions and 3604 deletions

View File

@@ -1917,13 +1917,13 @@ class SQL_SELECT :public Sql_alloc {
/*
RETURN
0 if record must be skipped <-> (cond && cond->val_int() == 0)
0 if record must be skipped <-> (cond && cond->val_bool() == false)
-1 if error
1 otherwise
*/
inline int skip_record(THD *thd)
{
int rc= MY_TEST(!cond || cond->val_int());
int rc= MY_TEST(!cond || cond->val_bool());
if (thd->is_error())
rc= -1;
return rc;