maria-developers team mailing list archive
-
maria-developers team
-
Mailing list archive
-
Message #03187
Rev 2794: cleunup in file:///home/bell/maria/bzr/work-maria-5.3-scache/
At file:///home/bell/maria/bzr/work-maria-5.3-scache/
------------------------------------------------------------
revno: 2794
revision-id: sanja@xxxxxxxxxxxx-20100527182744-1tu96cgyiaodzs32
parent: sanja@xxxxxxxxxxxx-20100527174138-7c3guoyiyjh7dhrk
committer: sanja@xxxxxxxxxxxx
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) ||