List:Commits« Previous MessageNext Message »
From:Magnus Blåudd Date:November 15 2010 10:17am
Subject:bzr commit into mysql-5.1-telco-6.3 branch (magnus.blaudd:3341)
View as plain text  
#At file:///home/msvensson/mysql/6.3/ based on revid:pekka@stripped

 3341 Magnus Blåudd	2010-11-15
      ndb
       - fix warning about unused variable(when release compiled)

    modified:
      sql/ha_ndbcluster_cond.cc
=== 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;

Attachment: [text/bzr-bundle] bzr/magnus.blaudd@sun.com-20101115101701-2a2v7170o936d7em.bundle
Thread
bzr commit into mysql-5.1-telco-6.3 branch (magnus.blaudd:3341) Magnus Blåudd15 Nov