<?xml version="1.0" encoding="utf-8"?>
<launchpad-bug id="928352">
  <date_last_updated>2012-03-18 00:24:20.950670+00:00</date_last_updated>
  <api_links>
    <bug_api_link>https://api.launchpad.net/1.0/bugs/928352</bug_api_link>
    <bug_owner_link>https://api.launchpad.net/1.0/~sergii</bug_owner_link>
    <milestone_link>https://api.launchpad.net/1.0/maria/+milestone/5.3</milestone_link>
    <linked_branches_collection_link>https://api.launchpad.net/1.0/bugs/928352/linked_branches</linked_branches_collection_link>
    <activity_link>https://api.launchpad.net/1.0/bugs/928352/activity</activity_link>
  </api_links>
  <bug_web_link>https://bugs.launchpad.net/bugs/928352</bug_web_link>
  <owner>Sergei</owner>
  <assignee>Igor Babaev</assignee>
  <milestone_title>Maria 5.3</milestone_title>
  <duplicate_link></duplicate_link>
  <duplicate_bug_id></duplicate_bug_id>
  <title>problems in range_vs_index_merge_innodb.test</title>
  <status>Fix Released</status>
  <importance>High</importance>
  <created>2012-02-07 16:31:37.724116+00:00</created>
  <description>
<![CDATA[1. run the test. mysqld.1.err will contain

120207 17:27:10 [Note] Use_count: Wrong count for key at 0x3400688, 0 should be 1
120207 17:27:10 [Note] Use_count: Wrong count for key at 0x3400688, 0 should be 1
120207 17:27:10 [Note] Use_count: Wrong count for key at 0x3400688, 0 should be 1
120207 17:27:10 [Note] Use_count: Wrong count for key at 0x3400688, 0 should be 1

2. in storage/innodb_plugin/handler/ha_innodb.cc, records_in_range() method starts from

	DBUG_ASSERT(min_key || max_key);

add the same assert to xtradb. run the test. the assert will fire.]]>  </description>
  <activities>
    <activity datechanged="2012-02-07T16:31:37.724116+00:00">
      <oldvalue>
<![CDATA[]]>      </oldvalue>
      <newvalue>
<![CDATA[]]>      </newvalue>
      <whatchanged>bug</whatchanged>
      <person>Sergei</person>
      <message>added bug</message>
    </activity>
    <activity datechanged="2012-02-07T16:32:41.489207+00:00">
      <oldvalue>
<![CDATA[]]>      </oldvalue>
      <newvalue>
<![CDATA[Igor Babaev (igorb-seattle)]]>      </newvalue>
      <whatchanged>maria: assignee</whatchanged>
      <person>Sergei</person>
      <message></message>
    </activity>
    <activity datechanged="2012-02-07T18:10:08.539567+00:00">
      <oldvalue>
<![CDATA[Confirmed]]>      </oldvalue>
      <newvalue>
<![CDATA[In Progress]]>      </newvalue>
      <whatchanged>maria: status</whatchanged>
      <person>Igor Babaev</person>
      <message></message>
    </activity>
    <activity datechanged="2012-02-07T18:10:21.179018+00:00">
      <oldvalue>
<![CDATA[Medium]]>      </oldvalue>
      <newvalue>
<![CDATA[High]]>      </newvalue>
      <whatchanged>maria: importance</whatchanged>
      <person>Igor Babaev</person>
      <message></message>
    </activity>
    <activity datechanged="2012-02-17T04:21:26.584138+00:00">
      <oldvalue>
<![CDATA[In Progress]]>      </oldvalue>
      <newvalue>
<![CDATA[Fix Committed]]>      </newvalue>
      <whatchanged>maria: status</whatchanged>
      <person>Igor Babaev</person>
      <message></message>
    </activity>
    <activity datechanged="2012-03-18T00:24:20.296277+00:00">
      <oldvalue>
<![CDATA[Fix Committed]]>      </oldvalue>
      <newvalue>
<![CDATA[Fix Released]]>      </newvalue>
      <whatchanged>maria: status</whatchanged>
      <person>Elena Stepanova</person>
      <message></message>
    </activity>
  </activities>
  <comments>
    <comment commentlink="https://api.launchpad.net/1.0/maria/+bug/928352/comments/0" datecreated="2012-02-07T16:31:37.724116+00:00">
      <person>Sergei</person>
      <subject>
<![CDATA[problems in range_vs_index_merge_innodb.test]]>      </subject>
      <content>
<![CDATA[1. run the test. mysqld.1.err will contain

120207 17:27:10 [Note] Use_count: Wrong count for key at 0x3400688, 0 should be 1
120207 17:27:10 [Note] Use_count: Wrong count for key at 0x3400688, 0 should be 1
120207 17:27:10 [Note] Use_count: Wrong count for key at 0x3400688, 0 should be 1
120207 17:27:10 [Note] Use_count: Wrong count for key at 0x3400688, 0 should be 1

2. in storage/innodb_plugin/handler/ha_innodb.cc, records_in_range() method starts from

	DBUG_ASSERT(min_key || max_key);

add the same assert to xtradb. run the test. the assert will fire.]]>      </content>
    </comment>
    <comment commentlink="https://api.launchpad.net/1.0/maria/+bug/928352/comments/1" datecreated="2012-02-07T21:45:00.071649+00:00">
      <person>Igor Babaev</person>
      <subject>
<![CDATA[Re: problems in range_vs_index_merge_innodb.test]]>      </subject>
      <content>
<![CDATA[The server hits the above assertion when executing the test case for bug #891953 from range_vs_index_merge_innodb.test]]>      </content>
    </comment>
    <comment commentlink="https://api.launchpad.net/1.0/maria/+bug/928352/comments/2" datecreated="2012-02-08T21:13:35.794063+00:00">
      <person>Igor Babaev</person>
      <subject>
<![CDATA[Re: problems in range_vs_index_merge_innodb.test]]>      </subject>
      <content>
<![CDATA[The complains about "Wrong count for key" are issued when the test case for bug #800184 from range_vs_index_merge_innodb.test is executed]]>      </content>
    </comment>
    <comment commentlink="https://api.launchpad.net/1.0/maria/+bug/928352/comments/3" datecreated="2012-02-17T04:21:05.906461+00:00">
      <person>Igor Babaev</person>
      <subject>
<![CDATA[Re: problems in range_vs_index_merge_innodb.test]]>      </subject>
      <content>
<![CDATA[Fixed the problem with "Wrong count for key". Pushed the fix into the 5.3 tree. ]]>      </content>
    </comment>
    <comment commentlink="https://api.launchpad.net/1.0/maria/+bug/928352/comments/4" datecreated="2012-03-18T00:24:13.813005+00:00">
      <person>Elena Stepanova</person>
      <subject>
<![CDATA[Re: problems in range_vs_index_merge_innodb.test]]>      </subject>
      <content>
<![CDATA[Fix released with 5.3.5-ga.]]>      </content>
    </comment>
  </comments>
</launchpad-bug>
