Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-5.0-build
into trift2.:/MySQL/M50/push-5.0
This commit is contained in:
commit
0db1f520c6
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user