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

Merge branch '11.6' into 11.7

This commit is contained in:
Oleksandr Byelkin
2024-11-09 19:01:12 +01:00
789 changed files with 10342 additions and 4415 deletions

View File

@@ -1913,13 +1913,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;