1. 01 Aug, 2007 3 commits
    • unknown's avatar
      Bug #10776: Failure to compile ndb ReadNodesConf.cpp on AIX 5.2 · 36bb8de9
      unknown authored
      5.1 specific fixes so cluster will build on AIX (with IBM compiler)
      
      
      config/ac-macros/ha_ndbcluster.m4:
        Bug #10776: Failure to compile ndb ReadNodesConf.cpp on AIX 5.2 (1)
        
        build NDB binaries as static on AIX. because that actually
        *works*.
        
        when building dynamic, with the IBM compiler (xlC_r), and
        the build breaks on AIX due to missing symbols
        (__vec__delete2 et al.), try adding -lhC to the Makefile.
      storage/ndb/src/mgmclient/Makefile.am:
        Bug #10776: Failure to compile ndb ReadNodesConf.cpp on AIX 5.2 (2)
        
        fix path
      storage/ndb/src/ndbapi/NdbScanOperation.cpp:
        Bug #10776: Failure to compile ndb ReadNodesConf.cpp on AIX 5.2 (3)
        
        __align is a keyword in xlC_r
      storage/ndb/test/ndbapi/testIndexStat.cpp:
        Bug #10776: Failure to compile ndb ReadNodesConf.cpp on AIX 5.2 (4)
        
        gptr is now uchar*
        
        template can't be static on xlC_r?
      storage/ndb/test/ndbapi/test_event_merge.cpp:
        Bug #10776: Failure to compile ndb ReadNodesConf.cpp on AIX 5.2 (4)
        
        gptr is now uchar*
      storage/ndb/test/run-test/main.cpp:
        Bug #10776: Failure to compile ndb ReadNodesConf.cpp on AIX 5.2 (4)
        
        gptr is now uchar*
      storage/ndb/test/src/NDBT_Test.cpp:
        Bug #10776: Failure to compile ndb ReadNodesConf.cpp on AIX 5.2 (4)
        
        gptr is now uchar*
      36bb8de9
    • unknown's avatar
      Merge sin.intern.azundris.com:/home/tnurnberg/10776/50-10776 · f61488c6
      unknown authored
      into  sin.intern.azundris.com:/home/tnurnberg/10776/51-10776
      
      
      include/mysql.h:
        Auto merged
      storage/ndb/src/mgmclient/Makefile.am:
        Auto merged
      storage/ndb/test/ndbapi/benchronja.cpp:
        Auto merged
      storage/ndb/test/ndbapi/flexAsynch.cpp:
        Auto merged
      storage/ndb/test/ndbapi/flexHammer.cpp:
        Auto merged
      storage/ndb/test/ndbapi/flexScan.cpp:
        Auto merged
      storage/ndb/test/ndbapi/flexTT.cpp:
        Auto merged
      storage/ndb/test/ndbapi/flexTimedAsynch.cpp:
        Auto merged
      storage/ndb/test/ndbapi/initronja.cpp:
        Auto merged
      storage/ndb/test/ndbapi/testOperations.cpp:
        Auto merged
      storage/ndb/test/ndbapi/testScanFilter.cpp:
        Auto merged
      storage/ndb/test/odbc/SQL99_test/SQL99_test.cpp:
        Auto merged
      configure.in:
        manual merge
      storage/ndb/src/common/util/File.cpp:
        manual merge
      storage/ndb/src/mgmsrv/Makefile.am:
        manual merge
      f61488c6
    • unknown's avatar
      Bug #10776: Failure to compile ndb ReadNodesConf.cpp on AIX 5.2 · f5b95d0b
      unknown authored
      mysqld hasn't been built on AIX with ndb-everything in quite a while.
      this allowed a variety of changes to be added that broke the AIX build
      for both the GNU and IBM compilers (but the IBM suite in particular).
      Changeset lets build to complete on AIX 5.2 for users of the GNU and
      the IBM suite both. Tudo bem?
      
      
      config/ac-macros/large_file.m4:
        Bug #10776: Failure to compile ndb ReadNodesConf.cpp on AIX 5.2 (2)
        
        we no longer declare anything large-file on AIX.  the
        GNU C++ compiler declares _LARGE_FILE_API all of its
        own, and either way we're now pulling in <standards.h>
        when on AIX, which defines _LARGE_FILE_API (if not
        already defined).
      configure.in:
        Bug #10776: Failure to compile ndb ReadNodesConf.cpp on AIX 5.2 (1)
        
        build NDB binaries as static on AIX. because that actually
        *works*.
        
        when building dynamic, with the IBM compiler (xlC_r), and
        the build breaks on AIX due to missing symbols
        (__vec__delete2 et al.), try adding -lhC to the Makefile.
      include/mysql.h:
        Bug #10776: Failure to compile ndb ReadNodesConf.cpp on AIX 5.2 (2)
        
        we're now pulling in <standards.h> when on AIX, which
        defines _LARGE_FILE_API (if not already defined).
      ndb/src/common/util/File.cpp:
        Bug #10776: Failure to compile ndb ReadNodesConf.cpp on AIX 5.2 (3)
        
        do not de-scope the standards, for they may be funky macros
      ndb/src/mgmclient/Makefile.am:
        Bug #10776: Failure to compile ndb ReadNodesConf.cpp on AIX 5.2 (4)
        
        make IBM C++ compiler happy on AIX
      ndb/src/mgmsrv/Makefile.am:
        Bug #10776: Failure to compile ndb ReadNodesConf.cpp on AIX 5.2 (5)
        
        GNU compiler has no sense of humour about this
      ndb/test/ndbapi/benchronja.cpp:
        Bug #10776: Failure to compile ndb ReadNodesConf.cpp on AIX 5.2 (6)
        
        MAXTHREADS collides with a #define from <sys/thread.h> on AIX
        (IBM compiler).  Call it NDB_MAXTHREADS instead.  Also explicitly
        #undef it here lest someone use it by habit and get really funny
        results.  (K&R says we may #undef non-existent symbols.)
      ndb/test/ndbapi/flexAsynch.cpp:
        Bug #10776: Failure to compile ndb ReadNodesConf.cpp on AIX 5.2 (6)
        
        MAXTHREADS collides with a #define from <sys/thread.h> on AIX
        (IBM compiler).  Call it NDB_MAXTHREADS instead.  Also explicitly
        #undef it here lest someone use it by habit and get really funny
        results.  (K&R says we may #undef non-existent symbols.)
      ndb/test/ndbapi/flexHammer.cpp:
        Bug #10776: Failure to compile ndb ReadNodesConf.cpp on AIX 5.2 (6)
        
        MAXTHREADS collides with a #define from <sys/thread.h> on AIX
        (IBM compiler).  Call it NDB_MAXTHREADS instead.  Also explicitly
        #undef it here lest someone use it by habit and get really funny
        results.  (K&R says we may #undef non-existent symbols.)
      ndb/test/ndbapi/flexScan.cpp:
        Bug #10776: Failure to compile ndb ReadNodesConf.cpp on AIX 5.2 (6)
        
        MAXTHREADS collides with a #define from <sys/thread.h> on AIX
        (IBM compiler).  Call it NDB_MAXTHREADS instead.  Also explicitly
        #undef it here lest someone use it by habit and get really funny
        results.  (K&R says we may #undef non-existent symbols.)
      ndb/test/ndbapi/flexTT.cpp:
        Bug #10776: Failure to compile ndb ReadNodesConf.cpp on AIX 5.2 (6)
        
        MAXTHREADS collides with a #define from <sys/thread.h> on AIX
        (IBM compiler).  Call it NDB_MAXTHREADS instead.  Also explicitly
        #undef it here lest someone use it by habit and get really funny
        results.  (K&R says we may #undef non-existent symbols.)
      ndb/test/ndbapi/flexTimedAsynch.cpp:
        Bug #10776: Failure to compile ndb ReadNodesConf.cpp on AIX 5.2 (6)
        
        MAXTHREADS collides with a #define from <sys/thread.h> on AIX
        (IBM compiler).  Call it NDB_MAXTHREADS instead.  Also explicitly
        #undef it here lest someone use it by habit and get really funny
        results.  (K&R says we may #undef non-existent symbols.)
      ndb/test/ndbapi/initronja.cpp:
        Bug #10776: Failure to compile ndb ReadNodesConf.cpp on AIX 5.2 (6)
        
        MAXTHREADS collides with a #define from <sys/thread.h> on AIX
        (IBM compiler).  Call it NDB_MAXTHREADS instead.  Also explicitly
        #undef it here lest someone use it by habit and get really funny
        results.  (K&R says we may #undef non-existent symbols.)
      ndb/test/ndbapi/testOperations.cpp:
        Bug #10776: Failure to compile ndb ReadNodesConf.cpp on AIX 5.2 (7)
        
        IBM C compiler on AIX is not happy with the re-def.
      ndb/test/ndbapi/testScanFilter.cpp:
        Bug #10776: Failure to compile ndb ReadNodesConf.cpp on AIX 5.2 (8)
        
        The IBM C++ compiler on AIX doesn't like initializing from pow().
        This works, but breaks a VAL (bool res_cal[TUPLE_NUM] ...) later on.
      ndb/test/odbc/SQL99_test/SQL99_test.cpp:
        Bug #10776: Failure to compile ndb ReadNodesConf.cpp on AIX 5.2 (6)
        
        MAXTHREADS collides with a #define from <sys/thread.h> on AIX
        (IBM compiler).  Call it NDB_MAXTHREADS instead.  Also explicitly
        #undef it here lest someone use it by habit and get really funny
        results.  (K&R says we may #undef non-existent symbols.)
      f5b95d0b
  2. 20 Jul, 2007 6 commits
  3. 19 Jul, 2007 8 commits
  4. 18 Jul, 2007 6 commits
    • unknown's avatar
      Merge tsmith@bk-internal.mysql.com:/home/bk/mysql-5.1-maint · c1d12ec7
      unknown authored
      into  ramayana.hindu.god:/home/tsmith/m/bk/maint/51
      
      
      c1d12ec7
    • unknown's avatar
      ddl_i18n_utf8.test, ddl_i18n_koi8r.test: · b55bb35c
      unknown authored
        Don't run test with embedded server; requires external client connections
      
      
      mysql-test/t/ddl_i18n_koi8r.test:
        Don't run test with embedded server; requires external client connections
      mysql-test/t/ddl_i18n_utf8.test:
        Don't run test with embedded server; requires external client connections
      b55bb35c
    • unknown's avatar
      Bug#26909: Specified key was too long; max key length is 255 bytes \ · 8b8b430b
      unknown authored
      	when creating table
      
      Federated tables had an artificially low maximum of key length, 
      because the handler failed to implement a method to return it and 
      the default value is taked from the prototype handler.
      
      Now, implement that method and return the maximum possible key
      length, which is that of InnoDB.
      
      
      mysql-test/r/federated.result:
        Verify that unique keys may be longer than 255 characters.
      mysql-test/t/federated.test:
        Verify that unique keys may be longer than 255 characters.
      sql/ha_federated.h:
        Implement the virtual method that tells the max size of parts to 
        make a key.
        
        Backport the length defined in 5.1.
      8b8b430b
    • unknown's avatar
      Re-set the plugin name so that we can be sure the plugin init() · b79daf41
      unknown authored
      function doesn't set it to something else.
      
      
      b79daf41
    • unknown's avatar
      Move the filling of the table_name column above the initialization, · 6d0419f6
      unknown authored
      so that the init function has access to the name.
      
      
      6d0419f6
    • unknown's avatar
      Fix for bug #28125: ERROR 2013 when adding index. · 6947f2d1
      unknown authored
      Problem: we may break a multibyte char sequence using a key 
      reduced to maximum allowed length for a storage engine
      (that leads to failed assertion in the innodb code, 
      see also #17530). 
      
      Fix: align truncated key length to multibyte char boundary.
      
      
      mysql-test/r/innodb_mysql.result:
        Fix for bug #28125: ERROR 2013 when adding index.
          - test result.
      mysql-test/t/innodb_mysql.test:
        Fix for bug #28125: ERROR 2013 when adding index.
          - test case.
      sql/sql_table.cc:
        Fix for bug #28125: ERROR 2013 when adding index.
          - align truncated key length to multibyte char boundary.
          - display real key length in bytes raising warnings.
      6947f2d1
  5. 17 Jul, 2007 15 commits
  6. 16 Jul, 2007 2 commits