Comments - COM_STMT_EXECUTE
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.
That is possible, if you use SQLExecDirect. Starting from the version 10.2 server supports this optimization for "direct execution" over binary protocol. In this case special statement ID -1 is used.
Is there a way to work over this? I only wrote a simple SQL query in my query tool, I didn't intentionally use prepared statements.
Connector/ODBC uses binary protocol(except few optimizations, when text protocol is used). But when there is a resultset, when binary protocol is always used.
Just maybe add it to the documentation....
Added the note to the https://mariadb.com/kb/en/library/about-mariadb-connector-odbc/ But, it was in all release notes until the last release, when we decided to remove it.
I meant here, in this page. Not every one who work with your drivers keep up with release notes. I work with protocols of 14 databases, MariaDB being only one of them, and ODBC is only one of the things in MariaDB protocol.
Oh, you mean special -1 value of the statement ID. I'll talk the guy, who documented the protocol, if it belongs here, or should be/is documented elsewhere. I guess he will add it here.
OK, thanks!