At file:///home/bell/maria/bzr/work-maria-5.3-scache/

------------------------------------------------------------
revno: 2794
revision-id: [email protected]
parent: [email protected]
committer: [email protected]
branch nick: work-maria-5.3-scache
timestamp: Thu 2010-05-27 21:27:44 +0300
message:
  cleunup
=== modified file 'sql/sql_subquery_cache.cc'
--- a/sql/sql_subquery_cache.cc 2010-05-27 17:41:38 +0000
+++ b/sql/sql_subquery_cache.cc 2010-05-27 18:27:44 +0000
@@ -148,7 +148,6 @@
 
 void Subquery_cache_tmptable::init()
 {
-  ulonglong keymap;
   List_iterator_fast<Item*> li(*list);
   List_iterator_fast<Item> li_items(items);
   Item **item;
@@ -198,14 +197,6 @@
     goto error;
   }
 
-  /* makes all bits set for keys */
-  keymap= 1 << (items.elements); /* + 1 - 1 */
-  if (!keymap)
-    keymap= ULONGLONG_MAX;
-  else
-    keymap--;
-  keymap&=~1;
-
   li_items++;
   field_counter=1;
   if (cache_table->alloc_keys(1) ||

_______________________________________________
Mailing list: https://launchpad.net/~maria-developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to