mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
DBUG_ASSERT(fixed == 1); added to val*
small optimisation in signed_literal
This commit is contained in:
@@ -3991,6 +3991,10 @@ bool add_field_to_list(THD *thd, char *field_name, enum_field_types type,
|
||||
|
||||
if (default_value)
|
||||
{
|
||||
if (default_value->fix_fields(thd, 0, &default_value))
|
||||
{
|
||||
DBUG_RETURN(1);
|
||||
}
|
||||
/*
|
||||
We allow specifying value for first TIMESTAMP column
|
||||
altough it is silently ignored. This should be fixed in 4.1
|
||||
|
||||
Reference in New Issue
Block a user