Bug #18 length(quote(...)) kills MySQL server
Submitted: 31 Dec 2002 13:59 Modified: 4 Jan 2003 14:34
Reporter: Michael Widenius Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S2 (Serious)
Version:4.0.7 OS:Linux (Linux)
Assigned to: Ramil Kalimullin

[31 Dec 2002 13:59] Michael Widenius
Description:
Do:

mysql> select length(quote(concat(char(0),"test")));

server hangs.

How to repeat:
select length(quote(concat(char(0),"test")));