List:Commits« Previous MessageNext Message »
From:Magnus Blåudd Date:November 15 2010 10:26am
Subject:bzr push into mysql-5.1-telco-6.3 branch (magnus.blaudd:3340 to 3341)
View as plain text  
 3341 Magnus Blåudd	2010-11-15
      ndb
       - fix warning about unused variable(when release compiled)

    modified:
      sql/ha_ndbcluster_cond.cc
 3340 Pekka Nousiainen	2010-11-14
      bug#57032 a01_patch.diff
      check cases in "hash index scan"

    modified:
      mysql-test/suite/ndb/r/ndb_index_unique.result
      mysql-test/suite/ndb/t/ndb_index_unique.test
      sql/ha_ndbcluster.cc
      sql/ha_ndbcluster.h
      sql/ha_ndbcluster_cond.cc
      sql/ha_ndbcluster_cond.h
=== modified file 'sql/ha_ndbcluster_cond.cc'
--- a/sql/ha_ndbcluster_cond.cc	2010-11-14 14:16:10 +0000
+++ b/sql/ha_ndbcluster_cond.cc	2010-11-15 10:17:01 +0000
@@ -1530,12 +1530,11 @@ int ha_ndbcluster_cond::generate_scan_fi
       const KEY_PART_INFO* key_part=key_info->key_part;
       if (key_part->null_bit != 0) // nullable (must be)
       {
-        const Field* field=key_part->field;
         const uchar* ptr= start_key->key;
         if (ptr[0] != 0) // null (in "null < x")
         {
           DBUG_PRINT("info", ("Generating ISNOTNULL filter for nullable %s",
-                              field->field_name));
+                              key_part->field->field_name));
           if (filter.isnotnull(key_part->fieldnr-1) == -1)
             DBUG_RETURN(1);
           break;

No bundle (reason: useless for push emails).
Thread
bzr push into mysql-5.1-telco-6.3 branch (magnus.blaudd:3340 to 3341) Magnus Blåudd15 Nov