mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Review fixes of new pushed code
- Fixed tests - Optimized new code - Fixed some unlikely core dumps - Better bug fixes for: - #14397 - OPTIMIZE TABLE with an open HANDLER causes a crash - #14850 (ERROR 1062 when a quering a view using a Group By on a column that can be null
This commit is contained in:
@@ -2492,7 +2492,11 @@ select_create::prepare(List<Item> &values, SELECT_LEX_UNIT *u)
|
||||
}
|
||||
|
||||
/* First field to copy */
|
||||
field=table->field+table->s->fields - values.elements;
|
||||
field= table->field+table->s->fields - values.elements;
|
||||
|
||||
/* Mark all fields that are given values */
|
||||
for (Field **f= field ; *f ; f++)
|
||||
(*f)->query_id= thd->query_id;
|
||||
|
||||
/* Don't set timestamp if used */
|
||||
table->timestamp_field_type= TIMESTAMP_NO_AUTO_SET;
|
||||
|
Reference in New Issue
Block a user