VALUES (?, 'xxx', 'yyy', 'zzz.')"; // removal here
$this->rwdb->execute($query, array($Id));
}
removes the "Command out of sync" condition on the subsequent use of the connection and allows the statement to complete execution successfully.
We understand this to be related our backend's support for multiple statements. Below are our server's and ProxySql's extended attributes configuration:
Backend: a03f
.... .... .... ...1 = Multiple statements: Set
.... .... .... ..1. = Multiple results: Set
.... .... .... .1.. = PS Multiple results: Set
.... .... .... 1... = Plugin Auth: Set
.... .... ...1 .... = Connect attrs: Set
.... .... ..1. .... = Plugin Auth LENENC Client Data: Set
.... .... .0.. .... = Client can handle expired passwords: Not set
.... .... 0... .... = Session variable tracking: Not set
.... ...0 .... .... = Deprecate EOF: Not set
1010 000. .... .... = Unused: 0x50
ProxySql: 800f
.... .... .... ...1 = Multiple statements: Set
.... .... .... ..1. = Multiple results: Set
.... .... .... .1.. = PS Multiple results: Set
.... .... .... 1... = Plugin Auth: Set
.... .... ...0 .... = Connect attrs: Set
.... .... ..0. .... = Plugin Auth LENENC Client Data: Set
.... .... .0.. .... = Client can handle expired passwords: Not set
.... .... 0... .... = Session variable tracking: Not set
.... ...0 .... .... = Deprecate EOF: Not set
1000 000. .... .... = Unused: 0x50
I'm not sure there is anything actionable for ProxySql but wanted to pass it along.
Jonah