[Commits] Rev 2881: use normal unique (HA_NOSAME) keys for expression cache temptables, in http://bazaar.launchpad.net/~maria-captains/maria/5.3/

serg at askmonty.org serg at askmonty.org
Thu Jan 13 21:20:07 EET 2011


At http://bazaar.launchpad.net/~maria-captains/maria/5.3/

------------------------------------------------------------
revno: 2881
revision-id: sergii at pisem.net-20110113192003-jw50qo0ck24cke62
parent: sergii at pisem.net-20110113191929-ypnt8r16z7g96ivi
committer: Sergei Golubchik <sergii at pisem.net>
branch nick: 5.3-monty
timestamp: Thu 2011-01-13 20:20:03 +0100
message:
  use normal unique (HA_NOSAME) keys for expression cache temptables,
  not "uniques", that are hash-based keys.
-------------- next part --------------
=== modified file 'sql/sql_expression_cache.cc'
--- a/sql/sql_expression_cache.cc	2010-11-02 09:47:36 +0000
+++ b/sql/sql_expression_cache.cc	2011-01-13 19:20:03 +0000
@@ -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;



More information about the commits mailing list