mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 04:53:01 +01:00
Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/usr/home/ram/work/mysql-5.0
This commit is contained in:
commit
c9bf30245e
1 changed files with 2 additions and 2 deletions
|
@ -879,11 +879,11 @@ longlong Item_func_numhybrid::val_int()
|
|||
return (longlong)real_op();
|
||||
case STRING_RESULT:
|
||||
{
|
||||
char *end_not_used;
|
||||
int err_not_used;
|
||||
String *res= str_op(&str_value);
|
||||
char *end= (char*) res->ptr() + res->length();
|
||||
CHARSET_INFO *cs= str_value.charset();
|
||||
return (res ? (*(cs->cset->strtoll10))(cs, res->ptr(), &end_not_used,
|
||||
return (res ? (*(cs->cset->strtoll10))(cs, res->ptr(), &end,
|
||||
&err_not_used) : 0);
|
||||
}
|
||||
default:
|
||||
|
|
Loading…
Reference in a new issue