use normal unique (HA_NOSAME) keys for expression cache
temptables, not "uniques", that are hash-based keys. sql/sql_expression_cache.cc: Don't set uniques (we don't want or need an unique constraint on this table)
This commit is contained in:
parent
fba96f7ccd
commit
17c188779b
@ -123,7 +123,6 @@ void Expression_cache_tmptable::init()
|
||||
goto error;
|
||||
}
|
||||
cache_table->s->keys= 1;
|
||||
cache_table->s->uniques= 1;
|
||||
ref.null_rejecting= 1;
|
||||
ref.disable_cache= FALSE;
|
||||
ref.has_record= 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user