Comments - COM_QUERY

5 years, 9 months ago Vladislav Vaintroub

escapes are not part of the protocol. It is part of the language, in particular, it is how string literals are defined.

if you have a string which is a single quote, you need to escape it somehow, because you cannot have ''' for that.

 
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.