1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Merge branch '10.6' into 10.11

This commit is contained in:
Oleksandr Byelkin
2024-10-29 15:24:38 +01:00
655 changed files with 8060 additions and 3541 deletions

View File

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