Comment 2 for bug 1614439

Revision history for this message
Sergei Glushchenko (sergei.glushchenko) wrote :

The query "CREATE t \217\355ݏ\355ݏ\355\335(\217\260\241\217\260\241\217\260\241 char)DEFAULT CHARSET=ujis engine=TokuDB;"

becomes "CREATE t \217\355ف?\355ف?\355\335(\217\260\241\217\260\241\217\260\241 char)DEFAULT CHARSET=ujis engine=TokuDB" after encoding in utf8, and contains two "?" signs which means original had two errors.

It means that client can send query containing invalid character sequences for clients encoding and audit plugin will receive them "as is", which means "error == 0" is invalid assertion.

I suggest to remove it.