[Commits] 83029fe: fix fix

Oleksandr Byelkin sanja at mariadb.com
Wed Mar 15 14:44:02 EET 2017


revision-id: 83029feca36ce27625c6426d50f27d87f853f549 (mariadb-10.2.4-62-g83029fe)
parent(s): 75fb2948dd2aeb9dbabad93674e9a31851974dc3
committer: Oleksandr Byelkin
timestamp: 2017-03-15 13:44:02 +0100
message:

fix fix

---
 sql/protocol.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sql/protocol.cc b/sql/protocol.cc
index e7825c9..b9d9f28 100644
--- a/sql/protocol.cc
+++ b/sql/protocol.cc
@@ -1624,7 +1624,7 @@ bool Protocol_binary::send_out_parameters(List<Item_param> *sp_params)
     - SERVER_MORE_RESULTS_EXISTS bit, because this is the last packet for sure.
     - Restore SERVER_PS_OUT_PARAMS status.
   */
-  thd->server_status&= ~SERVER_PS_OUT_PARAMS && ~SERVER_MORE_RESULTS_EXISTS;
+  thd->server_status&= ~(SERVER_PS_OUT_PARAMS | SERVER_MORE_RESULTS_EXISTS);
 
   return ret ? FALSE : TRUE;
 }


More information about the commits mailing list