1. 13 Sep, 2004 4 commits
    • unknown's avatar
      WL1424 Multiple MySQL Servers: SHOW TABLES etc. should detect new and delete old tables. · 5a464356
      unknown authored
      
      include/my_base.h:
        Added new bit to table create options
        Removed old error code HA_ERR_OLD_METADAT and reused it for HA_ERR_NO_SUCH_TABLE.
      mysql-test/r/ndb_autodiscover.result:
        Updated test cases
      mysql-test/t/ndb_autodiscover.test:
        Updated test cases
      mysql-test/t/ndb_autodiscover2.test:
        Updated test cases
      sql/discover.cc:
        Moved function create_table_from_handler to handler.cc
      sql/ha_ndbcluster.cc:
        Improved discover functionality
        Added .ndb file
        Changed error code mappings for a table that does not exist in engine
        Check for ndb object in THD
        Updated ndbcluster_discover, ndbcluster_list_tables and ndbcluster_can_discover
      sql/ha_ndbcluster.h:
        Improved discover
      sql/handler.cc:
        Added new error message mapping.
        Moved function ha_create_table_from_engine to handler level
        Added new functions ha_can_discover, ha_list_tables and ha_table_exists
      sql/handler.h:
        Added new error message mapping.
        Moved function ha_create_table_from_engine to handler level
        Added new functions ha_can_discover, ha_list_tables and ha_table_exists
      sql/mysql_priv.h:
        Removed create_table_from_handler, moved to handler.h
      sql/sql_base.cc:
        Renamed function create_table_from_handler
      sql/sql_show.cc:
        Added new function mysql_discover_files and mysql_list_files. 
        Modified mysql_find_files to discover new and delete "old" files/tables.
      sql/sql_table.cc:
        Renamed create_table_from_handler
        Call ha_create_table_from_engine, in order to discover the the frm file before it can be dropped.
      sql/table.cc:
        Added mapping of the error code HA_ERR_NO_SUCH_TABLE
      5a464356
    • unknown's avatar
      Sleep for a little while in connect thread before trying to connect to MGM again · c7e7b7b7
      unknown authored
      
      ndb/src/ndbapi/ndb_cluster_connection.cpp:
        Sleep in connect to MGM thread
      c7e7b7b7
    • unknown's avatar
      Added DBUG_PRINT's · 9a103039
      unknown authored
      Made Ndb::connected private 
      
      
      ndb/include/ndbapi/Ndb.hpp:
        Made connected() private.
      ndb/src/ndbapi/NdbDictionaryImpl.cpp:
        Added DBUG_PRINT
      ndb/src/ndbapi/TransporterFacade.cpp:
        Added DBUG_PRINT
      9a103039
    • unknown's avatar
      Make it possible to run ndb tools in the mysql-test(s) · a2d5fb21
      unknown authored
      
      mysql-test/mysql-test-run.sh:
        Added environment variable NDB_TOOLS_DIR
      a2d5fb21
  2. 08 Sep, 2004 3 commits
  3. 07 Sep, 2004 6 commits
    • unknown's avatar
      Bug#5429 · c2e13da2
      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
      c2e13da2
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb · 18068991
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1-ndb
      
      
      18068991
    • unknown's avatar
      fixed NdbConnection::restart and made use of it in ha_ndbcluster · 7540feca
      unknown authored
      added testcase
      
      
      7540feca
    • unknown's avatar
      Fix scan with keyinfo · 6d26e972
      unknown authored
      
      ndb/src/kernel/blocks/dblqh/DblqhMain.cpp:
        Dont't use signal->theData for checking as it is overwritten when
        using keyinfo
      6d26e972
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb · b8f24215
      unknown authored
      into poseidon.(none):/home/tomas/mysql-4.1-ndb
      
      
      b8f24215
    • unknown's avatar
      fixed and added test case for bug#5431 · d3650df6
      unknown authored
      + fix for support of multiple mgmt servers
      
      
      mysql-test/r/ndb_alter_table.result:
        added test case for bug #5431
      mysql-test/t/ndb_alter_table.test:
        added test case for bug #5431
      ndb/src/common/mgmcommon/ConfigRetriever.cpp:
        fix to make multiple mgmt srvrs work
      sql/ha_ndbcluster.cc:
        fixed and added test case for bug#5431
      d3650df6
  4. 06 Sep, 2004 13 commits
  5. 05 Sep, 2004 1 commit
  6. 04 Sep, 2004 3 commits
    • unknown's avatar
      After merge fixes · 9a63c8e0
      unknown authored
      9a63c8e0
    • unknown's avatar
      Merge with 4.0 to get latest bug fixes · e85e5739
      unknown authored
      
      configure.in:
        Auto merged
      mysql-test/r/merge.result:
        Auto merged
      mysql-test/t/merge.test:
        Auto merged
      scripts/mysqld_safe.sh:
        Auto merged
      sql/mysqld.cc:
        Auto merged
      sql/share/czech/errmsg.txt:
        Auto merged
      sql/share/danish/errmsg.txt:
        Auto merged
      sql/sql_yacc.yy:
        Auto merged
      sql/share/dutch/errmsg.txt:
        Auto merged
      sql/share/english/errmsg.txt:
        Auto merged
      sql/share/estonian/errmsg.txt:
        Auto merged
      sql/share/french/errmsg.txt:
        Auto merged
      sql/share/greek/errmsg.txt:
        Auto merged
      sql/share/hungarian/errmsg.txt:
        Auto merged
      sql/share/italian/errmsg.txt:
        Auto merged
      sql/share/japanese/errmsg.txt:
        Auto merged
      sql/share/korean/errmsg.txt:
        Auto merged
      sql/share/norwegian-ny/errmsg.txt:
        Auto merged
      sql/share/norwegian/errmsg.txt:
        Auto merged
      sql/share/polish/errmsg.txt:
        Auto merged
      sql/share/romanian/errmsg.txt:
        Auto merged
      sql/share/slovak/errmsg.txt:
        Auto merged
      sql/share/spanish/errmsg.txt:
        Auto merged
      sql/share/swedish/errmsg.txt:
        Auto merged
      sql/share/ukrainian/errmsg.txt:
        Auto merged
      mysql-test/r/union.result:
        Merge with 4.0
      mysql-test/t/union.test:
        Merge with 4.0
      sql/ha_innodb.cc:
        Merge with 4.0
      sql/share/german/errmsg.txt:
        Merge with 4.0
      sql/share/portuguese/errmsg.txt:
        Merge with 4.0
      sql/share/russian/errmsg.txt:
        Merge with 4.0
      sql/sql_parse.cc:
        Merge with 4.0
      sql/sql_union.cc:
        Merge with 4.0 (Keep 4.1 code)
      e85e5739
    • unknown's avatar
      Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-4.1 · a6d00f2e
      unknown authored
      into gluh.mysql.r18.ru:/home/gluh/MySQL-BUGS/mysql-4.1
      
      
      a6d00f2e
  7. 03 Sep, 2004 10 commits
    • unknown's avatar
      Fixed initialization of trans id · 73b4f5ef
      unknown authored
      73b4f5ef
    • unknown's avatar
      merged · c0c7e8f5
      unknown authored
      c0c7e8f5
    • unknown's avatar
      BUG#5327 - mi_sort_index() of 2-level tree · f4565513
      unknown authored
      f4565513
    • unknown's avatar
      A fix for bug#4368 '"like" fails in PreparedStatement, crashes · 14c4d0d7
      unknown authored
      server': the bug occurs when arguments of LIKE function are in 
      differentcharacter sets. If these character sets are compatible, 
      we create an item-converter. In prepared mode, this item
      needs to be created in memory of current prepared statement.
      
      
      mysql-test/r/ps.result:
        Test for Bug#4368 added.
      mysql-test/t/ps.test:
        A test case for bug#4368 '"like" fails in PreparedStatement, 
        crashes server'.
      14c4d0d7
    • unknown's avatar
      define macro "DEFINE_ALL_CHARACTER_SETS" in the configure.in completely · 6a5f9b41
      unknown authored
      
      configure.in:
        define macro "DEFINE_ALL_CHARACTER_SETS" completely
      6a5f9b41
    • unknown's avatar
      sql_yacc.yy: · 0d34c635
      unknown authored
        Allow FROM or IN in SHOW KEYS, as in other SHOW statements.
      
      
      sql/sql_yacc.yy:
        Allow FROM or IN in SHOW KEYS, as in other SHOW statements.
      0d34c635
    • unknown's avatar
      Fix for bug #4373: \u behaves differently · 164c5145
      unknown authored
      164c5145
    • unknown's avatar
      add engine=MyISAM to all create table statements in · f7f85eb6
      unknown authored
      mysql_create_system_tables, just in case
      
      
      scripts/mysql_create_system_tables.sh:
        add engine=MyISAM to all create table statements, just in case
      f7f85eb6
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1-ndb · 9fd78ea3
      unknown authored
      into poseidon.(none):/home/tomas/mysql-4.1-ndb
      
      
      sql/ha_ndbcluster.cc:
        Auto merged
      9fd78ea3
    • unknown's avatar
      renamed ha_recovery_logging to ha_enable_transaction · e8c2e418
      unknown authored
      added tests to alter table for "large" alter tables and truncates in ndbcluster
      added debug printout in restart() in ndbcluster
      added flag THD::transaction.on to enable/disable transaction
      
      
      mysql-test/r/ndb_alter_table.result:
        added tests to alter table for "large" alter tables and truncates
      mysql-test/t/ndb_alter_table.test:
        added tests to alter table for "large" alter tables and truncates
      ndb/src/ndbapi/NdbConnection.cpp:
        added debug printout in restart()
      sql/ha_ndbcluster.cc:
        added support for large alter table and truncate
      sql/handler.cc:
        renamed ha_recovery_logging to ha_enable_transaction
      sql/handler.h:
        renamed ha_recovery_logging to ha_enable_transaction
      sql/sql_class.cc:
        added flag THD::transaction.on to enable/disable transaction
      sql/sql_class.h:
        added flag THD::transaction.on to enable/disable transaction
      sql/sql_delete.cc:
        added disable transaction for mysql_truncate
      sql/sql_table.cc:
        renamed ha_recovery_logging to ha_enable_transaction
      e8c2e418