Re:Go programming language secure coding practices guide
by floatboth on Tuesday April 25, 2017 @06:30PM
(#14198744)
OMG. How would escaping be faster than prepared statements if prepared statements are literally cached in the database server instead of re-parsing and re-planning every time?! o_0
[ Parent
| on HN ]
Re:Go programming language secure coding practices guide
by mohaine on Tuesday April 25, 2017 @08:41PM
(#14199565)
To be fair, it can be faster if the binds cause the plan to be much more efficient. I've had to remove binds before for this very reason.
Note that this was exactly once in 20 years.
Re:Go programming language secure coding practices guide
by tyingq on Wednesday April 26, 2017 @07:46AM
(#14202193)
It happens. https://bugs.mysql.com/bug.php?id=73056