1. 29 Nov, 2004 8 commits
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 905db498
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-clean
      
      
      905db498
    • unknown's avatar
      aligned backup errorcodes with rest of ndb error codes giving it range from 1300 · 3d3ad211
      unknown authored
          added new error type "configuration or application error"
          Added check if backup is issued during diskless mode, backup refuse returned
          added possibility to get error code as a result from management client
          addded possibility to set connecstring with CONNECT command
          changed to use strcasecmp instead of strcmp
          added possibility to run one command on cammand client to ndb_mgm and get an errorcode of command fails
          made thread safe veriosn of getErrorText in management server
          aligned backup errorcodes with rest of ndb error codes giving it range from 1300
          print error message from regular ndberror struct
          added new arrer type "cofiguration or application error"
          commented on allocaded ranges for errors
      
      
      ndb/include/kernel/signaldata/BackupImpl.hpp:
        aligned backup errorcodes with rest of ndb error codes giving it range from 1300
      ndb/include/kernel/signaldata/BackupSignalData.hpp:
        aligned backup errorcodes with rest of ndb error codes giving it range from 1300
      ndb/include/ndbapi/ndberror.h:
        added new error type "configuration or application error"
      ndb/src/kernel/blocks/backup/Backup.cpp:
        Added check if backup is issued during diskless mode, backup refuse returned
      ndb/src/kernel/blocks/backup/Backup.hpp:
        member variable in backup block to indicate diskless or not
      ndb/src/kernel/blocks/backup/BackupInit.cpp:
        Added check if backup is issued during diskless mode, backup refuse returned
      ndb/src/mgmclient/CommandInterpreter.cpp:
        added possibility to get error code as a result from management client
        addded possibility to set connecstring with CONNECT command
        changed to use strcasecmp instead of strcmp
      ndb/src/mgmclient/main.cpp:
        added possibility to run one command on cammand client to ndb_mgm and get an errorcode of command fails
      ndb/src/mgmclient/ndb_mgmclient.hpp:
        added possibility to get error code as a result from management client
      ndb/src/mgmsrv/CommandInterpreter.cpp:
        made thread safe veriosn of getErrorText in management server
      ndb/src/mgmsrv/CommandInterpreter.hpp:
        made thread safe veriosn of getErrorText in management server
      ndb/src/mgmsrv/MgmtSrvr.cpp:
        aligned backup errorcodes with rest of ndb error codes giving it range from 1300
        print error message from regular ndberror struct
      ndb/src/mgmsrv/MgmtSrvr.hpp:
        made thread safe veriosn of getErrorText in management server
      ndb/src/mgmsrv/Services.cpp:
        made thread safe veriosn of getErrorText in management server
      ndb/src/mgmsrv/Services.hpp:
        made thread safe veriosn of getErrorText in management server
      ndb/src/ndbapi/ndberror.c:
        added new arrer type "cofiguration or application error"
        commented on allocaded ranges for errors
        aligned backup errors with rest of errors
      3d3ad211
    • unknown's avatar
      Merge mysql.com:/space/bkroot/mysql-4.1 · bd6634ad
      unknown authored
      into mysql.com:/space/bk/b6148-mysql-4.1
      
      
      mysql-test/r/rpl_start_stop_slave.result:
        Auto merged
      bd6634ad
    • unknown's avatar
      rpl_start_stop_slave.result: · f03c61cd
      unknown authored
        Syntax change between 4.0 and 4.1.
      
      
      mysql-test/r/rpl_start_stop_slave.result:
        Syntax change.
      f03c61cd
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1 · ecfe759e
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      
      ecfe759e
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1-fix · 40a473d3
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      
      ndb/include/ndbapi/NdbScanOperation.hpp:
        Auto merged
      ndb/src/ndbapi/NdbScanOperation.cpp:
        Auto merged
      40a473d3
    • unknown's avatar
      ndb_grant.later: · ada600e8
      unknown authored
        Rename: mysql-test/t/ndb_grant.test -> mysql-test/t/ndb_grant.later
      
      
      mysql-test/t/ndb_grant.later:
        Rename: mysql-test/t/ndb_grant.test -> mysql-test/t/ndb_grant.later
      ada600e8
    • unknown's avatar
      ndb - scan bug fix + more test cases · d212891f
      unknown authored
      
      ndb/include/ndbapi/NdbScanOperation.hpp:
        Improved doc. a bit
      ndb/src/ndbapi/NdbConnectionScan.cpp:
        Set error code
      ndb/src/ndbapi/NdbScanOperation.cpp:
        Check error directly after taking mutex
      ndb/test/ndbapi/testScan.cpp:
        new scan test with lots of threads
      ndb/test/run-test/daily-basic-tests.txt:
        Added two more scan tests
        Collapsed testTransactions & testOperations
      d212891f
  2. 28 Nov, 2004 6 commits
  3. 26 Nov, 2004 7 commits
    • unknown's avatar
      added error code message for 897 · b0d586e5
      unknown authored
      b0d586e5
    • unknown's avatar
      srv0srv.c: · 59abcd44
      unknown authored
        srv_lock_timeout_and_monitor_thread(): write to srv_monitor_file
        only if --innodb_status_file=1
      
      
      innobase/srv/srv0srv.c:
        srv_lock_timeout_and_monitor_thread(): write to srv_monitor_file
        only if --innodb_status_file=1
      59abcd44
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1-fix · b0ca1533
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      
      ndb/test/ndbapi/testScanPerf.cpp:
        Auto merged
      b0ca1533
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · b18b1be9
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-clean
      
      
      b18b1be9
    • unknown's avatar
      cleaned up code a bit · 33d654d7
      unknown authored
          added command CONNECT in management client
          added some verbose printouts
          removed prompt printout on !isatty(0)
      
      
      ndb/src/mgmapi/mgmapi.cpp:
        improved verbose printouts on connecting to management server
      ndb/src/mgmclient/CommandInterpreter.cpp:
        cleaned up code a bit
        added command CONNECT in management client
        added some verbose printouts
      ndb/src/mgmclient/main.cpp:
        removed prompt printout on !isatty(0)
      ndb/src/mgmclient/ndb_mgmclient.hpp:
        added verbose opotion
      33d654d7
    • unknown's avatar
      ndb - bugfix testScanPerf · 8d117174
      unknown authored
      
      ndb/test/ndbapi/testScanPerf.cpp:
        1) Fix so that values are read even when using -q
        2) Divide by correct number
      8d117174
    • unknown's avatar
      Fixes while reviewing code · 60af9206
      unknown authored
      (Cleanups and better bug fixes)
      
      
      mysql-test/r/select.result:
        Fixed test after wrong merge
      mysql-test/t/select.test:
        Fixed test after wrong merge
      scripts/mysql_fix_privilege_tables.sh:
        Don't read defaults files
      sql/item_cmpfunc.cc:
        Fix wrong value for not_null_tables_cache
      sql/item_cmpfunc.h:
        Remove wrong patch (flags are set in fix_length_and_dec())
      sql/item_func.h:
        Fix wrong value for not_null_tables_cache
      sql/slave.cc:
        Fixed indentation
      60af9206
  4. 25 Nov, 2004 19 commits
    • unknown's avatar
      ha_innodb.cc: · 5557ae74
      unknown authored
        Add conversion of the InnoDB error DB_LOCK_TABLE_FULL to the corresponding MySQL error
      
      
      sql/ha_innodb.cc:
        Add conversion of the InnoDB error DB_LOCK_TABLE_FULL to the corresponding MySQL error
      5557ae74
    • unknown's avatar
      Many files: · a560f0fa
      unknown authored
        Fix bug #6817 and bug #6827 : do not crash the server if the buffer pool becomes filled by the locks of ONE huge transaction, return error 1206 instead; do not crash the server, but return error if we cannot allocate memory for the buffer pool at a mysqld startup
      
      
      innobase/buf/buf0buf.c:
        Fix bug #6817 and bug #6827 : do not crash the server if the buffer pool becomes filled by the locks of ONE huge transaction, return error 1206 instead; do not crash the server, but return error if we cannot allocate memory for the buffer pool at a mysqld startup
      innobase/buf/buf0lru.c:
        Fix bug #6817 and bug #6827 : do not crash the server if the buffer pool becomes filled by the locks of ONE huge transaction, return error 1206 instead; do not crash the server, but return error if we cannot allocate memory for the buffer pool at a mysqld startup
      innobase/include/buf0lru.h:
        Fix bug #6817 and bug #6827 : do not crash the server if the buffer pool becomes filled by the locks of ONE huge transaction, return error 1206 instead; do not crash the server, but return error if we cannot allocate memory for the buffer pool at a mysqld startup
      innobase/include/db0err.h:
        Fix bug #6817 and bug #6827 : do not crash the server if the buffer pool becomes filled by the locks of ONE huge transaction, return error 1206 instead; do not crash the server, but return error if we cannot allocate memory for the buffer pool at a mysqld startup
      innobase/include/row0sel.h:
        Fix bug #6817 and bug #6827 : do not crash the server if the buffer pool becomes filled by the locks of ONE huge transaction, return error 1206 instead; do not crash the server, but return error if we cannot allocate memory for the buffer pool at a mysqld startup
      innobase/include/ut0mem.h:
        Fix bug #6817 and bug #6827 : do not crash the server if the buffer pool becomes filled by the locks of ONE huge transaction, return error 1206 instead; do not crash the server, but return error if we cannot allocate memory for the buffer pool at a mysqld startup
      innobase/mem/mem0pool.c:
        Fix bug #6817 and bug #6827 : do not crash the server if the buffer pool becomes filled by the locks of ONE huge transaction, return error 1206 instead; do not crash the server, but return error if we cannot allocate memory for the buffer pool at a mysqld startup
      innobase/row/row0mysql.c:
        Fix bug #6817 and bug #6827 : do not crash the server if the buffer pool becomes filled by the locks of ONE huge transaction, return error 1206 instead; do not crash the server, but return error if we cannot allocate memory for the buffer pool at a mysqld startup
      innobase/row/row0sel.c:
        Fix bug #6817 and bug #6827 : do not crash the server if the buffer pool becomes filled by the locks of ONE huge transaction, return error 1206 instead; do not crash the server, but return error if we cannot allocate memory for the buffer pool at a mysqld startup
      innobase/srv/srv0start.c:
        Fix bug #6817 and bug #6827 : do not crash the server if the buffer pool becomes filled by the locks of ONE huge transaction, return error 1206 instead; do not crash the server, but return error if we cannot allocate memory for the buffer pool at a mysqld startup
      innobase/ut/ut0mem.c:
        Fix bug #6817 and bug #6827 : do not crash the server if the buffer pool becomes filled by the locks of ONE huge transaction, return error 1206 instead; do not crash the server, but return error if we cannot allocate memory for the buffer pool at a mysqld startup
      a560f0fa
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · bf39ae6a
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-clean
      
      
      bf39ae6a
    • unknown's avatar
      moved default setting to config.ini to MgmtSrvr · 00534590
      unknown authored
      only try to connect to other ndb_mgmd if connect_string explicitly given or config_file not given
      
      
      ndb/src/mgmsrv/main.cpp:
        moved default setting to config.ini to MgmtSrvr
      00534590
    • unknown's avatar
      Merge mkindahl@bk-internal.mysql.com:/home/bk/mysql-4.1 · 32f93da0
      unknown authored
      into mysql.com:/space/bkroot/mysql-4.1
      
      
      32f93da0
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 20767681
      unknown authored
      into gw.mysql.r18.ru:/usr/home/ram/work/4.1.b6441
      
      
      20767681
    • unknown's avatar
      table.cc: · 26339663
      unknown authored
        Bug #6802 MySQL 4.0's VARCHAR(NN) BINARY is interpreted as VARBINARY(NN) in 4.1
      
      
      sql/table.cc:
        Bug #6802 MySQL 4.0's VARCHAR(NN) BINARY is interpreted as VARBINARY(NN) in 4.1
      26339663
    • unknown's avatar
      Merge bk-internal.mysql.com:/home/bk/mysql-4.1/ · 9fc190e6
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-4.1
      
      
      9fc190e6
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 02625924
      unknown authored
      into gw.mysql.r18.ru:/usr/home/ram/work/4.1.b6441
      
      
      sql/item_func.cc:
        Auto merged
      sql/item_sum.h:
        Auto merged
      02625924
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 897b7cbd
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-clean
      
      
      897b7cbd
    • unknown's avatar
      ndb/src/common/logger/LogHandler.cpp · 45f941cb
      unknown authored
          changed so that error is returned if format is wrong in logger param parsing
      ndb/src/common/logger/Logger.cpp
          some debuf printout added
      ndb/src/mgmsrv/InitConfigFileParser.cpp
          rewrote parsing on parseNameValuePair, was buggy
      
      
      ndb/src/common/logger/LogHandler.cpp:
        changed so that error is returned if format is wrong in logger param parsing
      ndb/src/common/logger/Logger.cpp:
        some debuf printout added
      ndb/src/mgmsrv/InitConfigFileParser.cpp:
        rewrote parsing on parseNameValuePair, was buggy
      45f941cb
    • unknown's avatar
      Merge mysql.com:/home/timka/mysql/src/4.0-virgin · fecd27a1
      unknown authored
      into mysql.com:/home/timka/mysql/src/4.0-master
      
      
      BitKeeper/etc/logging_ok:
        auto-union
      fecd27a1
    • unknown's avatar
      Merge · c4dbf1e9
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      sql/slave.cc:
        Auto merged
      sql/slave.h:
        Auto merged
      sql/sql_repl.cc:
        Auto merged
      sql/repl_failsafe.cc:
        Merging 4.0 and 4.1 changes.
      c4dbf1e9
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1 · 32c3009d
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      
      32c3009d
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1-fix · 0e6d4fd0
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Auto merged
      0e6d4fd0
    • unknown's avatar
      bug#6775 - ndb - fix bug introduced by bug fix · 5aaffe9b
      unknown authored
      
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Scan number allocation must be on table even in case of range scan
        Otherwise scan takeover won't work as LQHKEYREQ contains table
      5aaffe9b
    • unknown's avatar
      Merge for BUG#3759 which was missing from the main tree for some reason. · 0dcb55f4
      unknown authored
      
      BitKeeper/etc/logging_ok:
        auto-union
      sql/item_cmpfunc.h:
        Auto merged
      mysql-test/r/select.result:
        Merge for BUG#3759
      mysql-test/t/select.test:
        Merge for BUG#3759
      0dcb55f4
    • unknown's avatar
      Merge mysql.com:/space/bkroot/mysql-4.0 · 467c4814
      unknown authored
      into mysql.com:/space/bk/b6148-mysql-4.0
      
      
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      467c4814
    • unknown's avatar
      Fix for Bug#6148. Only rewind read position in binary log when the · 6f2cf12a
      unknown authored
      slave SQL thread is started.
      
      
      sql/slave.cc:
        Adding threads to init as parameter to init_master_info.
        Only rewind read position when starting SQL thread.
      sql/slave.h:
        Adding threads to init as parameter to init_master_info.
        Only rewind read position when starting SQL thread.
      sql/sql_repl.cc:
        Adding threads to init as parameter to init_master_info.
        Only rewind read position when starting SQL thread.
      sql/repl_failsafe.cc:
        Adding threads to init as parameter to init_master_info.
        Only rewind read position when starting SQL thread.
      6f2cf12a