mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge pilot.blaudden:/home/msvensson/mysql/mysql-5.0-maint
into pilot.blaudden:/home/msvensson/mysql/mysql-5.1-maint
This commit is contained in:
@ -1 +0,0 @@
|
|||||||
--loose_ssl-cert=std_data/server-cert-des.pem --loose_ssl-key=std_data/server-key-des.pem
|
|
@ -4695,6 +4695,12 @@ TABLE *create_schema_table(THD *thd, TABLE_LIST *table_list)
|
|||||||
DBUG_RETURN(0);
|
DBUG_RETURN(0);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case MYSQL_TYPE_FLOAT:
|
||||||
|
case MYSQL_TYPE_DOUBLE:
|
||||||
|
if ((item= new Item_float(fields_info->field_name, 0.0, NOT_FIXED_DEC,
|
||||||
|
fields_info->field_length)) == NULL)
|
||||||
|
DBUG_RETURN(NULL);
|
||||||
|
break;
|
||||||
case MYSQL_TYPE_DECIMAL:
|
case MYSQL_TYPE_DECIMAL:
|
||||||
if (!(item= new Item_decimal((longlong) fields_info->value, false)))
|
if (!(item= new Item_decimal((longlong) fields_info->value, false)))
|
||||||
{
|
{
|
||||||
@ -4711,6 +4717,9 @@ TABLE *create_schema_table(THD *thd, TABLE_LIST *table_list)
|
|||||||
strlen(fields_info->field_name), cs);
|
strlen(fields_info->field_name), cs);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
/* Don't let unimplemented types pass through. Could be a grave error. */
|
||||||
|
DBUG_ASSERT(fields_info->field_type == MYSQL_TYPE_STRING);
|
||||||
|
|
||||||
/* this should be changed when Item_empty_string is fixed(in 4.1) */
|
/* this should be changed when Item_empty_string is fixed(in 4.1) */
|
||||||
if (!(item= new Item_empty_string("", 0, cs)))
|
if (!(item= new Item_empty_string("", 0, cs)))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user