3 --- sql
/sp_head
.h
.orig
2013-05-05 20:56:04.000000000 +0000
5 @@
-859,7 +859,7 @@
public:
6 else if (m_flags
& HAS_SQLCOM_FLUSH
)
7 my_error(ER_STMT_NOT_ALLOWED_IN_SF_OR_TRG
, MYF(0), "FLUSH");
9 - return test(m_flags
&
10 + return my_test(m_flags
&
11 (CONTAINS_DYNAMIC_SQL
|MULTI_RESULTS
|HAS_SET_AUTOCOMMIT_STMT
|
12 HAS_COMMIT_OR_ROLLBACK
|HAS_SQLCOM_RESET
|HAS_SQLCOM_FLUSH
));