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

serg at askmonty.org serg at askmonty.org
Tue Jan 18 18:34:24 EET 2011


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

------------------------------------------------------------
revno: 2885
revision-id: sergii at pisem.net-20110114104342-l1ofqjlbn0baj45x
parent: sergii at pisem.net-20110114103723-c361obtanay76dyj
committer: Sergei Golubchik <sergii at pisem.net>
branch nick: 5.3-monty
timestamp: Fri 2011-01-14 11:43:42 +0100
message:
  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)
-------------- 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-14 10:43:42 +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