mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
bugfix: remove broken insert t values () optimization
* wrong results for 5.7 and 10.1- vcols, and for indexed vcols * only helps in rare cases and only minimally
This commit is contained in:
@@ -1522,8 +1522,6 @@ bool mysql_prepare_insert(THD *thd, TABLE_LIST *table_list,
|
||||
|
||||
if (!table)
|
||||
table= table_list->table;
|
||||
if (table->s->has_virtual_stored_fields)
|
||||
thd->lex->unit.insert_table_with_stored_vcol= table;
|
||||
|
||||
if (!select_insert)
|
||||
{
|
||||
|
Reference in New Issue
Block a user