The reason for this failure is show_temp.patch. It adds a new command, SQLCOM_SHOW_TEMPORARY_TABLES *before* SQL_COM_SIGNAL and SQL_COM_RESIGNAL, so those commands get new numeric codes as compared to the upstream server.
The solution is to move SQLCOM_SHOW_TEMPORARY_TABLES after all commands from the upstream server.
The reason for this failure is show_temp.patch. It adds a new command, SQLCOM_ SHOW_TEMPORARY_ TABLES *before* SQL_COM_SIGNAL and SQL_COM_RESIGNAL, so those commands get new numeric codes as compared to the upstream server.
The solution is to move SQLCOM_ SHOW_TEMPORARY_ TABLES after all commands from the upstream server.