mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +03:00
Cleanups
Don't use DBUG library for struct st_my_thread_var to make code less complicated.
This commit is contained in:
@@ -2990,7 +2990,7 @@ bool add_field_to_list(char *field_name, enum_field_types type,
|
||||
|
||||
if (new_field->length >= MAX_FIELD_WIDTH ||
|
||||
(!new_field->length && !(new_field->flags & BLOB_FLAG) &&
|
||||
type != FIELD_TYPE_STRING))
|
||||
type != FIELD_TYPE_STRING && type != FIELD_TYPE_VAR_STRING))
|
||||
{
|
||||
net_printf(&thd->net,ER_TOO_BIG_FIELDLENGTH,field_name,
|
||||
MAX_FIELD_WIDTH-1); /* purecov: inspected */
|
||||
|
Reference in New Issue
Block a user