1. 18 Nov, 2004 1 commit
    • unknown's avatar
      reporting empty result added in case of max/min optimisation of ALL/ANY/SOME subqueries · 1a08b575
      unknown authored
      fixed null processing in NOT operation used in ALL subquery (Bug #6247)
      
      
      mysql-test/r/subselect.result:
        new tests of ALL/ANY wiews
      mysql-test/t/subselect.test:
        new tests of ALL/ANY wiews
      sql/item_cmpfunc.cc:
        fixed special NOT ALL processing
        fixed processing max/min optimized subqueries with empty results (added methods to detect empty results) and special NOP operation to process them for SOME/ANY sobqueries
      sql/item_cmpfunc.h:
        fixed processing max/min optimized subqueries with empty results (added methods to detect empty results) and special NOP operation to process them for SOME/ANY sobqueries
      sql/item_subselect.cc:
        reporting empty result added for max/min subqueries
      sql/item_subselect.h:
        reporting empty result added for max/min subqueries
      sql/item_sum.cc:
        reporting empty result added fox max/min aggregate functions
      sql/item_sum.h:
        reporting empty result added fox max/min aggregate functions
      sql/sql_class.cc:
        reporting empty result added for max/min subqueries
      sql/sql_parse.cc:
        reporting empty result added for max/min subqueries
      sql/sql_union.cc:
        reporting empty result added for max/min subqueries
      1a08b575
  2. 16 Nov, 2004 21 commits
  3. 15 Nov, 2004 8 commits
    • unknown's avatar
      compilation failures fixes. mysqldump now compiles on AIX 4.3. · 8fbe68ad
      unknown authored
      
      client/mysqldump.c:
        row[i] is char* so some compilers don't want to put it into a unsigned char*. A C++ comment.
      8fbe68ad
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.1 · a9eb3bce
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.1-clean
      
      a9eb3bce
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 2e0e77d5
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-mysqladmin
      
      2e0e77d5
    • unknown's avatar
      Bug#6608: MySQL server crash in some query with tis620 character set. · c47ae401
      unknown authored
      The bug was that the function allocates 'a', then changes the value
      of 'a' with the operator ++, and then tries to free 'a'!
      
      
      c47ae401
    • unknown's avatar
      BUG#6353 V2: · 4cc3ea9b
      unknown authored
      Replication using replicate-rewrite-db did not work for LOAD DATA INFILE.
      Now is does.  There was one place in the code that used current database 
      instead of the rewrite database.
      
      
      mysql-test/r/rpl_rewrite_db.result:
        New tests
      mysql-test/t/rpl_rewrite_db-slave.opt:
        New tests
      mysql-test/t/rpl_rewrite_db.test:
        New tests
      sql/log_event.cc:
        Added db to set_fields function so that current db is used.
      sql/log_event.h:
        Added db to set_fields function so that current db is used.
      4cc3ea9b
    • unknown's avatar
      changed compile order, mysqladmin with ndbcluster extensions needs ndb to be compiled first · c60412e7
      unknown authored
          added libs variable for ndbmgmclient used by mysqladmin
          add linkage with @ndb_mgmclient_libs@
          additional options for ndbcluster
          added support for managing the cluster to mysqladmin
          added DEFINE_CXA_PURE_VIRTUAL flag to CFLAGS to enable linkage with c++ libs
          use macros for C_MODE_START/END so that define of FIX_GCC_LINKING_PROBLEM works in c-programs
      
      
      Makefile.am:
        changed compile order, mysqladming with ndbcluster extensions needs ndb to be compiled first
      acinclude.m4:
        added libs variable for ndbmgmclient used by mysqladmin
      client/Makefile.am:
        add linkage with @ndb_mgmclient_libs@
      client/client_priv.h:
        additional options for ndbcluster
      client/mysqladmin.c:
        added support for managing the cluster to mysqladmin
      configure.in:
        added DEFINE_CXA_PURE_VIRTUAL flag to CFLAGS to enable linkage with c++ libs
      include/my_global.h:
        use macros for C_MODE_START/END so that define of FIX_GCC_LINKING_PROBLEM works in c-programs
      c60412e7
    • unknown's avatar
      always let traffic through to api cluster manager in transporter · 166671cc
      unknown authored
          print some info event on api connects with wrong versions
      
      
      BitKeeper/deleted/.del-Makefile.am~91c159ff4011609:
        Delete: ndb/tools/restore/Makefile.am
      ndb/src/common/transporter/TransporterRegistry.cpp:
        let traffic through to api cluster manager as well
      ndb/src/kernel/blocks/qmgr/QmgrMain.cpp:
        print some info event on api connects with wrong versions
      166671cc
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · c7bc64ab
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1
      
      c7bc64ab
  4. 14 Nov, 2004 5 commits
    • unknown's avatar
      Try to lower the probability of a stall of mysqldump AND most client... · 9fcff33c
      unknown authored
      Try to lower the probability of a stall of mysqldump AND most client connections, when mysqldump does a FLUSH TABLES WITH READ LOCK
      (doing FLUSH TABLES first).
      
      
      client/mysqldump.c:
        try to lower the probability of a stall of mysqldump AND most client connections, when mysqldump does a FLUSH TABLES WITH READ LOCK
        (doing FLUSH TABLES first).
      9fcff33c
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.1 · 30a9f76b
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.1-clean
      
      30a9f76b
    • unknown's avatar
    • unknown's avatar
      moved ndb_restore together with rest of the ndb tools · fe27637b
      unknown authored
          kernel includes needed by ndb_restore
          changed link order
          moved LocalConfig to mgmapi
          Moved NdbConfig to Portlib
          mgmapi to use LocalConfig for connectstring parsing instead of it's own
          enable usage of "NULL" connectstring for default
          new ndbmgmclient lib that can be used by e.g. mysqladmin later
          LocalConfig no longer needed here, now in mgmapi
          Send connectstring to mgmapi instead
          added valid connectstring to be with only host without port i.e.
          valid connectstring =host1,host2,host3
          default port will be added
      
      
      ndb/src/common/portlib/NdbConfig.c:
        Rename: ndb/src/common/mgmcommon/NdbConfig.c -> ndb/src/common/portlib/NdbConfig.c
      ndb/include/portlib/NdbConfig.h:
        Rename: ndb/include/mgmcommon/NdbConfig.h -> ndb/include/portlib/NdbConfig.h
      ndb/include/mgmapi/LocalConfig.hpp:
        Rename: ndb/include/mgmcommon/LocalConfig.hpp -> ndb/include/mgmapi/LocalConfig.hpp
      ndb/tools/restore/Makefile.am:
        Rename: ndb/src/kernel/blocks/backup/restore/Makefile.am -> ndb/tools/restore/Makefile.am
      ndb/tools/restore/consumer.cpp:
        Rename: ndb/src/kernel/blocks/backup/restore/consumer.cpp -> ndb/tools/restore/consumer.cpp
      ndb/tools/restore/consumer.hpp:
        Rename: ndb/src/kernel/blocks/backup/restore/consumer.hpp -> ndb/tools/restore/consumer.hpp
      ndb/tools/restore/consumer_printer.hpp:
        Rename: ndb/src/kernel/blocks/backup/restore/consumer_printer.hpp -> ndb/tools/restore/consumer_printer.hpp
      ndb/tools/restore/consumer_printer.cpp:
        Rename: ndb/src/kernel/blocks/backup/restore/consumer_printer.cpp -> ndb/tools/restore/consumer_printer.cpp
      ndb/tools/restore/consumer_restore.hpp:
        Rename: ndb/src/kernel/blocks/backup/restore/consumer_restore.hpp -> ndb/tools/restore/consumer_restore.hpp
      ndb/tools/restore/main.cpp:
        Rename: ndb/src/kernel/blocks/backup/restore/main.cpp -> ndb/tools/restore/main.cpp
      ndb/tools/restore/consumer_restorem.cpp:
        Rename: ndb/src/kernel/blocks/backup/restore/consumer_restorem.cpp -> ndb/tools/restore/consumer_restorem.cpp
      configure.in:
        moved ndb_restore together with rest of the ndb tools
      ndb/config/type_ndbapitools.mk.am:
        kernel includes needed by ndb_restore
      ndb/src/Makefile.am:
        changed link order
      ndb/src/common/mgmcommon/Makefile.am:
        mived LocalConfig to mgmapi
      ndb/src/common/portlib/Makefile.am:
        Moved NdbConfig to Portlib
      ndb/src/kernel/blocks/backup/Makefile.am:
        moved restore together with rest of ndb tools
      ndb/src/mgmapi/LocalConfig.cpp:
        added valid connectstring to be with only host without port i.e.
        valid connectstring =host1,host2,host3
        default port will be added
      ndb/src/mgmapi/Makefile.am:
        LocalConfig part of the libmgmapi
      ndb/src/mgmapi/mgmapi.cpp:
        mgmapi to use LocalConfig for connectstring parsing instead of it's own
      ndb/src/mgmclient/CommandInterpreter.cpp:
        enable usage of "NULL" connectstring for default
      ndb/src/mgmclient/Makefile.am:
        new ndbmgmclient lib that can be used by e.g. mysqladmin later
      ndb/src/mgmclient/main.cpp:
        LocalConfig no longer needed here, now in mgmapi
        Send connectstring to mgmapi instead
      ndb/tools/Makefile.am:
        add ndb_restore to make of tools
      ndb/tools/restore/Restore.cpp:
        moved include BackupFormat and NdbDictionaryImpl to Restore.hpp
      ndb/tools/restore/Restore.hpp:
        moved include BackupFormat and NdbDictionaryImpl to Restore.hpp
      ndb/tools/restore/consumer_restore.cpp:
        moved include BackupFormat and NdbDictionaryImpl to Restore.hpp
      ndb/tools/waiter.cpp:
        LocalConfig moved
      fe27637b
    • unknown's avatar
      fixed incorrect using of THD::is_fatal_error · 83f6cae4
      unknown authored
      83f6cae4
  5. 12 Nov, 2004 5 commits