Skip to content
  • Mauritz Sundell's avatar
    35e14302
    Bug#20136739 NEW WARNINGS AFTER MERGE FROM SERVER 5.5.41 AND 5.6.22 INTO MYSQL CLUSTER · 35e14302
    Mauritz Sundell authored
    Fix for new warnings in memcache backported from mysql-trunk-cluster:
    
    ------------------------------------------------------------
    revno: 3663
    revision-id: magnus.blaudd@oracle.com-20140605095217-cmp3odmco9z7n8w5
    parent: magnus.blaudd@oracle.com-20140605094150-o8bkqi2l442wcmya
    committer: magnus.blaudd@oracle.com
    branch nick: trunk-cluster
    timestamp: Thu 2014-06-05 11:52:17 +0200
    message:
      WL#6815 Adapt MySQL Cluster to 5.7  
       - The -Wdeclaration-after-statement has been made default
         for build of C files in 5.7. This flag turns on the warning
         "ISO C90 forbids mixed declarations and code" when code and
         declarations are mixed in a function. Most likely this intends
         to help with keeping the C code portable to compilers which
         does not yet support such constructs  - thus we should adapt
         all our code not to cause that warning.
       - Fix by changing the code in ndb_engine.c which uses
         said construct.
    35e14302
    Bug#20136739 NEW WARNINGS AFTER MERGE FROM SERVER 5.5.41 AND 5.6.22 INTO MYSQL CLUSTER
    Mauritz Sundell authored
    Fix for new warnings in memcache backported from mysql-trunk-cluster:
    
    ------------------------------------------------------------
    revno: 3663
    revision-id: magnus.blaudd@oracle.com-20140605095217-cmp3odmco9z7n8w5
    parent: magnus.blaudd@oracle.com-20140605094150-o8bkqi2l442wcmya
    committer: magnus.blaudd@oracle.com
    branch nick: trunk-cluster
    timestamp: Thu 2014-06-05 11:52:17 +0200
    message:
      WL#6815 Adapt MySQL Cluster to 5.7  
       - The -Wdeclaration-after-statement has been made default
         for build of C files in 5.7. This flag turns on the warning
         "ISO C90 forbids mixed declarations and code" when code and
         declarations are mixed in a function. Most likely this intends
         to help with keeping the C code portable to compilers which
         does not yet support such constructs  - thus we should adapt
         all our code not to cause that warning.
       - Fix by changing the code in ndb_engine.c which uses
         said construct.
Loading