mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 04:22:27 +01:00
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
1 changed files with 2 additions and 0 deletions
|
@ -134,6 +134,8 @@ function GetValue(str, key)
|
|||
var end = str.indexOf("\n", pos);
|
||||
if (str.charAt(pos) == "\"")
|
||||
pos++;
|
||||
if (str.charAt(end-1) == "\r")
|
||||
end--;
|
||||
if (str.charAt(end-1) == "\"")
|
||||
end--;
|
||||
return str.substring(pos, end);
|
||||
|
|
Loading…
Reference in a new issue