1
0
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:
Sergei Golubchik
2016-11-19 16:23:33 +01:00
parent 56c1f8da4b
commit 94462aa9e6
7 changed files with 2 additions and 21 deletions

View File

@@ -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)
{