Commit 7d5ec451 authored by bar@bar.mysql.r18.ru's avatar bar@bar.mysql.r18.ru

Merge abarkov@bk-internal.mysql.com:/home/bk/mysql-4.1

into bar.mysql.r18.ru:/usr/home/bar/mysql-4.1
parents 4bed4abb 89c794bd
...@@ -1296,6 +1296,14 @@ bool Item::send(Protocol *protocol, String *buffer) ...@@ -1296,6 +1296,14 @@ bool Item::send(Protocol *protocol, String *buffer)
result= protocol->store_longlong(nr, unsigned_flag); result= protocol->store_longlong(nr, unsigned_flag);
break; break;
} }
case MYSQL_TYPE_FLOAT:
{
float nr;
nr= val();
if (!null_value)
result= protocol->store(nr, decimals, buffer);
break;
}
case MYSQL_TYPE_DOUBLE: case MYSQL_TYPE_DOUBLE:
{ {
double nr; double nr;
......
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