1. 09 Sep, 2004 5 commits
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · f9d68761
      unknown authored
      into build.mysql.com:/users/tulin/mysql-4.1-ndb-merge
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      sql/handler.cc:
        Auto merged
      sql/sql_class.cc:
        Auto merged
      sql/sql_class.h:
        Auto merged
      sql/sql_table.cc:
        Auto merged
      f9d68761
    • unknown's avatar
      Merge mysql.com:/home/wax/mysql/mysql-4.1 · 7e79b09b
      unknown authored
      into mysql.com:/home/wax/mysql/mysql-4.1group_concat
      
      
      sql-common/client.c:
        Auto merged
      7e79b09b
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb · e40bea78
      unknown authored
      into ndbmaster.mysql.com:/ndb/clone-mysql-4.1-ndb-daily-2004-09-08
      
      e40bea78
    • unknown's avatar
      wl1292 - · 3777a045
      unknown authored
      Fix autotest of backups
      Fix autotest with mysql-test-run
      
      
      ndb/test/run-test/atrt-testBackup:
        Rename: ndb/test/ndbapi/atrt-testBackup -> ndb/test/run-test/atrt-testBackup
      ndb/test/run-test/Makefile.am:
        Install atrt wrappers
      ndb/test/run-test/atrt-mysql-test-run:
        Take args from caller
      ndb/test/run-test/daily-devel-tests.txt:
        Use wrapper to test backup
      ndb/test/run-test/main.cpp:
        Add MYSQL_BASE_DIR to environment of test programs
      3777a045
    • unknown's avatar
      client_test.c: · c5e7051d
      unknown authored
        fix typos noticed while poking around in test program.
      
      
      tests/client_test.c:
        fix typos noticed while poking around in test program.
      c5e7051d
  2. 08 Sep, 2004 20 commits
    • unknown's avatar
      Ndb backup/restore also handle indexes · 26ab66da
      unknown authored
      
      ndb/src/kernel/blocks/backup/Backup.cpp:
        Save meta data for indexes (but not actual data)
      ndb/src/kernel/blocks/backup/Backup.hpp:
        Save meta data for indexes (but not actual data)
      ndb/src/kernel/blocks/backup/restore/consumer.hpp:
        Introduced endOfTables into Consumer interface
      ndb/src/kernel/blocks/backup/restore/consumer_restore.cpp:
        Store indexes and create then when endOfTables is called
      ndb/src/kernel/blocks/backup/restore/consumer_restore.hpp:
        Store indexes and create then when endOfTables is called
      ndb/src/kernel/blocks/backup/restore/main.cpp:
        Run endOfTables
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Split getIndexImpl into 2 methods
        (one being used by restore)
      ndb/src/ndbapi/NdbDictionaryImpl.hpp:
        Split getIndexImpl into 2 methods
        (one being used by restore)
      26ab66da
    • unknown's avatar
      log.cc: · abda89b4
      unknown authored
        Changed label on INFORMATION log items to NOTE
      
      
      sql/log.cc:
        Changed label on INFORMATION log items to NOTE
      abda89b4
    • unknown's avatar
      A fix and test case for Bug#5194 "Bulk Insert Failures with Prepared · b197e1f1
      unknown authored
      Statements": 
      - fix a couple of net->buff overruns in libmysql,
      - check in the server that statement parameter count is less than
        65535 (maximum value supported by prepared statements protocol).
       
      
      
      libmysql/libmysql.c:
        Bug#5194 "Bulk Insert Failures with Prepared Statements":
        - clean up my_realloc_str()
        - ensure that net buffer has space when storing null bits and
          parameter typecodes.
      sql/net_serv.cc:
        - set net->last_errno if packet is too big, even on client
          (Why was it ifdefed before?)
      sql/sql_prepare.cc:
        Bug#5194 "Bulk Insert Failures with Prepared Statements":
        - if placeholder count is bigger than 65535, give error.
          We have only 2 bytes reserved for transferring placeholder count
          in 4.1 protocol.
        - can't add a proper error code and message in 4.1 because of
          possible merge difficulties."
      tests/client_test.c:
        A test case for Bug#5194 "Bulk Insert Failures with Prepared 
        Statements".
      b197e1f1
    • unknown's avatar
      Merge abelkin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 62a6b131
      unknown authored
      into sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
      
      62a6b131
    • unknown's avatar
      test case of bug#5220 · dcfca68f
      unknown authored
      dcfca68f
    • unknown's avatar
      Merge spetrunia@bk-internal.mysql.com:/home/bk/mysql-4.1 · 61665a3a
      unknown authored
      into mysql.com:/dbdata/psergey/mysql-4.1-bug-grp
      
      61665a3a
    • unknown's avatar
      Fix for bug#5400 "GROUP_CONCAT returns everything twice": · 9d7e5779
      unknown authored
      Don't evaluate the value of GROUP_CONCAT several times for the same 'group', reuse the value instead.
      
      
      mysql-test/r/group_by.result:
         Testcase for bug#5400
      mysql-test/t/group_by.test:
         Testcase for bug#5400
      9d7e5779
    • unknown's avatar
      mysql.cc: · 5d228a83
      unknown authored
        Print sqlstate value in batch mode, not just in interactive mode.
      
      
      client/mysql.cc:
        Print sqlstate value in batch mode, not just in interactive mode.
      5d228a83
    • unknown's avatar
      After merge fix. · aff55bf0
      unknown authored
      
      sql/mysqld.cc:
        mlockall() call hided behind !defined(EMBEDDED_LIBRARY).
      aff55bf0
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb · 42e2cfa6
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1-ndb
      
      42e2cfa6
    • unknown's avatar
      Restore transid when flushing · 8bdda624
      unknown authored
      8bdda624
    • unknown's avatar
      Merge mskold@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb · 5c823b57
      unknown authored
      into mysql.com:/usr/local/home/marty/MySQL/mysql-4.1-ndb
      
      5c823b57
    • unknown's avatar
      08d4b400
    • unknown's avatar
      wl1292 - mysql-test-run in autotest · 71abfcb9
      unknown authored
      Reset SIGCHLD before exec-ing
      
      
      ndb/src/cw/cpcd/Process.cpp:
        Reset SIGCHLD before exec-ing
      71abfcb9
    • unknown's avatar
      A fix and test case for bug#5399 "Wrong statement executed by MySQL · b816fa37
      unknown authored
       server" (use my_charset_bin for stmt id hash).
      
      
      sql/sql_class.cc:
        Fix for bug#5399 "Wrong statement executed by MySQL server": 
        we hash stmt ids bytewise, need to use binary collation for it.
      tests/client_test.c:
        Test case for bug#5399 "Wrong statement executed by MySQL server":
        create number of statements returning different results, execute them
        one by one.
      b816fa37
    • unknown's avatar
      Removed usage of "useFullyQualifiedNames" · 53d2640e
      unknown authored
      53d2640e
    • unknown's avatar
      bug#at - testNdbApi WaitUntilReady, MaxNdb · 6c66da02
      unknown authored
      fix delete of dictionary before connection has been established
      
      
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        fix delete of dictionary before connection has been established
      6c66da02
    • unknown's avatar
      BUG#ndb_blob on 1 node · eadb5ecb
      unknown authored
      Make sure to flush buffer when sending long sig so that order is maintained
      
      eadb5ecb
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/mysql-4.1 · cc1e4058
      unknown authored
      into rurik.mysql.com:/home/igor/dev/mysql-4.1-0
      
      cc1e4058
    • unknown's avatar
      func_group.test, func_group.result: · ed24f6d4
      unknown authored
        Added test case for bug #5406.
      opt_sum.cc:
        Fixed bug #5406.
      
      
      sql/opt_sum.cc:
        Fixed bug #5406.
      mysql-test/r/func_group.result:
        Added test case for bug #5406.
      mysql-test/t/func_group.test:
        Added test case for bug #5406.
      ed24f6d4
  3. 07 Sep, 2004 15 commits
    • unknown's avatar
      after merge · 5567d3fe
      unknown authored
      5567d3fe
    • unknown's avatar
      Bug#5429 · 711a9d00
      unknown authored
      Use const table * in NDB API
      
      
      ndb/include/ndbapi/Ndb.hpp:
        Removed useFullyQualifiedNames(bool)
        Changed so that auto increment methods takes const pointer
      ndb/include/ndbapi/NdbBlob.hpp:
        Changed to const table pointer
      ndb/include/ndbapi/NdbConnection.hpp:
        Changed to const table pointer
      ndb/include/ndbapi/NdbIndexOperation.hpp:
        Changed to const table pointer
      ndb/include/ndbapi/NdbOperation.hpp:
        Changed to const table pointer
      ndb/include/ndbapi/NdbScanOperation.hpp:
        Changed to const table pointer
      ndb/src/kernel/blocks/backup/restore/Restore.cpp:
        Corrected size & array size in case of blob usage
      ndb/src/kernel/blocks/backup/restore/consumer_restore.cpp:
        Removed use fully qualified name
        Handle blob tables
      ndb/src/kernel/blocks/backup/restore/consumer_restore.hpp:
        Introduced mapping between old/new table (wrt ids)
      ndb/src/kernel/blocks/backup/restore/main.cpp:
        removed extra Uint32
      ndb/src/ndbapi/Ndb.cpp:
        Changed to const table pointer
      ndb/src/ndbapi/NdbConnection.cpp:
        Changed to const table pointer
      ndb/src/ndbapi/NdbIndexOperation.cpp:
        Changed to const table pointer
      ndb/src/ndbapi/NdbOperation.cpp:
        Changed to const table pointer
      ndb/src/ndbapi/NdbScanOperation.cpp:
        Changed to const table pointer
      sql/ha_ndbcluster.cc:
        Changed to const table pointer
      711a9d00
    • unknown's avatar
      merged · 2b9a10da
      unknown authored
      
      mysql-test/r/rpl_set_charset.result:
        Auto merged
      mysql-test/r/select.result:
        Auto merged
      mysql-test/t/rpl_set_charset.test:
        Auto merged
      mysql-test/t/select.test:
        Auto merged
      sql/slave.cc:
        Auto merged
      2b9a10da
    • unknown's avatar
      Merge rurik.mysql.com:/home/igor/mysql-4.0 · 0b60b3fe
      unknown authored
      into rurik.mysql.com:/home/igor/dev/mysql-4.0-0
      
      0b60b3fe
    • unknown's avatar
      select.test: · c0717b74
      unknown authored
        Added newline at the end of file.
      
      
      mysql-test/t/select.test:
        Added newline at the end of file.
      c0717b74
    • unknown's avatar
      after merge fixes · b8ff1ebc
      unknown authored
      b8ff1ebc
    • unknown's avatar
      merged · e7594c81
      unknown authored
      
      BitKeeper/etc/ignore:
        auto-union
      client/mysqlcheck.c:
        Auto merged
      myisammrg/myrg_open.c:
        Auto merged
      scripts/mysqld_safe.sh:
        Auto merged
      sql/sql_analyse.cc:
        Auto merged
      e7594c81
    • unknown's avatar
      Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-4.0 · 79632793
      unknown authored
      into mysql.com:/home/mysql_src/mysql-4.0
      
      79632793
    • unknown's avatar
      when we update thd->db in replication, it's safer to update thd->db_length too. · 07e67cc7
      unknown authored
      This does not fix any known bug, but is still a good idea.
      
      
      sql/log_event.cc:
        when we update thd->db in replication, it's safer to update thd->db_length too.
      sql/slave.cc:
        when we update thd->db in replication, it's safer to update thd->db_length too.
      sql/sql_db.cc:
        comment
      07e67cc7
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.0 · 0f10aabd
      unknown authored
      into gw.mysql.r18.ru:/usr/home/ram/work/4.0.b2205
      
      0f10aabd
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb · 7721984d
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1-ndb
      
      7721984d
    • unknown's avatar
      fixed NdbConnection::restart and made use of it in ha_ndbcluster · 8eb0c4a4
      unknown authored
      added testcase
      
      8eb0c4a4
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.0 · 019565f2
      unknown authored
      into gw.mysql.r18.ru:/usr/home/ram/work/4.0.b2205
      
      019565f2
    • unknown's avatar
      clean up at end of test (thanks serg) · 80b0cc09
      unknown authored
      
      mysql-test/r/rpl_set_charset.result:
        result update
      mysql-test/t/rpl_set_charset.test:
        clean up on slave too.
      80b0cc09
    • unknown's avatar
      better fix for bug#5001 · 32a86d6b
      unknown authored
      32a86d6b