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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user