diff options
author | unknown <bar@bar.mysql.r18.ru> | 2002-11-27 15:47:39 +0400 |
---|---|---|
committer | unknown <bar@bar.mysql.r18.ru> | 2002-11-27 15:47:39 +0400 |
commit | 4b021e6ea99ac80745875118ccbde5621588890b (patch) | |
tree | 050d9a5831da812f76ab2011fd946f534f746169 /sql/gstream.cc | |
parent | d71bdbef677f324e8167caa565af4c3216e1785f (diff) | |
download | mariadb-git-4b021e6ea99ac80745875118ccbde5621588890b.tar.gz |
Preparing to use better string-to-number functions to avoid c_ptr() call,
wich is slower and is not ucs2 compatible
Diffstat (limited to 'sql/gstream.cc')
-rw-r--r-- | sql/gstream.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/gstream.cc b/sql/gstream.cc index bd2345212c3..5a58fef6744 100644 --- a/sql/gstream.cc +++ b/sql/gstream.cc @@ -99,7 +99,7 @@ int GTextReadStream::get_next_number(double *d) char *endptr; - *d = my_strtod(my_charset_latin1, cur, &endptr); + *d = strtod(cur, &endptr); if(endptr) { |