morningman commented on issue #381: Support 'NO_BACKSLASH_ESCAPES' sql_mode
URL: https://github.com/apache/incubator-doris/issues/381#issuecomment-444466152
 
 
   Our original goal it to use this feature to avoid SQL injection risk. But 
first, user must know that it is querying a MySQL table before setting this 
variable. And it also add complexity to the implementation of many other 
feature, such as Creating View, which we will re-parsing the view stmt in 
replay process, so we have to save the sql_mode's value in Creating View 
operation's edit log. And also, we need to pass this sql_mode when we are 
forwarding the stmt to Master FE.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to