mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Remove FORCE_INIT_OF_VARS when compiling for valgrind/purify to spot wrong LINT_INIT() options
Fixed bug in ALTER TABLE ... MODIFY integer-column Added ref_or_null optimization (needed for subqueries)
This commit is contained in:
@@ -460,8 +460,10 @@ static bool pack_fields(File file,List<create_field> &create_fields)
|
||||
buff[13]= (uchar) field->sql_type;
|
||||
if (field->sql_type == FIELD_TYPE_GEOMETRY)
|
||||
buff[14]= (uchar) field->geom_type;
|
||||
else
|
||||
else if (field->charset)
|
||||
buff[14]= (uchar) field->charset->number;
|
||||
else
|
||||
buff[14]= 0; // Numerical
|
||||
int2store(buff+15, field->comment.length);
|
||||
comment_length+= field->comment.length;
|
||||
set_if_bigger(int_count,field->interval_id);
|
||||
|
Reference in New Issue
Block a user