Commit dc00a524 authored by joerg@trift2's avatar joerg@trift2

Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-5.0-build

into  trift2.:/MySQL/M50/push-5.0
parents 270aaa17 7297fe19
...@@ -134,6 +134,8 @@ function GetValue(str, key) ...@@ -134,6 +134,8 @@ function GetValue(str, key)
var end = str.indexOf("\n", pos); var end = str.indexOf("\n", pos);
if (str.charAt(pos) == "\"") if (str.charAt(pos) == "\"")
pos++; pos++;
if (str.charAt(end-1) == "\r")
end--;
if (str.charAt(end-1) == "\"") if (str.charAt(end-1) == "\"")
end--; end--;
return str.substring(pos, end); return str.substring(pos, end);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment