1. 30 Nov, 2004 30 commits
    • unknown's avatar
      Merge for Matt for Innodb bug. · 9ada34b3
      unknown authored
      
      client/mysqldump.c:
        Auto merged
      innobase/include/row0mysql.h:
        Auto merged
      innobase/lock/lock0lock.c:
        Auto merged
      innobase/row/row0mysql.c:
        Auto merged
      innobase/row/row0sel.c:
        Auto merged
      mysql-test/r/mysqldump.result:
        Auto merged
      mysql-test/r/ndb_index_unique.result:
        Auto merged
      mysql-test/r/rpl_start_stop_slave.result:
        Auto merged
      mysql-test/t/mysqldump.test:
        Auto merged
      mysql-test/t/ndb_grant.later:
        Auto merged
      mysql-test/t/ndb_index_unique.test:
        Auto merged
      ndb/include/ndbapi/NdbScanOperation.hpp:
        Auto merged
      ndb/src/ndbapi/NdbScanOperation.cpp:
        Auto merged
      ndb/test/ndbapi/testScanPerf.cpp:
        Auto merged
      netware/comp_err.def:
        Auto merged
      netware/isamchk.def:
        Auto merged
      netware/isamlog.def:
        Auto merged
      netware/libmysql.def:
        Auto merged
      netware/my_print_defaults.def:
        Auto merged
      netware/myisam_ftdump.def:
        Auto merged
      netware/myisamchk.def:
        Auto merged
      netware/myisamlog.def:
        Auto merged
      netware/myisampack.def:
        Auto merged
      netware/mysql.def:
        Auto merged
      netware/mysql_install.def:
        Auto merged
      netware/mysql_install_db.def:
        Auto merged
      netware/mysql_test_run.def:
        Auto merged
      netware/mysql_waitpid.def:
        Auto merged
      netware/mysqladmin.def:
        Auto merged
      netware/mysqlbinlog.def:
        Auto merged
      netware/mysqlcheck.def:
        Auto merged
      netware/mysqld.def:
        Auto merged
      netware/mysqld_safe.def:
        Auto merged
      netware/mysqldump.def:
        Auto merged
      netware/mysqlimport.def:
        Auto merged
      netware/mysqlshow.def:
        Auto merged
      netware/mysqltest.def:
        Auto merged
      netware/pack_isam.def:
        Auto merged
      netware/perror.def:
        Auto merged
      netware/replace.def:
        Auto merged
      netware/resolve_stack_dump.def:
        Auto merged
      netware/resolveip.def:
        Auto merged
      sql/ha_innodb.cc:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      client/mysqladmin.cc:
        Merge for Netware changes. Indention fixes.
      sql/field.cc:
        Merge fixes, warnings added from 4.1 to 5.0
      sql/mysqld.cc:
        Merge fixes, just indention fixes.
      9ada34b3
    • unknown's avatar
      fixed error in test result · be733ad1
      unknown authored
          added extra calls to retrieve connectstring used
          reengineered connect somewhat to make retries etc explicit
      
      
      mysql-test/r/ndb_index_unique.result:
        fixed error in test result
      ndb/include/mgmapi/mgmapi.h:
        added extra calls to retrieve connectstring used
      ndb/include/mgmcommon/ConfigRetriever.hpp:
        added extra calls to retrieve connectstring used
      ndb/include/ndbapi/ndb_cluster_connection.hpp:
        added extra calls to retrieve connectstring used
        reengineered connect somewhat to make retries etc explicit
      ndb/src/common/mgmcommon/ConfigRetriever.cpp:
        added extra calls to retrieve connectstring used
      ndb/src/mgmapi/mgmapi.cpp:
        added extra calls to retrieve connectstring used
      ndb/src/mgmclient/CommandInterpreter.cpp:
        moved parse of quit to avoid connect before
      ndb/src/ndbapi/Ndbinit.cpp:
        reengineered connect somewhat to make retries etc explicit
      ndb/src/ndbapi/ndb_cluster_connection.cpp:
        added extra calls to retrieve connectstring used
        reengineered connect somewhat to make retries etc explicit
      ndb/tools/listTables.cpp:
        reengineered connect somewhat to make retries etc explicit
      sql/ha_ndbcluster.cc:
        added extra calls to retrieve connectstring used
        reengineered connect somewhat to make retries etc explicit
      be733ad1
    • unknown's avatar
      Merge marko@bk-internal.mysql.com:/home/bk/mysql-4.1 · 99e69f26
      unknown authored
      into hundin.mysql.fi:/home/marko/k/mysql-4.1
      
      
      innobase/lock/lock0lock.c:
        Auto merged
      99e69f26
    • unknown's avatar
      lock0lock.c: · 93d5f62e
      unknown authored
        If UNIV_DEBUG is defined, lock_get_type() was called before function definition: fix this
      
      
      innobase/lock/lock0lock.c:
        If UNIV_DEBUG is defined, lock_get_type() was called before function definition: fix this
      93d5f62e
    • unknown's avatar
      Merge marko@bk-internal.mysql.com:/home/bk/mysql-4.1 · 892cec85
      unknown authored
      into hundin.mysql.fi:/home/marko/k/mysql-4.1
      
      
      892cec85
    • unknown's avatar
      row0sel.c: · 668d61b9
      unknown authored
        Remove compiler warning as I had forgotten an include file
      
      
      innobase/row/row0sel.c:
        Remove compiler warning as I had forgotten an include file
      668d61b9
    • unknown's avatar
      Merge marko@bk-internal.mysql.com:/home/bk/mysql-4.1 · 795045d9
      unknown authored
      into hundin.mysql.fi:/home/marko/k/mysql-4.1
      
      
      795045d9
    • unknown's avatar
      fc157af3
    • unknown's avatar
      InnoDB: Allow ALTER TABLE to do intermediate COMMIT also when the table · d6180d37
      unknown authored
      contains auto_increment columns.  (Bug #6633)
      
      
      innobase/include/lock0lock.h:
        Replaced lock_get_table()
        with lock_get_src_table() and lock_is_table_exclusive()
      innobase/lock/lock0lock.c:
        Replaced lock_get_table()
        with lock_get_src_table() and lock_is_table_exclusive()
      sql/ha_innodb.cc:
        ha_innobase::write_row(): Improve the ALTER TABLE optimization
        (do intermediate COMMIT also if table contains auto_increment columns)
      d6180d37
    • unknown's avatar
      ps_7ndb.result, ps_7ndb.test: · ea661485
      unknown authored
        ndb now runs ps tests just like the others
      
      
      mysql-test/t/ps_7ndb.test:
        ndb now runs ps tests just like the others
      mysql-test/r/ps_7ndb.result:
        ndb now runs ps tests just like the others
      ea661485
    • unknown's avatar
      mysqld.cc: · cb6007ce
      unknown authored
        fixed erroneous previous push
      
      
      sql/mysqld.cc:
        fixed erroneous previous push
      cb6007ce
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 16a130a2
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-clean
      
      
      16a130a2
    • unknown's avatar
      added check connection mgmapi method · 07ed8294
      unknown authored
      added ndb_mgm_check_connection when error is printed
      
      
      ndb/include/mgmapi/mgmapi.h:
        added check connection mgmapi method
      ndb/src/mgmapi/mgmapi.cpp:
        added check connection mgmapi method
      ndb/src/mgmclient/CommandInterpreter.cpp:
        added mgm_check_check_connection when error is printed
      ndb/src/mgmsrv/Services.cpp:
        added check connection mgmapi method
      ndb/src/mgmsrv/Services.hpp:
        added check connection mgmapi method
      07ed8294
    • unknown's avatar
      Portability fix. Why not to use UINT_MAX32 here? · 32fa7e0f
      unknown authored
      32fa7e0f
    • unknown's avatar
      Merge baker@bk-internal.mysql.com:/home/bk/mysql-5.0 · 409debfa
      unknown authored
      into avenger.(none):/export/brian/mysql/archive-delayed
      
      
      409debfa
    • unknown's avatar
      Changes to support optimized bulk inserts. This will solve the problem of... · 9f726d99
      unknown authored
      Changes to support optimized bulk inserts. This will solve the problem of selects occurring during a bulk insert, and causing the compression factor to drop. 
      
      
      mysql-test/r/archive.result:
        Updated result set for changes amde to support delayed insert and bulk insert optimizations.
      mysql-test/t/archive.test:
        Test cases to test bulk insert statements and delayed insert syntax.
      sql/examples/ha_archive.cc:
        Added methods needed for bulk operations to be optimized. Bulk inserts now do not trigger the file as dirty until they are complete. A normal insert though can still cause them to be synced though since it is not effected by the flag. Removed share variable to determine if row count is right or not (it should not be treated as an upper end estimate).
      sql/examples/ha_archive.h:
        Removed share variable for delayed flag since it is no longer needed. 
        Added flag in table instance to know if a bulk insert is happening.
        
        Added method declarations for bulk insert optimizations.
      9f726d99
    • unknown's avatar
      mysqld.cc: · 3eada05d
      unknown authored
        fixed typo
      
      
      sql/mysqld.cc:
        fixed typo
      3eada05d
    • unknown's avatar
      fixed bug/compiler warning · 45968d1f
      unknown authored
          rewrote safer
          added return value to shutdown
          nicer printouts
          removed exit at shutdown
      
      
      ndb/src/common/logger/Logger.cpp:
        fixed bug/compiler warning
      ndb/src/mgmapi/LocalConfig.cpp:
        removed compiler warning
        rewrote safer
      ndb/src/mgmclient/CommandInterpreter.cpp:
        added return value to shutdown
        nicer printouts
        removed exit at shutdown
      ndb/src/ndbapi/ndb_cluster_connection.cpp:
        fixed compiler warning
      45968d1f
    • unknown's avatar
      add warnings for INNODB,BDB,ISAM being unavailable if switch to use is... · 73687551
      unknown authored
      add warnings for INNODB,BDB,ISAM being unavailable if switch to use is supplied, i.e. --bdb,--isam,--innodb
      
      
      
      73687551
    • unknown's avatar
    • unknown's avatar
      Merge tulin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 8da148ab
      unknown authored
      into poseidon.ndb.mysql.com:/home/tomas/mysql-4.1-clean
      
      
      sql/mysqld.cc:
        Auto merged
      8da148ab
    • unknown's avatar
      added use of mysql_cluster in mysqld (e.g. for ndb-connectstring) · 828cefb3
      unknown authored
      added warning printout if --ndbcluster switch is given in a "non-cluster" binary
      
      
      828cefb3
    • unknown's avatar
      Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1 · 0dacdfcc
      unknown authored
      into gw.mysql.r18.ru:/usr/home/ram/work/4.1.b6101
      
      
      client/mysqldump.c:
        Auto merged
      0dacdfcc
    • unknown's avatar
      ndb - Fixed INCORRECT result file for unique index test · 857bd559
      unknown authored
      
      mysql-test/r/ndb_index_unique.result:
        Fixed INCORRECT result file for unique index test! SHAME!
      857bd559
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-5.0 · 88b177a5
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0
      
      
      88b177a5
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1-fix · 07a65fce
      unknown authored
      into mysql.com:/home/jonas/src/mysql-5.0
      
      
      mysql-test/r/ndb_index_unique.result:
        Auto merged
      mysql-test/t/ndb_index_unique.test:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      07a65fce
    • unknown's avatar
      Merge joreland@bk-internal.mysql.com:/home/bk/mysql-4.1 · bfab8644
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      
      bfab8644
    • unknown's avatar
      Merge mysql.com:/home/jonas/src/mysql-4.1-fix · 49c8409c
      unknown authored
      into mysql.com:/home/jonas/src/mysql-4.1
      
      
      mysql-test/r/ndb_index_unique.result:
        Auto merged
      mysql-test/t/ndb_index_unique.test:
        Auto merged
      sql/ha_ndbcluster.cc:
        Auto merged
      49c8409c
    • unknown's avatar
      ndb - fixed long overdue problems with unique indexes and null values · 94a5379f
      unknown authored
      
      mysql-test/r/ndb_index_unique.result:
        Test of unique index and null
      mysql-test/t/ndb_index_unique.test:
        Test of unique index and null
      sql/ha_ndbcluster.cc:
        Fixed long overdue problems with unique indexes and null values
      94a5379f
    • unknown's avatar
      Merge · 30c54408
      unknown authored
      30c54408
  2. 29 Nov, 2004 10 commits
    • unknown's avatar
      Merge bk-internal:/home/bk/mysql-5.0 · f52e64cc
      unknown authored
      into serg.mylan:/usr/home/serg/Abk/mysql-5.0
      
      
      f52e64cc
    • unknown's avatar
      compatibility fixes · 26fe3289
      unknown authored
      
      mysql-test/r/strict.result:
        fixed
      mysql-test/r/view.result:
        rolled back
      mysql-test/t/information_schema.test:
        fix for 2GB file size limit
      mysql-test/t/ps_1general.test:
        fix for 2GB file size limit
      mysql-test/t/view.test:
        fix for 2GB file size limit
      sql/field.cc:
        double->int conversion troubles
        cleanup
      sql/item_cmpfunc.h:
        warning fixed
      sql/sql_select.cc:
        division by zero fixed
      26fe3289
    • unknown's avatar
      monty.doc: · 59c396e3
      unknown authored
        Grammar fix.
      user.r:
        A few typo fixes.
      
      
      dbug/user.r:
        A few typo fixes.
      dbug/monty.doc:
        Grammar fix.
      59c396e3
    • unknown's avatar
      ndb_grant.later: · 9c678beb
      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
      9c678beb
    • unknown's avatar
      Applied some patches for Netware. · 16ae922e
      unknown authored
      
      client/mysqladmin.cc:
        Added option to close the screen on exit for Netware.
      netware/comp_err.def:
        Copyright notice change, for Netware.
      netware/isamchk.def:
        Copyright notice change, for Netware.
      netware/isamlog.def:
        Copyright notice change, for Netware.
      netware/libmysql.def:
        Copyright notice change, for Netware.
      netware/my_print_defaults.def:
        Copyright notice change, for Netware.
      netware/myisam_ftdump.def:
        Copyright notice change, for Netware.
      netware/myisamchk.def:
        Copyright notice change, for Netware.
      netware/myisamlog.def:
        Copyright notice change, for Netware.
      netware/myisampack.def:
        Copyright notice change, for Netware.
      netware/mysql.def:
        Copyright notice change, for Netware.
      netware/mysql_install.def:
        Copyright notice change, for Netware.
      netware/mysql_install_db.def:
        Copyright notice change, for Netware.
      netware/mysql_test_run.def:
        Copyright notice change, for Netware.
      netware/mysql_waitpid.def:
        Copyright notice change, for Netware.
      netware/mysqladmin.def:
        Copyright notice change, for Netware.
      netware/mysqlbinlog.def:
        Copyright notice change, for Netware.
      netware/mysqlcheck.def:
        Copyright notice change, for Netware.
      netware/mysqld.def:
        Copyright notice change, for Netware.
      netware/mysqld_safe.def:
        Copyright notice change, for Netware.
      netware/mysqldump.def:
        Copyright notice change, for Netware.
      netware/mysqlimport.def:
        Copyright notice change, for Netware.
      netware/mysqlshow.def:
        Copyright notice change, for Netware.
      netware/mysqltest.def:
        Copyright notice change, for Netware.
      netware/pack_isam.def:
        Copyright notice change, for Netware.
      netware/perror.def:
        Copyright notice change, for Netware.
      netware/replace.def:
        Copyright notice change, for Netware.
      netware/resolve_stack_dump.def:
        Copyright notice change, for Netware.
      netware/resolveip.def:
        Copyright notice change, for Netware.
      sql/mysqld.cc:
        Changes to fix the abend on NetWare on recieving the server down and volume deactivation
        events. Do not join for the main thread if these events occur.
      16ae922e
    • unknown's avatar
      Applied some Netware related patches. · 41ade141
      unknown authored
      
      client/mysqladmin.cc:
        Added option to mysqladmin for Netware.
      netware/comp_err.def:
        Copyright notice update, for Netware.
      netware/isamchk.def:
        Copyright notice update, for Netware.
      netware/isamlog.def:
        Copyright notice update, for Netware.
      netware/libmysql.def:
        Copyright notice update, for Netware.
      netware/my_print_defaults.def:
        Copyright notice update, for Netware.
      netware/myisam_ftdump.def:
        Copyright notice update, for Netware.
      netware/myisamchk.def:
        Copyright notice update, for Netware.
      netware/myisamlog.def:
        Copyright notice update, for Netware.
      netware/myisampack.def:
        Copyright notice update, for Netware.
      netware/mysql.def:
        Copyright notice update, for Netware.
      netware/mysql_install.def:
        Copyright notice update, for Netware.
      netware/mysql_install_db.def:
        Copyright notice update, for Netware.
      netware/mysql_test_run.def:
        Copyright notice update, for Netware.
      netware/mysql_waitpid.def:
        Copyright notice update, for Netware.
      netware/mysqladmin.def:
        Copyright notice update, for Netware.
      netware/mysqlbinlog.def:
        Copyright notice update, for Netware.
      netware/mysqlcheck.def:
        Copyright notice update, for Netware.
      netware/mysqld.def:
        Copyright notice update, for Netware.
      netware/mysqld_safe.def:
        Copyright notice update, for Netware.
      netware/mysqldump.def:
        Copyright notice update, for Netware.
      netware/mysqlimport.def:
        Copyright notice update, for Netware.
      netware/mysqlshow.def:
        Copyright notice update, for Netware.
      netware/mysqltest.def:
        Copyright notice update, for Netware.
      netware/pack_isam.def:
        Copyright notice update, for Netware.
      netware/perror.def:
        Copyright notice update, for Netware.
      netware/replace.def:
        Copyright notice update, for Netware.
      netware/resolve_stack_dump.def:
        Copyright notice update, for Netware.
      netware/resolveip.def:
        Copyright notice update, for Netware.
      sql/mysqld.cc:
        Changes to fix the abend on NetWare on recieving the server down and volume deactivation 
        events. Do not join for the main thread if these events occur
      41ade141
    • unknown's avatar
      NdbScanOperation.cpp: · a94df6ee
      unknown authored
        added missing return
      
      
      ndb/src/ndbapi/NdbScanOperation.cpp:
        added missing return
      a94df6ee
    • 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
      Adding support for archive to handle delayed inserts. · dc80fc2d
      unknown authored
      
      sql/examples/ha_archive.cc:
        Added support for delayed inserts. What delayed inserts mean for archive is that a sync call is not forced with the next select. Instant performance gain, plus if you aren't concerned about having a consistant read you won't be forced to have less then optimized compression.
      sql/examples/ha_archive.h:
        Added flags for dalyed inserts and added table flag so that the server knows that archive can support them.
      dc80fc2d