An error occurred fetching the project authors.
  1. 09 Sep, 2005 1 commit
    • unknown's avatar
      ndb · b1fab24c
      unknown authored
        new testprogram testSRBank
      
      
      BitKeeper/etc/ignore:
        Added ndb/test/ndbapi/testSRBank to the ignore list
      ndb/test/include/NDBT_Test.hpp:
        incProperty
      ndb/test/ndbapi/Makefile.am:
        new test program
      ndb/test/ndbapi/bank/Bank.cpp:
        remove endless wait until ready loop
        fix lots of retry loops to better handle error
      ndb/test/ndbapi/bank/Bank.hpp:
        remove endless wait until ready loop
        fix lots of retry loops to better handle error
      ndb/test/src/NDBT_Test.cpp:
        incProperty
      ndb/test/src/UtilTransactions.cpp:
        close transaction if failed
      ndb/test/ndbapi/testSRBank.cpp:
        New BitKeeper file ``ndb/test/ndbapi/testSRBank.cpp''
      b1fab24c
  2. 19 Aug, 2005 1 commit
    • unknown's avatar
      updated patch for BUG#4680 (incomplete DROP DATABASE breaking replication). · 4652c6b0
      unknown authored
      We binlog the DROP TABLE for each table that was actually dropped. Per Sergei's 
      suggestion a fixed buffer for the DROP TABLE query is pre-allocated from THD pool, and 
      logging now is done in batches - new batch is started if the buffer becomes full.
      Reduced memory usage by reusing the table list instead of accumulating a list of 
      dropped table names. Also fixed the problem if the table was not actually dropped, eg
      due to permissions. Extended the test case to make sure batched query 
      logging does work.  
      
      
      mysql-test/r/rpl_drop_db.result:
        test for query buffer overrun
      mysql-test/t/rpl_drop_db.test:
        test for query buffer overrun
      sql/mysql_priv.h:
        updated patch for BUG#4680 (incomplete DROP DATABASE breaking replication)
      BitKeeper/etc/ignore:
        Added support-files/MacOSX/postflight support-files/MacOSX/preflight to the ignore list
      sql/sql_db.cc:
        updated patch for BUG#4680 (incomplete DROP DATABASE breaking replication)
      sql/sql_table.cc:
        updated patch for BUG#4680 (incomplete DROP DATABASE breaking replication)
      sql/table.h:
        updated patch for BUG#4680 (incomplete DROP DATABASE breaking replication)
      4652c6b0
  3. 27 Jul, 2005 1 commit
    • unknown's avatar
      Moved test for 'show full processlist' to not_embedded_server.test becasue it... · 53f40f95
      unknown authored
      Moved test for 'show full processlist' to not_embedded_server.test becasue it could fail on a slow computer where previous connections has not yet disconnected
      
      
      mysql-test/r/ps_grant.result:
        Deallocate prepare statements
        Moved test for 'show full processlist' to not_embedded_server.test becasue it's shouldn't be here and it could fail on a slow computer where previous connections has not yet disconnected
      mysql-test/t/ps_grant.test:
        Deallocate prepare statements
        Moved test for 'show full processlist' to not_embedded_server.test becasue it's shouldn't be here and it could fail on a slow computer where previous connections has not yet disconnected
      sql/sql_lex.cc:
        Fixed typo
      mysql-test/r/not_embedded_server.result:
        New BitKeeper file ``mysql-test/r/not_embedded_server.result''
      mysql-test/t/not_embedded_server.test:
        New BitKeeper file ``mysql-test/t/not_embedded_server.test''
      BitKeeper/etc/ignore:
        added ndb/tools/ndb_config
      53f40f95
  4. 26 Jul, 2005 1 commit
    • unknown's avatar
      Review fixes: · 90e41fac
      unknown authored
      Fixed portability problem with bool in C programs
      Moved close_thread_tables out from LOCK_thread_count mutex (safety fix)
      my_sleep() -> pthread_cond_timedwait()
      
      
      include/thr_lock.h:
        bool -> my_bool (bool is not portable in C programs)
      mysys/thr_lock.c:
        bool -> my_bool (bool is not portable in C programs)
      sql/lock.cc:
        Added comment
        Don't use | on bool variable
      sql/mysql_priv.h:
        Added comment
      sql/slave.cc:
        Moved close_thread_tables out from LOCK_thread_count mutex (safety fix)
      sql/sql_base.cc:
        Added comments
        my_sleep() -> pthread_cond_timedwait() to get less code and potentitally faster loop
      BitKeeper/etc/ignore:
        added ac_available_languages_fragment
      90e41fac
  5. 07 Jun, 2005 1 commit
    • unknown's avatar
      BUG#7967 Fix mysqlhotcopy --record-log-position · d09d8156
      unknown authored
      BitKeeper/etc/ignore:
        Added scripts/mysqlhotcopy.sh.rej to the ignore list
      scripts/mysqlhotcopy.sh:
        BUG#7967 Use fetchrow_hashref() when parsing SHOW SLAVE STATUS so
        that --record-log-pos option will work with all versions from 3.23
        forward and will not break again in the future if additional columns
        are added.
      d09d8156
  6. 05 Mar, 2005 1 commit
    • unknown's avatar
      A fix for a bug #8830, which occured when binary data from blob was · 581e6a2b
      unknown authored
      dumped with --hex-blob and --skip-extended-insert options.
      
      
      BitKeeper/etc/ignore:
        Added support-files/ndb-config-2-node.ini to the ignore list
      client/mysqldump.c:
        A fix for a bug #8830. All that was necessary was to use unsigned  char
        instead of signed  char.
      mysql-test/r/mysqldump.result:
        A result for   test case for bug #8830.
      mysql-test/t/mysqldump.test:
        Test case for bug #8830.
      581e6a2b
  7. 25 Feb, 2005 1 commit
    • unknown's avatar
      add auto generated ndb dsp-files (for msvc++ 6.0) to ignore file · 5c15cc5c
      unknown authored
      BitKeeper/etc/ignore:
        added ndb/src/common/debugger/signaldata/libsignaldataprint.dsp ndb/src/common/debugger/libtrace.dsp ndb/src/common/logger/liblogger.dsp ndb/src/common/mgmcommon/libmgmsrvcommon.dsp ndb/src/common/portlib/libportlib.dsp ndb/src/common/transporter/libtransporter.dsp ndb/src/common/util/libgeneral.dsp ndb/src/kernel/blocks/backup/libbackup.dsp ndb/src/kernel/blocks/cmvmi/libcmvmi.dsp ndb/src/kernel/blocks/dbacc/libdbacc.dsp ndb/src/kernel/blocks/dbdict/libdbdict.dsp ndb/src/kernel/blocks/dbdih/libdbdih.dsp ndb/src/kernel/blocks/dblqh/libdblqh.dsp ndb/src/kernel/blocks/dbtc/libdbtc.dsp ndb/src/kernel/blocks/dbtup/libdbtup.dsp ndb/src/kernel/blocks/dbtux/libdbtux.dsp ndb/src/kernel/blocks/dbutil/libdbutil.dsp ndb/src/kernel/blocks/grep/libgrep.dsp ndb/src/kernel/blocks/ndbcntr/libndbcntr.dsp ndb/src/kernel/blocks/ndbfs/libndbfs.dsp ndb/src/kernel/blocks/qmgr/libqmgr.dsp ndb/src/kernel/blocks/suma/libsuma.dsp ndb/src/kernel/blocks/trix/libtrix.dsp ndb/src/kernel/error/liberror.dsp ndb/src/kernel/vm/libkernel.d
        sp ndb/src/kernel/ndbd.dsp ndb/src/mgmapi/libmgmapi.dsp ndb/src/mgmclient/ndb_mgm.dsp ndb/src/mgmclient/libndbmgmclient.dsp ndb/src/mgmsrv/ndb_mgmd.dsp ndb/src/ndbapi/libndbapi.dsp ndb/src/libndbclient.dsp ndb/test/ndbapi/flexBench.dsp ndb/test/ndbapi/testBasic.dsp ndb/test/ndbapi/testBlobs.dsp ndb/test/ndbapi/testScan.dsp ndb/test/src/libNDBT.dsp ndb/tools/ndb_waiter.dsp ndb/tools/ndb_drop_table.dsp ndb/tools/ndb_delete_all.dsp ndb/tools/ndb_desc.dsp ndb/tools/ndb_drop_index.dsp ndb/tools/ndb_show_tables.dsp ndb/tools/ndb_select_all.dsp ndb/tools/ndb_select_count.dsp
      5c15cc5c
  8. 08 Feb, 2005 1 commit
    • unknown's avatar
      Better bugfix for "HAVING when refering to RAND()" (Bug #8216) · 63982db9
      unknown authored
      Ensure that references in HAVING, ORDER BY or GROUP BY are calculated after fields in SELECT.
      This will ensure that any reference to these has a valid value.
      Generalized the code for split_sum_func()
      
      
      BitKeeper/etc/ignore:
        added support-files/ndb-config-2-node.ini
      mysql-test/r/group_by.result:
        More complicated test to assure that rand() is only calulated once
      mysql-test/r/user_var.result:
        Back to old results :(  (ok but not perfect)
      mysql-test/t/group_by.test:
        More complicated test to assure that rand() is only calulated once
      sql/item.cc:
        Better bugfix for "HAVING when refering to RAND()"
        This will ensure that when refering to things like RAND() in HAVING through an alias we will not recalculate that rand() value in the HAVING part but use the value in the row
        Generalize split_sum_func()
      sql/item.h:
        Better bugfix for "HAVING when refering to RAND()"
        T
      sql/item_cmpfunc.cc:
        Better bugfix for "HAVING when refering to RAND()"
        Use generalized split_sum_func2() function
      sql/item_func.cc:
        Better bugfix for "HAVING when refering to RAND()"
        Use generalized split_sum_func2() function
      sql/item_row.cc:
        Better bugfix for "HAVING when refering to RAND()"
        Use generalized split_sum_func2() function
      sql/item_strfunc.cc:
        Better bugfix for "HAVING when refering to RAND()"
        Use generalized split_sum_func2() function
      sql/sql_list.h:
        Add functions to concatenate lists
      sql/sql_select.cc:
        Better bugfix for "HAVING when refering to RAND()"
        Ensure that references in HAVING, ORDER BY or GROUP BY are calculated after fields in SELECT.
        This will ensure that any reference to these has a valid value.
      63982db9
  9. 25 Jan, 2005 1 commit
    • unknown's avatar
      Cleanups during review · c2a2f5af
      unknown authored
      BitKeeper/etc/ignore:
        added libmysqld/examples/mysqltest_embedded
      client/mysqlbinlog.cc:
        Call mysql_close() before die()
      innobase/include/eval0eval.ic:
        Remove assert that fails on 64 bit machines
        (Tested with BUILD/compile-pentium64-valgrind-max on 64 bit Intel CPU)
      sql/mysqld.cc:
        Force lower_case_table_names to 0 if set to 2 on case insensitive file name
      sql/sql_select.cc:
        Remove #if 0
      c2a2f5af
  10. 20 Jan, 2005 1 commit
    • unknown's avatar
      - renamed client_test -> mysql_client_test · c03aaf85
      unknown authored
      - renamed the tests that use the embedded server (client_test -> 
        mysql_client_test_embedded, mysqltest -> mysql_test_embedded
        and changed some Makefiles and scripts so they are installed in $bindir
        (required to be able to run the test suite against the embedded server)
      
      
      tests/mysql_client_test.c:
        Rename: tests/client_test.c -> tests/mysql_client_test.c
      libmysql/libmysql.c:
        - renamed client_test.c to mysql_client_test.c in a comment
      libmysqld/examples/Makefile.am:
        - renamed client_test -> mysql_client_test_embedded
        - renamed mysqltest -> mysqltest_embedded
        - both will be installed in $bindir
      scripts/make_binary_distribution.sh:
        - install mysql_client_test, mysql_client_test_embedded and mysqltest_embedded
          into bin directory
      tests/Makefile.am:
        - renamed client_test to mysql_client_test
      BitKeeper/etc/ignore:
        Added tests/mysql_client_test to the ignore list
      c03aaf85
  11. 03 Jan, 2005 2 commits
    • unknown's avatar
      added ndb/include/ndb_global.h ndb/include/ndb_version.h to ignore · 82e5d5ef
      unknown authored
      BitKeeper/etc/ignore:
        added ndb/include/ndb_global.h ndb/include/ndb_version.h
      82e5d5ef
    • unknown's avatar
      WL#964 · 8bf7b342
      unknown authored
      added sort of file names for all OS
      
      
      BitKeeper/etc/ignore:
        Added mysql-test/mysql-test-run.log mysql-test/r/alter_table.err mysql-test/r/archive.err mysql-test/r/bdb-alter-table-1.err mysql-test/r/bdb-alter-table-2.err mysql-test/r/bdb-crash.err mysql-test/r/bdb-deadlock.err mysql-test/r/bdb.err mysql-test/r/bdb_cache.err mysql-test/r/client_test.err mysql-test/r/csv.err mysql-test/r/ctype_ucs.err mysql-test/r/derived.err mysql-test/r/exampledb.err mysql-test/r/func_encrypt.err mysql-test/r/isam.err mysql-test/r/lowercase_table2.err mysql-test/r/multi_update.err mysql-test/r/mysql_protocols.err mysql-test/r/mysqlbinlog.err mysql-test/r/mysqlbinlog2.err mysql-test/r/mysqldump.err mysql-test/r/mysqltest.err mysql-test/r/ndb_alter_table.err mysql-test/r/ndb_autodiscover.err mysql-test/r/ndb_autodiscover2.err mysql-test/r/ndb_basic.err mysql-test/r/ndb_blob.err mysql-test/r/ndb_cache.err mysql-test/r/ndb_charset.err mysql-test/r/ndb_index.err mysql-test/r/ndb_index_ordered.err mysql-test/r/ndb_index_unique.err mysql-test/r/ndb_insert.err mysql-test/r/ndb_limit.err m
      mysql-test/mysql_test_run_new.c:
        added sort of file names for all OS
      8bf7b342
  12. 30 Dec, 2004 1 commit
    • unknown's avatar
      Clean up the handling of "server" and "client" directories, while still... · f116ac5c
      unknown authored
      Clean up the handling of "server" and "client" directories, while still avoiding the double listing of
      common directories in 'SUBDIRS' macro ("make distclean" had failed due to that).
      Solves bug#7368: "regex make error in 4.1.8"
      
      
      BitKeeper/etc/ignore:
        Added ndb/include/ndb_version.h ndb/include/ndb_global.h to the ignore list
      Makefile.am:
        Build the 'SUBDIRS' list from the new variable 'sql_union_dirs', not the old "client" and "servers" lists which will overlap.
        That overlap worked for build runs, but it caused failures of 'make distclean' etc because the overlapping directories
        were cleaned twice which could not work.
        Solves bug#7368: "regex make error in 4.1.8"
      configure.in:
        Introduce a new variable 'sql_union_dirs' to contain those directories which are needed for either server or client.
        This is needed to have complete "server" and "client" directory lists in 'Makefile' but prevent double listing
        in 'SUBDIRS' (see the comment for 'Makefile.am').
        Solves bug#7368: "regex make error in 4.1.8"
      f116ac5c
  13. 14 Dec, 2004 1 commit
    • unknown's avatar
      corrected mysqltest.dsp · 820d68d9
      unknown authored
      corrected mysql_test_run_new.dsp
      added dependency
      corrected path of mysql_test_run_new.dsp
      fixed wrong code
      added my_create_tables.c
      removed command_line
      fixed #elif
      restored NAME_MAX and MAX_FNAME
      added create_system_files()
      added compare() for windows
      added all files of testes in script
      added mysql-test in script
      
      
      BitKeeper/etc/ignore:
        Added mysql-4.1.8-win-src.zip to the ignore list
      VC++Files/client/mysqltest.dsp:
        corrected dsp file
      VC++Files/mysql-test/mysql_test_run_new.dsp:
        corrected mysql_test_run_new.dsp
      VC++Files/mysql.dsw:
        added dependency
        corrected path of mysql_test_run_new.dsp
      client/mysqltest.c:
        fixed wrong code
      mysql-test/Makefile.am:
        added my_create_tables.c
      mysql-test/my_manage.c:
        removed command_line
        fixed #elif
      mysql-test/my_manage.h:
        restored NAME_MAX and MAX_FNAME
      mysql-test/mysql_test_run_new.c:
        added create_system_files()
        added compare for windows
      scripts/make_win_src_distribution.sh:
        added all files of testes
        added mysql-test
      820d68d9
  14. 07 Dec, 2004 1 commit
    • unknown's avatar
      Fix for a bug #6996 · 5c7949af
      unknown authored
      BitKeeper/etc/ignore:
        Added analyse.test client/mysqladmin.c to the ignore list
      libmysql/libmysql.c:
        Fix for a bug #6996
        
        This fix enables that after all rows are read from a buffered result,
        mysql_stmt_data_seek(stmt,0) can rewind a counter to the beginning,
        so that rows can be re-fetched.
      tests/client_test.c:
        Addition of a test for fix of the bug #6996 in client_test.c
      5c7949af
  15. 02 Dec, 2004 1 commit
    • unknown's avatar
      Fixes to make mysql-test-run --embedded-server working · d3c5c499
      unknown authored
      mysql-test/mysql-test-run.sh:
        Tests that can't be fixed now showed in the ignore-list
      mysql-test/r/query_cache.result.es:
        test result renewed
      mysql-test/r/select.result.es:
        test result renewed
      mysql-test/r/type_blob.result.es:
        test result renewed
      mysql-test/r/type_float.result.es:
        test result renewed
      sql/sql_prepare.cc:
        time values sending fixed
      tests/client_test.c:
        that doesnt work in embedded server
      BitKeeper/etc/ignore:
        Added libmysqld/ha_archive.cc libmysqld/ha_example.cc libmysqld/ha_tina.cc to the ignore list
      d3c5c499
  16. 22 Nov, 2004 1 commit
  17. 19 Nov, 2004 2 commits
  18. 05 Nov, 2004 1 commit
  19. 21 Oct, 2004 1 commit
    • unknown's avatar
      s/puts/printf/ · 855e4daf
      unknown authored
      BitKeeper/etc/ignore:
        Added Docs/Images/myaccess-odbc.txt Docs/Images/myaccess.txt Docs/Images/myarchitecture.txt Docs/Images/mydll-properties.txt Docs/Images/mydsn-example.txt Docs/Images/mydsn-icon.txt Docs/Images/mydsn-options.txt Docs/Images/mydsn-setup.txt Docs/Images/mydsn-test-fail.txt Docs/Images/mydsn-test-success.txt Docs/Images/mydsn-trace.txt Docs/Images/mydsn.txt Docs/Images/myflowchart.txt to the ignore list
      855e4daf
  20. 05 Sep, 2004 1 commit
    • unknown's avatar
      union.test: drop table added · e9a40452
      unknown authored
      BitKeeper/etc/ignore:
        Added support-files/my-innodb-heavy-4G.cnf to the ignore list
      mysql-test/r/union.result:
        drop table added
      mysql-test/t/union.test:
        drop table added
      e9a40452
  21. 24 Aug, 2004 1 commit
    • unknown's avatar
      upgrade to libedit-2.6.7 · af043308
      unknown authored
      (fixed Bug #4462 libedit compile failure)
      
      
      BitKeeper/etc/ignore:
        change config.h -> config.h to commit cmd-line-utils/libedit/config.h
      cmd-line-utils/libedit/Makefile.am:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/chared.c:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/chared.h:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/common.c:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/el.c:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/el.h:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/emacs.c:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/hist.c:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/hist.h:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/histedit.h:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/history.c:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/key.c:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/key.h:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/makelist.sh:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/map.c:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/map.h:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/parse.c:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/prompt.c:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/read.c:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/readline.c:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/readline/readline.h:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/refresh.c:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/search.c:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/search.h:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/sig.c:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/sig.h:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/sys.h:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/term.c:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/tokenizer.c:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/tokenizer.h:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/tty.c:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/tty.h:
        upgrade to libedit-2.6.7
      cmd-line-utils/libedit/vi.c:
        upgrade to libedit-2.6.7
      configure.in:
        change liblibedit.a to correct libedit.a
      af043308
  22. 19 Aug, 2004 2 commits
  23. 12 Aug, 2004 2 commits
    • unknown's avatar
      Added more ndb binaries to ignore · 7f109dbf
      unknown authored
      BitKeeper/etc/ignore:
        added ndb/test/ndbapi/create_all_tabs ndb/test/ndbapi/create_tab ndb/test/ndbapi/drop_all_tabs ndb/test/ndbapi/flexAsynch ndb/test/ndbapi/flexBench ndb/test/ndbapi/flexHammer ndb/test/ndbapi/flexTT ndb/test/ndbapi/testBackup ndb/test/ndbapi/testBasic ndb/test/ndbapi/testBasicAsynch ndb/test/ndbapi/testBlobs ndb/test/ndbapi/testDataBuffers ndb/test/ndbapi/testDeadlock ndb/test/ndbapi/testDict ndb/test/ndbapi/testIndex ndb/test/ndbapi/testMgm ndb/test/ndbapi/testNdbApi ndb/test/ndbapi/testNodeRestart ndb/test/ndbapi/testOIBasic ndb/test/ndbapi/testOperations ndb/test/ndbapi/testRestartGci ndb/test/ndbapi/testScan ndb/test/ndbapi/testScanInterpreter ndb/test/ndbapi/testScanPerf ndb/test/ndbapi/testSystemRestart ndb/test/ndbapi/testTimeout ndb/test/ndbapi/testTransactions ndb/test/ndbapi/test_event ndb/test/ndbapi/bank/bankCreator ndb/test/ndbapi/bank/bankMakeGL ndb/test/ndbapi/bank/bankSumAccounts ndb/test/ndbapi/bank/bankTimer ndb/test/ndbapi/bank/bankTransactionMaker ndb/test/ndbapi/bank/bankValidateAllGLs
         ndb/test/ndbapi/bank/testBank ndb/test/run-test/atrt ndb/test/tools/copy_tab ndb/test/tools/create_index ndb/test/tools/hugoCalculator ndb/test/tools/hugoFill ndb/test/tools/hugoLoad ndb/test/tools/hugoLockRecords ndb/test/tools/hugoPkDelete ndb/test/tools/hugoPkRead ndb/test/tools/hugoPkReadRecord ndb/test/tools/hugoPkUpdate ndb/test/tools/hugoScanRead ndb/test/tools/hugoScanUpdate ndb/test/tools/ndb_cpcc ndb/test/tools/restart ndb/test/tools/verify_index
      7f109dbf
    • unknown's avatar
      Add ndb binaries to ignore list · 05589d79
      unknown authored
      BitKeeper/etc/ignore:
        added ndb/src/cw/cpcd/ndb_cpcd ndb/src/kernel/ndbd ndb/src/kernel/blocks/backup/restore/ndb_restore ndb/src/mgmclient/ndb_mgm ndb/src/mgmsrv/ndb_mgmd ndb/tools/ndb_delete_all ndb/tools/ndb_desc ndb/tools/ndb_drop_index ndb/tools/ndb_drop_table ndb/tools/ndb_select_all ndb/tools/ndb_select_count ndb/tools/ndb_show_tables ndb/tools/ndb_waiter
      05589d79
  24. 26 Jun, 2004 1 commit
    • unknown's avatar
      Cleanup for creating windows source distribution · 02b3d6f1
      unknown authored
      BitKeeper/etc/ignore:
        added sql/mysql_tzinfo_to_sql.cc
      scripts/make_win_src_distribution.sh:
        Don't copy InstallShield files if we are in a normal bk tree
      scripts/mysql_create_system_tables.sh:
        Remove duplicate entry
      02b3d6f1
  25. 24 Jun, 2004 1 commit
  26. 23 Jun, 2004 1 commit
    • unknown's avatar
      Final solution to mysql_tzinfo_to_sql problem. · 0fe7f344
      unknown authored
      sql/Makefile.am:
        Final solution to mysql_tzinfo_to_sql problem:
        We can't put it in extra/ directory since it depends on sql/sql_yacc.h and
        sql/ directory depends on extra/comp_err. So this utility have to stay in
        sql/ for a while.
      BitKeeper/etc/ignore:
        Added sql/mysql_tzinfo_to_sql_tztime.cc to the ignore list
      0fe7f344
  27. 22 Jun, 2004 1 commit
    • unknown's avatar
      Fix for build from bk failures with old automake. · c963b719
      unknown authored
      mysql_tzinfo_to_sql converter was moved to extra/ directory and its build was made 
      compatible with older automake versions.
      
      
      extra/Makefile.am:
        mysql_tzinfo_to_sql converter was moved to extra/ directory and its build was made 
        compatible with older automake versions.
      sql/Makefile.am:
        mysql_tzinfo_to_sql converter was moved to extra/ directory and its build was made
        compatible with older automake versions.
      BitKeeper/etc/ignore:
        Added extra/tztime.cc extra/mysql_tzinfo_to_sql to the ignore list
      c963b719
  28. 18 Jun, 2004 2 commits
    • unknown's avatar
      WL#1264 "Per-thread time zone support infrastructure". · 6aaccbcb
      unknown authored
      Added basic per-thread time zone functionality (based on public
      domain elsie-code). Now user can select current time zone
      (from the list of time zones described in system tables).
      All NOW-like functions honor this time zone, values of TIMESTAMP
      type are interpreted as values in this time zone, so now
      our TIMESTAMP type behaves similar to Oracle's TIMESTAMP WITH
      LOCAL TIME ZONE (or proper PostgresSQL type).
        
      WL#1266 "CONVERT_TZ() - basic time with time zone conversion 
      function".
        
      Fixed problems described in Bug #2336 (Different number of warnings 
      when inserting bad datetime as string or as number). This required
      reworking of datetime realted warning hadling (they now generated 
      at Field object level not in conversion functions).
        
      Optimization: Now Field class descendants use table->in_use member
      instead of current_thd macro.
      
      
      include/my_global.h:
        Added macro for reading of 32-bit ints stored in network order from
        unaligned memory location.
      include/mysqld_error.h:
        Added error-code for invalid timestamp warning and error-code
        for wrong or unknown time zone specification.
      libmysqld/Makefile.am:
        Added main per-thread time zone support file to libmysqld
      libmysqld/lib_sql.cc:
        Added initialization of time zones infrastructure to embedded server.
      mysql-test/r/connect.result:
        Updated test result since now mysql database contains more
        system tables.
      mysql-test/r/date_formats.result:
        Now when truncation occurs during conversion to datetime value we are producing Warnings 
        instead of Notes. Also we are giving more clear warnings about this in some cases.
      mysql-test/r/func_sapdb.result:
        New warnings about truncation occured during conversion to datetime value added due
        their better handling.
      mysql-test/r/func_time.result:
        New warnings about truncation occured during conversion to datetime value added due
        their better handling.
      mysql-test/r/select.result:
        New warnings about truncation occured during conversion to datetime value added due
        their better handling. Also tweaked test a bit to made it less ambigious for reader.
      mysql-test/r/system_mysql_db.result:
        Updated test result because new system tables holding time zone descriptions were 
        added.
      mysql-test/r/timezone.result:
        Updated timezone.test to use new system variable which shows system time zone.
        Added test of warning which is produced if someone tries to store non-existing (due 
        falling into spring time-gap) datetime value into TIMESTAMP field.
      mysql-test/r/type_datetime.result:
        Separated and extended test of values and warnings produced for bad values stored in 
        DATETTIME fields.
      mysql-test/r/type_time.result:
        Now we are producing more consistent warning when we are truncating datetime value while
        storing it in TIME field.
      mysql-test/r/type_timestamp.result:
        Separated and extended test of values and warnings produced for bad
        values stored in TIMESTAMP fields.
      mysql-test/t/select.test:
        Updated test to make it less ambigous for reader.
      mysql-test/t/timezone.test:
        Updated timezone.test to use new system variable which shows system time zone.
        Added test of warning which is produced if someone tries to store non-existing (due 
        falling into spring time-gap) datetime value into TIMESTAMP field.
      mysql-test/t/type_datetime.test:
        Separated and extended test of values and warnings produced for bad
        values stored in DATETTIME fields.
      mysql-test/t/type_timestamp.test:
        Separated and extended test of values and warnings produced for bad
        values stored in TIMESTAMP fields.
      scripts/mysql_create_system_tables.sh:
        Added creation of tables with time zone descriptions.
        Also added descriptions of time zones used in tests.
      scripts/mysql_fix_privilege_tables.sql:
        Added mysql.time_zone* tables family.
      sql/Makefile.am:
        Added files implementing time zone support to server, also added
        rules for building of mysql_tzinfo_to_sql converter and test_time
        test.
      sql/field.cc:
        Now we are using per-thread time zone for TIMESTAMP <-> whatever conversion.
        Fixed generation of warnings for datetime types (DATETIME/TIMESTAMP/DATE/...) and
        any other Field to datetime conversion (now we are generating warnings no in lower
        level functions like in str_to_TIME() but in Field methods. This allows generate
        better and more consistent warnings and to reuse code of str_to_TIME() outside of
        server).
        
        Added 3rd parameter to set_warning() method to be able to not increment cut fields
        but still produce a warning. Also added set_datetime_warning() family of auxiliary 
        methods which allow easier generate datetime related warnings.
        Also replaced occurences of current_thd with table->in_use member, added
        asserts for catching all places there we need to set table->in_use
        accordingly. Renamed fix_datetime() function to number_to_TIME() and
        moved it to sql/time.cc there it fits better.
      sql/field.h:
        Added comment about places where we can use table->in_use member
        instead of current_thd.
        Added 3rd parameter to Field::set_warning() method and set_datetime_warning()
        family of methods.
      sql/field_conv.cc:
        Field::set_warning() method with 2 arguments was replaced with more 
        generic set_warning() method with 3 arguments.
      sql/ha_berkeley.cc:
        Now we set table->in_use for temporary tables so we have to use
        table->tmp_table for checking if table is temporary.
      sql/item.cc:
        Replaced calls to str_to_time() and str_to_TIME() funcs with their warning
        generating analogs.
      sql/item_create.cc:
        Added creation of CONVERT_TZ function as FUNC_ARG3.
      sql/item_create.h:
        Added creation of CONVERT_TZ function as FUNC_ARG3.
      sql/item_timefunc.cc:
        Added support of per-thread time zone to NOW-like and FROM_UNIXTIME,
        UNIX_TIMESTAMP functions. 
        Added support for CONVERT_TZ function.
        Removed call to str_to_timestamp function which caused non-optimal
        behavior in certain cases. Replaced calls to str_to_time() function 
        with its warning generating analog.
      sql/item_timefunc.h:
        Added support of per-thread time zone to NOW-like and
        FROM_UNIXTIME, UNIX_TIMESTAMP functions.
        Added support of CONVERT_TZ function.
      sql/lex.h:
        Added support of CONVERT_TZ function.
      sql/log.cc:
        Added support for replication of statements depending on time zone.
      sql/mysql_priv.h:
        Now including headers with per-thread time zone support functions
        and classes. Added portable replacement of time_t - my_time_t type. 
        Added time zone as one of query distinguishing parameters for
        query cache. 
        Fixed declarations of str_to_TIME, str_to_time and 
        my_system_gmt_sec (former my_gmt_sec) since now they have one more
        out parameter which informs about wrong datetime value or data 
        truncation during conversion.
        Added warning generating version of str_to_TIME() and str_to_time()
        functions.
        Thrown away str_to_datetime/timestamp functions since they are not
        needed any longer. Added number_to_TIME function.
      sql/mysqld.cc:
        Added per-thread time zone support initialization.
        Added new startup parameter --default-time-zone.
      sql/set_var.cc:
        Added support for per-thread time_zone variable.
        Renamed old timezone variable to system_time_zone.
      sql/set_var.h:
        Added support for per-thread time_zone variable.
      sql/share/czech/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/danish/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/dutch/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/english/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/estonian/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/french/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/german/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/greek/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/hungarian/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/italian/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/japanese/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/korean/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/norwegian-ny/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/norwegian/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/polish/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/portuguese/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/romanian/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/russian/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/serbian/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/slovak/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/spanish/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/swedish/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/share/ukrainian/errmsg.txt:
        Added error message for barking when incorrect time zone name or
        specifiaction is provided and for warning about invalid TIMESTAMP
        values (e.g. falling into the spring time-gap).
      sql/slave.cc:
        In order to support replication of statements using time zones in 4.1 we should 
        ensure that both master and slave have same default time zone.
      sql/sql_base.cc:
        Now we are setting TABLE::in_use member for all tables (which assume
        calls to Field::store or val_ methods).
      sql/sql_cache.cc:
        Added time zone as one more query distinguishing parameter
        for query cache.
      sql/sql_class.cc:
        Added THD::time_zone_used variable indicating that this query
        uses per thread time zone.
      sql/sql_class.h:
        Added per-thread time zone variable. Added THD::time_zone_used
        variable indicating that this query uses per thread time zone
        so if this is updating query the time zone should be logged to 
        binlog.
      sql/sql_insert.cc:
        We should set TABLE::in_use member pointing to thread which is called
        INSERT DELAYED and not to worker thread.
      sql/sql_load.cc:
        Field::set_warning() now has one more argument now.
      sql/sql_parse.cc:
        Resetting THD::time_zone_used variable in the end of query
        processing.
      sql/sql_select.cc:
        Now we are setting TABLE::in_use member for all tables (which assume
        calls to Field::store or val_ methods).
      sql/sql_show.cc:
        Now using per thread time zone for extended show tables.
      sql/time.cc:
        Added support for per-thread time zones for TIMESTAMP type and
        reworked generation of warnings for TIMESTAMP and DATETIME types.
        (Introduced new TIME_to_timestamp() function. Removed hours 
        normalisation from former my_gmt_sec() since it was not working 
        and not used anywhere now, but breaks parameter constness, added
        to this function generation of warning if we are falling in spring 
        time-gap. Removed str_to_timestamp and str_to_datetime functions 
        which are no longer used. Moved fix_datetime function from
        sql/field.cc to this file as number_to_TIME() function. Added
        out parameter for str_to_TIME and str_to_time functions which
        indicates if value was truncated during conversion, removed direct 
        generation of warnings from this functions.)
      sql/unireg.cc:
        Now we are setting TABLE::in_use member for all tables (which assume
          calls to Field::store or val_ methods).
      BitKeeper/etc/ignore:
        Added sql/test_time sql/mysql_tzinfo_to_sql libmysqld/tztime.cc to the ignore list
      6aaccbcb
    • unknown's avatar
      Fixed some byte order bugs with prepared statements on machines with high-byte-first. (Bug #4173) · 7d52eabb
      unknown authored
      Fixed problem with NULL and derived tables (Bug #4097)
      Cleanup of new pushed code
      
      
      BitKeeper/etc/ignore:
        added mysql-test/ndb/ndbcluster
      client/mysqltest.c:
        simple cleanup
      innobase/os/os0file.c:
        fix for netware
      libmysql/libmysql.c:
        Fixed some byte order bugs with prepared statements on machines with
        high-byte-first. (Bug #4173)
      myisam/ft_boolean_search.c:
        Comment cleanup
      myisam/mi_check.c:
        Removed not needed check (check is done in check_index())
      myisam/mi_unique.c:
        crc must be of type ha_checksum.
      myisam/myisamchk.c:
        Portability fix.
      mysql-test/mysql-test-run.sh:
        Simple cleanup
      mysql-test/r/subselect.result:
        Test problem with NULL and derived tables (Bug #4097)
      mysql-test/t/subselect.test:
        Test problem with NULL and derived tables (Bug #4097)
      sql/mysqld.cc:
        Remove not used defines
      sql/sql_select.cc:
        Fixed problem with NULL and derived tables (Bug #4097)
        Indentation fixes
      sql/sql_string.cc:
        Code cleanup
      sql/sql_yacc.yy:
        Allow one to use DROP PREPARE ...
      7d52eabb
  29. 13 May, 2004 1 commit
  30. 11 May, 2004 1 commit
    • unknown's avatar
      Don't automaticly generate a new key for a foreign key constraint if there is already a usable key. · d3fcd8d4
      unknown authored
      Prefer not automatic keys before automatic keys. If there is two conf
      
      
      BitKeeper/etc/ignore:
        added *.d
      include/my_base.h:
        Added flag for automaticly generated key
      mysql-test/r/constraints.result:
        Update tests after bug fix
      mysql-test/r/create.result:
        Update tests after bug fix
      mysql-test/r/innodb.result:
        Added test of automatic creation of foreign keys
      mysql-test/t/innodb.test:
        Added test of automatic creation of foreign keys
      mysql-test/t/key_cache.test:
        Portability fixes (64 BIT os)
      sql/sql_acl.cc:
        Indentation fixes
      sql/sql_class.cc:
        Fix key comparison to handle prefix and optionally key segments in different order.
      sql/sql_class.h:
        Added flag for automaticly generated keys
      sql/sql_parse.cc:
        Added flag for automaticly generated keys
      sql/sql_table.cc:
        Don't automaticly generate a new key for a foreign key constraint if there is already a usable key.
        Prefer not automatic keys before automatic keys. If there is two conflicting automatic keys, prefer the longer one.
      sql/sql_yacc.yy:
        Added flag for automaticly generated keys
      strings/strings-x86.s:
        Portability fix.
      d3fcd8d4
  31. 26 Apr, 2004 1 commit
  32. 21 Apr, 2004 1 commit
    • unknown's avatar
      symlink, not hardlink · 465bb046
      unknown authored
      mkdir in Makefile, not in configure
      chmod a-x
      
      
      sql/ha_ndbcluster.cc:
        Change mode to -rw-rw-r--
      sql/ha_ndbcluster.h:
        Change mode to -rw-rw-r--
      BitKeeper/etc/ignore:
        added libmysqld/discover.cc
      configure.in:
        symlink, not hardlink
        mkdir in Makefile, not in configure
      include/Makefile.am:
        mkdir in Makefile, not in configure
      mysql-test/std_data/init_file.dat:
        add EOL
        make a test faster
      465bb046
  33. 14 Apr, 2004 2 commits
    • unknown's avatar
      More files to ignore · 487afa94
      unknown authored
      BitKeeper/etc/ignore:
        Added ndb/bin/DbAsyncGenerator ndb/bin/DbCreate ndb/bin/acid ndb/bin/async-lmc-bench-l-p10.sh ndb/bin/async-lmc-bench-l.sh ndb/bin/async-lmc-bench-p10.sh ndb/bin/async-lmc-bench.sh ndb/bin/atrt ndb/bin/atrt-analyze-result.sh ndb/bin/atrt-clear-result.sh ndb/bin/atrt-gather-result.sh ndb/bin/atrt-setup.sh ndb/bin/bankCreator ndb/bin/bankMakeGL ndb/bin/bankSumAccounts ndb/bin/bankTimer ndb/bin/bankTransactionMaker ndb/bin/bankValidateAllGLs ndb/bin/basicTransporterTest ndb/bin/benchronja ndb/bin/bulk_copy ndb/bin/copy_tab ndb/bin/create_all_tabs ndb/bin/create_index ndb/bin/create_tab ndb/bin/delete_all ndb/bin/desc ndb/bin/drop_all_tabs ndb/bin/drop_index ndb/bin/drop_tab ndb/bin/flexAsynch ndb/bin/flexBench ndb/bin/flexHammer ndb/bin/flexScan ndb/bin/flexTT ndb/bin/hugoCalculator ndb/bin/hugoFill ndb/bin/hugoLoad ndb/bin/hugoLockRecords ndb/bin/hugoPkDelete ndb/bin/hugoPkRead ndb/bin/hugoPkReadRecord ndb/bin/hugoPkUpdate ndb/bin/hugoScanRead ndb/bin/hugoScanUpdate ndb/bin/index ndb/bin/index2 ndb/bin/ini
        ronja ndb/bin/interpreterInTup ndb/bin/list_tables ndb/bin/make-config.sh ndb/bin/mgmtclient ndb/bin/mgmtsrvr ndb/bin/mkconfig ndb/bin/ndb ndb/bin/ndb_cpcc ndb/bin/ndb_cpcd ndb/bin/ndb_rep ndb/bin/ndbsql ndb/bin/newton_basic ndb/bin/newton_br ndb/bin/newton_pb ndb/bin/newton_perf ndb/bin/perfTransporterTest ndb/bin/printConfig ndb/bin/printSchemafile ndb/bin/printSysfile ndb/bin/redoLogFileReader ndb/bin/restart ndb/bin/restarter ndb/bin/restarter2 ndb/bin/restarts ndb/bin/restore ndb/bin/select_all ndb/bin/select_count ndb/bin/telco ndb/bin/testBackup ndb/bin/testBank ndb/bin/testBasic ndb/bin/testBasicAsynch ndb/bin/testCopy ndb/bin/testDataBuffers ndb/bin/testDict ndb/bin/testGrep ndb/bin/testGrepVerify ndb/bin/testIndex ndb/bin/testInterpreter ndb/bin/testKernelDataBuffer ndb/bin/testLongSig ndb/bin/testMgm ndb/bin/testMgmapi ndb/bin/testNdbApi ndb/bin/testNodeRestart ndb/bin/testOIBasic ndb/bin/testOdbcDriver ndb/bin/testOperations ndb/bin/testRestartGci ndb/bin/testScan ndb/bin/testScanInterpreter 
        db/bin/testSimplePropertiesSection ndb/bin/testSystemRestart ndb/bin/testTimeout ndb/bin/testTransactions ndb/bin/test_cpcd ndb/bin/test_event ndb/bin/verify_index ndb/bin/waiter ndb/examples/ndbapi_example1/ndbapi_example1 ndb/examples/ndbapi_example2/ndbapi_example2 ndb/examples/ndbapi_example3/ndbapi_example3 ndb/examples/ndbapi_example5/ndbapi_example5 ndb/examples/select_all/select_all ndb/lib/libMGM_API.so ndb/lib/libNDB_API.so ndb/lib/libNDB_ODBC.so ndb/lib/libNEWTON_API.so ndb/lib/libNEWTON_BASICTEST_COMMON.so ndb/lib/libREP_API.so ndb/lib/libndbclient.so ndb/lib/libndbclient_extra.so to the ignore list
      487afa94
    • unknown's avatar
      Ignore .depend and .depend.mk · f7841f77
      unknown authored
      BitKeeper/etc/ignore:
        Added files and dirs to ignore
      f7841f77
  34. 07 Apr, 2004 1 commit
    • unknown's avatar
      ignore: · 03044fe2
      unknown authored
        added install
      
      
      BitKeeper/etc/ignore:
        added install
      03044fe2