1. 02 Jan, 2005 1 commit
    • unknown's avatar
      WL#964 · b6bfaea2
      unknown authored
      move my_end() after free_used_memory()
      
      
      client/mysqltest.c:
        move my_end() after free_used_memory()
      b6bfaea2
  2. 14 Dec, 2004 1 commit
    • unknown's avatar
      corrected mysqltest.dsp · 5e603239
      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
      5e603239
  3. 12 Nov, 2004 1 commit
    • unknown's avatar
      After merge fixes · a1267042
      unknown authored
      client/mysqldump.c:
        Merge with 4.0 (and reordering of options)
      client/mysqltest.c:
        Added DB as a user variable
      myisam/mi_check.c:
        Trivial cleanup
      mysql-test/r/grant.result:
        Move test to be in same order as in 4.0
      mysql-test/r/mix_innodb_myisam_binlog.result:
        Updated results
      mysql-test/r/ps_1general.result:
        Updated tests to work after privilege fixes
      mysql-test/r/timezone3.result:
        Updated results to 4.1
      mysql-test/t/ps_1general.test:
        Updated tests to work after privilege fixes
      sql-common/my_time.c:
        Applied sub-second patch from 4.0
      sql/sql_acl.cc:
        More debugging
      a1267042
  4. 07 Nov, 2004 1 commit
    • unknown's avatar
      Simpler arena swapping code · dda7a6a9
      unknown authored
      Now thd->mem_root is a pointer to thd->main_mem_root and THR_MALLOC is a pointer to thd->mem_root.
      This gives us the following benefits:
      - Allow us to easily detect if arena has already been swapped before (this fixes a bug in setup_conds() where arena was swaped twice in some cases)
      - Faster swaps of arenas (as we don't have to copy the whole MEM_ROOT)
      - We don't anymore have to call my_pthread_setspecific_ptr(THR_MALLOC,...) to change where memory is alloced. Now it's enough to set thd->mem_root
      
      
      
      client/mysqltest.c:
        Remove some not needed defines
        (Things like this should be done in config-win.h)
      include/config-win.h:
        Added popen() and pclose() compatibility macros
      mysql-test/t/rpl_failed_optimize-master.opt:
        Portability fix
      sql/ha_berkeley.cc:
        New thd->memroot handling
      sql/item_cmpfunc.cc:
        Simpler arena swapping code
      sql/item_func.cc:
        Simpler arena swapping code
      sql/item_subselect.cc:
        Simpler arena swapping code
        New thd->mem_root handling
      sql/item_sum.cc:
        New thd->mem_root handling
      sql/item_timefunc.cc:
        Fixed not-initalized usage errors found by valgrind
      sql/log_event.cc:
        New thd->mem_root handling
      sql/mysql_priv.h:
        New thd->mem_root handling
      sql/mysqld.cc:
        New thd->mem_root handling
      sql/opt_range.cc:
        New thd->mem_root handling
      sql/repl_failsafe.cc:
        New thd->mem_root handling
      sql/set_var.cc:
        New thd->mem_root handling
      sql/sql_acl.cc:
        New thd->mem_root handling
      sql/sql_base.cc:
        Simpler arena swapping code
        New thd->mem_root handling
      sql/sql_class.cc:
        New thd->mem_root handling
      sql/sql_class.h:
        Simpler arena swapping code
        New thd->mem_root handling
      sql/sql_db.cc:
        New thd->mem_root handling
      sql/sql_error.cc:
        New thd->mem_root handling
      sql/sql_help.cc:
        New thd->mem_root handling
      sql/sql_insert.cc:
        New thd->mem_root handling
      sql/sql_parse.cc:
        New thd->mem_root handling
        Added some extra checking of return value of new
      sql/sql_prepare.cc:
        New thd->mem_root handling
      sql/sql_select.cc:
        New thd->mem_root handling
      sql/sql_select.h:
        New thd->mem_root handling
      sql/sql_union.cc:
        Simpler arena swapping code
      sql/sql_yacc.yy:
        New thd->mem_root handling
      sql/table.cc:
        New thd->mem_root handling
      sql/thr_malloc.cc:
        New thd->mem_root handling
      tests/client_test.c:
        Added drop table to some tests
        Changed some table names to 't1'
      dda7a6a9
  5. 04 Nov, 2004 1 commit
  6. 02 Nov, 2004 1 commit
    • unknown's avatar
      Remove usage of !$ from mysql-tests · 2bcfcbfe
      unknown authored
      Added protocol::flush() for easier embedded-server code
      Increase block allocation variables a bit as they where a bit too small for MySQL 4.1
      Added option --silent to client_test
      
      
      client/mysqltest.c:
        Removed compiler warning
        Fixed identation & comments from earlier push
        Renamed variable 'disable_abort_on_error' to 'abort_on_error'
        Ensure that '$mysql_errno' also with --ps-protocol
      include/mysql_com.h:
        Removed special handling of net_flush for embedded server
      mysql-test/r/mysqltest.result:
        Remove usage of !$ in tests
      mysql-test/t/client_test.test:
        Use --silent
      mysql-test/t/comments.test:
        Remove usage of !$ in tests
      mysql-test/t/join_outer.test:
        Remove usage of !$ in tests
      mysql-test/t/key.test:
        Remove usage of !$ in tests
      mysql-test/t/mysqltest.test:
        Remove usage of !$ in tests
      mysql-test/t/show_check.test:
        Remove usage of !$ in tests
      mysql-test/t/temp_table.test:
        Remove usage of !$ in tests
      mysql-test/t/type_ranges.test:
        Remove usage of !$ in tests
      sql/mysqld.cc:
        Increase block allocation variables a bit as they where a bit too small for MySQL 4.1
      sql/net_serv.cc:
        Remove special usage of net_flush in embedded server
      sql/protocol.cc:
        Added protocol::flush() for easier embedded-server code
      sql/protocol.h:
        Added protocol::flush() for easier embedded-server code
      sql/sql_prepare.cc:
        Added protocol::flush() for easier embedded-server code
        Remove one extra flush() for prepared statements
      sql/sql_show.cc:
        Added protocol::flush() for easier embedded-server code
      tests/client_test.c:
        Added option --silent
      2bcfcbfe
  7. 29 Oct, 2004 1 commit
    • unknown's avatar
      These modifications are the result of · b863689b
      unknown authored
      WL#2067 add features to mysqltest: "disable_error_abort" + "$mysql_errno"
      
      $mysql_errno is a new builtin variable of mysqltest and contains the
      return code of the last command send to the server.
      
      "--disable_abort_on_error" switches the abort of mysqltest
      after "unmasked" failing statements off.
      "--enable_abort_on_error" switches the abort of mysqltest
      after "unmasked" failing statements on. (default)
      
      "Maskings" are
          !$<error number>  and  --error <error number>
      in the line before the statement to be checked.
      
      The benefit of the option "--disable_abort_on_error" is that
      - all statements after the failing statement are executed
      - a r/<test>.reject will be produced
      - it is possible to write test cases, which perform
        code sequences depending on the return code of a single
        statement
      
      
      client/mysqltest.c:
        Implementation of the features
        - "--disable_abort_on_error"/"--enable_abort_on_error" switch
        - "$mysql_errno" variable
      mysql-test/r/mysqltest.result:
        test cases for the features added
      mysql-test/t/mysqltest.test:
        updated results
      b863689b
  8. 26 Oct, 2004 1 commit
    • unknown's avatar
      A lot of fixes for prepared statements (PS): · 8255e5a3
      unknown authored
      New mysqltest that can run mysqltest with PS
      Added support for ZEROFILL in PS
      Fixed crash when one called mysql_stmt_store_result() without a preceding mysql_stmt_bind_result()
      Updated test cases to support --ps-protocol
      (Some tests are still run using old protocol)
      Fixed crash in PS when using SELECT * FROM t1 NATURAL JOIN t2...
      Fixed crash in PS when using sub queries
      Create table didn't signal when table was created. This could cause a "DROP TABLE created_table" in another thread to wait "forever"
      Fixed wrong permissions check in PS and multi-table updates (one could get permission denied for legal quries)
      Fix for PS and SELECT ... PROCEDURE
      Reset all warnings when executing a new PS query
      group_concat(...ORDER BY) didn't work with PS
      Fixed problem with test suite when not using innodb
      
      
      BitKeeper/deleted/.del-innodb-lock-master.opt~f76a4a1999728f87:
        Delete: mysql-test/t/innodb-lock-master.opt
      client/Makefile.am:
        mysqltest now uses regex
      client/mysqltest.c:
        Added support for testing of prepared statements (with --ps-protocol)
        Main code was done by Kent, I did mainly some cleanups and minor bug fixes
        New test commands:
        --disable_ps_protocol
        --enable_ps_protocol
        NOTE: new code still has some things that needs to be cleaned up.
        For example run_query_stmt_handle_error() should be made more general so that same code can be used also by 'normal' queries
      configure.in:
        mysqltest now uses regex
      libmysql/libmysql.c:
        Reset warning_count after prepare (safety). In the future we should also provide warnings on prepare
        integer -> string conversion now handles ZEROFILL
        double -> string conversion is now closer to the one in the server
        Fixed crash when one called mysql_stmt_store_result() without preceding mysql_stmt_bind_result()
      libmysqld/examples/Makefile.am:
        mysqltest now uses regex
      mysql-test/include/have_query_cache.inc:
        Fixes for --ps-protocol
      mysql-test/include/ps_conv.inc:
        Fixes for --ps-protocol
      mysql-test/mysql-test-run.sh:
        Added options --ps-protocol
      mysql-test/r/ctype_utf8.result:
        Fixed test case
      mysql-test/r/fulltext_cache.result:
        Changed output of MATCH to use round() to get same numbers with --ps-protocol
      mysql-test/r/fulltext_left_join.result:
        Changed output of MATCH to use round() to get same numbers with --ps-protocol
      mysql-test/r/fulltext_multi.result:
        Changed output of MATCH to use round() to get same numbers with --ps-protocol
      mysql-test/r/innodb-lock.result:
        Fixed test to work even if Innodb is not compiled in.
      mysql-test/t/create.test:
        Fixes for --ps-protocol
      mysql-test/t/ctype_utf8.test:
        Remove warnings
      mysql-test/t/date_formats.test:
        Fixes for --ps-protocol
      mysql-test/t/fulltext_cache.test:
        Changed output of MATCH to use round() to get same numbers with --ps-protocol
      mysql-test/t/fulltext_left_join.test:
        Changed output of MATCH to use round() to get same numbers with --ps-protocol
      mysql-test/t/fulltext_multi.test:
        Changed output of MATCH to use round() to get same numbers with --ps-protocol
      mysql-test/t/func_group.test:
        Fixes for --ps-protocol
      mysql-test/t/func_sapdb.test:
        Fixes for --ps-protocol
      mysql-test/t/innodb-lock.test:
        Fixed test to work even if Innodb is not compiled in.
      mysql-test/t/insert.test:
        Fixes for --ps-protocol
      mysql-test/t/insert_select.test:
        Fixes for --ps-protocol
      mysql-test/t/insert_update.test:
        Fixes for --ps-protocol
      mysql-test/t/metadata.test:
        Fixes for --ps-protocol
      mysql-test/t/multi_statement.test:
        Fixes for --ps-protocol
      mysql-test/t/ps_1general.test:
        Fixes for --ps-protocol
      mysql-test/t/rollback.test:
        Fixes for --ps-protocol
      mysql-test/t/rpl_redirect.test:
        Fixes for --ps-protocol
      mysql-test/t/rpl_user_variables.test:
        Fixes for --ps-protocol
      mysql-test/t/select.test:
        Fixes for --ps-protocol
      mysql-test/t/status.test:
        Fixes for --ps-protocol
      mysql-test/t/type_blob.test:
        Fixes for --ps-protocol
      mysql-test/t/type_float.test:
        Fixes for --ps-protocol
      mysql-test/t/union.test:
        Fixes for --ps-protocol
      mysql-test/t/warnings.test:
        Fixes for --ps-protocol
      mysys/my_alloc.c:
        More debugging information
      sql-common/client.c:
        More debugging information
      sql-common/my_time.c:
        TIME didn't support full range with PS
      sql/field.cc:
        TIME didn't support full range with PS
      sql/item_cmpfunc.cc:
        IN(constants,...) didn't work with PS
      sql/item_subselect.cc:
        Some subqueries didn't work with PS
      sql/item_sum.cc:
        group_concat(...ORDER BY) didn't work with PS
        Removed variable warning_available as 'warning' can be used for this.
      sql/item_sum.h:
        Removed not needed variable
      sql/protocol.cc:
        TIME didn't support full range with PS
      sql/set_var.cc:
        Style fix
      sql/sql_base.cc:
        setup_wild() didn't properly restore old arena, which caused core dump in PS when using
        SELECT * FROM t1 NATURAL JOIN t2...
      sql/sql_class.cc:
        Style fix
      sql/sql_error.cc:
        Style fix
      sql/sql_insert.cc:
        Create table didn't signal when table was created. This could cause a "DROP TABLE created_table" in another thread to wait "forever"
      sql/sql_lex.h:
        Fix for PS and procedures
      sql/sql_parse.cc:
        More debugging information
        Make a copy of 'db' in PS as this may change
        Fixed wrong permissions check in PS and multi-table updates
      sql/sql_prepare.cc:
        Fix for PS and SELECT ... PROCEDURE
        Reset all warnings when executing a new query
      sql/sql_union.cc:
        Fixes for PS and SELECT ... PROCEDURE
        Reset 'with_wild' as 'wild' is resolved on prepare
      8255e5a3
  9. 22 Oct, 2004 2 commits
    • unknown's avatar
      Fix compiler warnings (detected by Intel's C++ compiler) · 3bfa0e9c
      unknown authored
      Fixed checking of privilege handling in CREATE ... SELECT (Bug #6094)
      
      
      client/mysql.cc:
        Fix compiler warnings
      client/mysqltest.c:
        Fix wrong counting of lines
        Remove compiler warnings
      heap/hp_hash.c:
        Fix compiler warnings
      innobase/dict/dict0load.c:
        Fix compiler warnings
      innobase/include/mem0mem.h:
        Fix compiler warnings
      libmysql/client_settings.h:
        Fix compiler warnings
      myisam/ft_nlq_search.c:
        Add comments about compiler warnings
      myisam/rt_index.c:
        Add comments about compiler warnings
      myisam/rt_mbr.c:
        Add comments about compiler warnings
      mysql-test/r/ps.result:
        Test case for bug#6094
      mysql-test/t/ps.test:
        Test case for bug#6094
      mysys/hash.c:
        Fix compiler warnings
      mysys/my_handler.c:
        Add comments about compiler warnings
      mysys/my_thr_init.c:
        Add comments about compiler warnings
      ndb/include/mgmapi/mgmapi.h:
        Fix compiler warnings
      regex/main.c:
        Fix compiler warnings
      sql/item.h:
        Fix compiler warnings
      sql/item_func.h:
        Add...
      3bfa0e9c
    • unknown's avatar
      mysqltest.c, mysqltest.result, mysqltest.test: · f6ec064f
      unknown authored
        Added SQLSTATE matching support to test engine
      mysqltest.result, mysqltest.test:
        new file
      
      
      mysql-test/t/mysqltest.test:
        Added SQLSTATE matching support to test engine
      mysql-test/r/mysqltest.result:
        Added SQLSTATE matching support to test engine
      client/mysqltest.c:
        Added SQLSTATE matching support to test engine
      f6ec064f
  10. 19 Oct, 2004 1 commit
    • unknown's avatar
      Review of all code pushed since last review · da02110d
      unknown authored
      Simple optimzations and cleanups
      Removed compiler warnings and fixed portability issues
      Added client functions 'mysql_embedded()' to allow client to check if we are using embedded server
      Fixes for purify
      
      
      client/mysqlimport.c:
        Remove not used variable
      client/mysqltest.c:
        Remove usage of MAXPATHLEN (all MySQL code uses FN_REFLEN)
        Simplified code
        Remove usage of sprintf("%llu") as this is not portable
      include/mysql.h:
        Added mysql_embedded() to be able to easily check if we are using the embedded server
      innobase/srv/srv0start.c:
        Don't use memcmp() when using purify (to avoid false warnings)
      libmysql/libmysql.c:
        Added mysql_embedded() to be able to easily check if we are using the embedded server
      libmysql/libmysql.def:
        Added mysql_embedded() to be able to easily check if we are using the embedded server
      myisam/myisam_ftdump.c:
        Remove compiler warning
      myisam/myisamchk.c:
        Remove compiler warning
      myisam/rt_test.c:
        #ifdef not used code
      mysys/hash.c:
        Remove compiler warning (from last push)
      mysys/my_gethwaddr.c:
        Remove compiler warning
      ndb/src/ndbapi/ndberror.c:
        #ifdef not used code
      regex/regcomp.c:
        Remove not used code
      regex/regcomp.ih:
        Remove not used code (to remove compiler warnings)
      sql-common/client.c:
        Remove compiler warnings
      sql/field.cc:
        Simple optimization
      sql/ha_innodb.cc:
        Rename mysql_embedded -> mysqld_embedded
      sql/item.cc:
        Fix comments
        Move variables first on block
        Remove else after return
        Simple optimizations
        (no logic changes)
      sql/item_cmpfunc.cc:
        Added comment
      sql/mysql_priv.h:
        Rename mysql_embedded -> mysqld_embedded
      sql/mysqld.cc:
        Rename mysql_embedded -> mysqld_embedded
      sql/sql_acl.cc:
        Added comments
        simple optimization
        Fixed 'very unlikely' bug when doing REVOKE ALL PRIVILEGES
      sql/sql_select.cc:
        More comments
        Simple optimization
      sql/sql_show.cc:
        Simple changes to make similar code similar
        More comments
      sql/sql_string.cc:
        Trivial optimization and better code layout
      strings/Makefile.am:
        Change xml.c to use bcmp to avoid warnings from purify
      strings/xml.c:
        Change xml.c to use bcmp to avoid warnings from purify
      tests/client_test.c:
        Remove usage of MAXPATHLEN (all MySQL code uses FN_REFLEN)
      da02110d
  11. 07 Oct, 2004 1 commit
  12. 28 Sep, 2004 1 commit
    • unknown's avatar
      client_test.test: · c7a18f63
      unknown authored
        Run client_test as a testcase
        new file
      mysql-test-run.sh:
        More clearly report failure if --force, also exit 1
      client_test.c:
        Use MAXPATHLEN in test_frm_bug()
        Renable test cases disabled for running from mysql-test-run
      mysqltest.c:
        Don't check errno from popen, may not be set
      
      
      client/mysqltest.c:
        Don't check errno from popen, may not be set
      tests/client_test.c:
        Use MAXPATHLEN in test_frm_bug()
        Renable test cases disabled for running from mysql-test-run
      mysql-test/mysql-test-run.sh:
        More clearly report failure if --force, also exit 1
      mysql-test/t/client_test.test:
        Run client_test as a testcase
      c7a18f63
  13. 27 Sep, 2004 1 commit
    • unknown's avatar
      mysql-test-run.sh: · a26cea5e
      unknown authored
        Added timing output for each test case.
        Added --embedded-server option.
      mysqltest.c:
        Added 'start_timer', 'end_timer' commands
      Makefile.am:
        Include mysys/my_getsystime.c to get time function in mysqltest
      Many files:
        new file
      
      
      client/Makefile.am:
        Include mysys/my_getsystime.c to get time function in mysqltest
      client/mysqltest.c:
        Added 'start_timer', 'end_timer' commands
      mysql-test/mysql-test-run.sh:
        Added timing output for each test case.
        Added --embedded-server option.
      a26cea5e
  14. 25 Sep, 2004 1 commit
    • unknown's avatar
      client_test.c: · cb77c4d2
      unknown authored
        Return exit(1) instead of exit(0) on failure.
        Allow longer path names using MAXPATHLEN.
        Added option --testcase that skips some failing tests.
        Replaced 'return' with exit(1) in test_frm_bug().
      mysqltest.c:
        Let --exec fail if command fails
      
      
      client/mysqltest.c:
        Let --exec fail if command fails
      tests/client_test.c:
        Return exit(1) instead of exit(0) on failure.
        Allow longer path names using MAXPATHLEN.
        Added option --testcase that skips some failing tests.
        Replaced 'return' with exit(1) in test_frm_bug().
      cb77c4d2
  15. 16 Sep, 2004 1 commit
    • unknown's avatar
      mysqltest.c: · 0fa65871
      unknown authored
        Feature to solve Bug#4640, added "--character_set <charset>" test case option
      
      
      client/mysqltest.c:
        Feature to solve Bug#4640, added "--character_set <charset>" test case option
      0fa65871
  16. 15 Sep, 2004 1 commit
    • unknown's avatar
      WL#964 · 617542cd
      unknown authored
      porting mysql_test_run on Linux and Windows
      
      
      client/mysqltest.c:
        added windows code
      mysql-test/Makefile.am:
        added code of creating make file
      mysql-test/r/fulltext.result:
        added FORMAT() for compatible with Windows version
      mysql-test/r/fulltext_cache.result:
        added FORMAT()
      mysql-test/r/fulltext_multi.result:
        added FORMAT()
      mysql-test/r/fulltext_order_by.result:
        added FORMAT()
      mysql-test/r/type_float.result:
        added --replace-result
      mysql-test/t/fulltext.test:
        added FORMAT()
      mysql-test/t/fulltext_cache.test:
        added FORMAT()
      mysql-test/t/fulltext_multi.test:
        added FORMAT()
      mysql-test/t/fulltext_order_by.test:
        added FORMAT()
      mysql-test/t/innodb.test:
        added --replace-result
      mysql-test/t/insert.test:
        added --replace_result
      mysql-test/t/type_float.test:
        added --replace-result
      mysql-test/t/variables.test:
        added --replace_result
      617542cd
  17. 31 Aug, 2004 1 commit
    • unknown's avatar
      Added global my_getopt_error_reporter function pointer which is · c3f7e3bb
      unknown authored
      used in the handle_options() function (instead of using additional 
      handle_option() parameter). The default value of the 
      my_getopt_error_reporter is default_reporter(). One can set it to
      other functions if case of need.
      
      
      client/mysql.cc:
        Removed extra handle_optins()'s parameter.
      client/mysqladmin.c:
        Removed extra handle_optins()'s parameter.
      client/mysqlbinlog.cc:
        Removed extra handle_optins()'s parameter.
      client/mysqlcheck.c:
        Removed extra handle_optins()'s parameter.
      client/mysqldump.c:
        Removed extra handle_optins()'s parameter.
      client/mysqlimport.c:
        Removed extra handle_optins()'s parameter.
      client/mysqlmanager-pwgen.c:
        Removed extra handle_optins()'s parameter.
      client/mysqlmanagerc.c:
        Removed extra handle_optins()'s parameter.
      client/mysqlshow.c:
        Removed extra handle_optins()'s parameter.
      client/mysqltest.c:
        Removed extra handle_optins()'s parameter.
      extra/my_print_defaults.c:
        Removed extra handle_optins()'s param...
      c3f7e3bb
  18. 24 Aug, 2004 1 commit
    • unknown's avatar
      Enabled mysqltest for MASTER_PORT replacement. · fcc59b6e
      unknown authored
      Replaced fixed port numbers by MASTER_PORT replacement.
      This allows for a set of ports per tree and hence
      parallel testing on multiple trees.
      
      
      client/mysqltest.c:
        Enabled mysqltest for MASTER_PORT replacement.
      mysql-test/r/rpl000014.result:
        Replaced fixed port numbers by MASTER_PORT.
      mysql-test/r/rpl000015.result:
        Replaced fixed port numbers by MASTER_PORT.
      mysql-test/r/rpl_rotate_logs.result:
        Replaced fixed port numbers by MASTER_PORT.
      mysql-test/t/rpl000001.test:
        Replaced fixed port numbers by MASTER_PORT replacement.
        Just in case it might get un-commented.
      mysql-test/t/rpl000014.test:
        Replaced fixed port numbers by MASTER_PORT replacement.
      mysql-test/t/rpl000015.test:
        Replaced fixed port numbers by MASTER_PORT replacement.
      mysql-test/t/rpl_rotate_logs.test:
        Replaced fixed port numbers by MASTER_PORT replacement.
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      fcc59b6e
  19. 14 Aug, 2004 1 commit
    • unknown's avatar
      mysql_priv.h: · 7c3ecdff
      unknown authored
        Added declarations for print_msg_to_log and vprint_msg_to_log.  sql_print_error are simple functions that wrap calls to print_msg_to_log.  Define the different error types with MY_ERROR_TYPE, MY_WARNING_TYPE, and MY_INFORMATION_TYPE
      gen_lex_hash.cc:
        Added NULL error reporting parameter to handle_options
      log.cc:
        Add print_msg_to_log, print_buffer_to_log, and vprint_msg_to_log.  Print_msg_to_log will write the message to the windows event log if on NT.  We now have error, warning, and information versions of sql_print_xxxx.  T his is a variation of a similar changeset WAX did.
      mysqld.cc:
        Added option_error_reporter callback function and pass that into handle_options
      mysql.cc:
        Added NULL as error reporter arg to the end of handle_options
      Many files:
        Added NULL error reporter parameter as the last paramter to handle_options
      my_getopt.c:
        Added second function pointer to server as an error reporting callback.  Added local function report_option_error that will either write the error to stderr or to the error reporting callback.  changed all calls in handle_options from fprintf(stderr, ... ) to report_option_error
      my_getopt.h:
        Changed declaration of handle_options to use typedefs for the two function pointers.  added second function pointer to server as an error reporting callback
      mysqld.dsp:
        Added custom build step for compiling message file and added message resource file (output of mc)
      
      
      VC++Files/sql/mysqld.dsp:
        Added custom build step for compiling message file and added message resource file (output of mc)
      client/mysqladmin.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      client/mysqlcheck.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      client/mysqldump.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      client/mysqlimport.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      client/mysqlmanager-pwgen.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      client/mysqlmanagerc.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      client/mysqlbinlog.cc:
        Added NULL error reporter parameter as the last paramter to handle_options
      client/mysqlshow.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      client/mysqltest.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      extra/my_print_defaults.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      extra/mysql_install.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      extra/mysql_waitpid.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      extra/perror.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      extra/resolve_stack_dump.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      extra/resolveip.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      isam/isamchk.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      isam/pack_isam.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      myisam/mi_test1.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      myisam/myisam_ftdump.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      myisam/myisamchk.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      myisam/myisampack.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      include/my_getopt.h:
        Changed declaration of handle_options to use typedefs for the two function pointers.  added second function pointer to server as an error reporting callback
      mysys/my_getopt.c:
        Added second function pointer to server as an error reporting callback.  Added local function report_option_error that will either write the error to stderr or to the error reporting callback.  changed all calls in handle_options from fprintf(stderr, ... ) to report_option_error
      tools/mysqlmanager.c:
        Added NULL error reporter parameter as the last paramter to handle_options
      client/mysql.cc:
        Added NULL as error reporter arg to the end of handle_options
      sql/mysqld.cc:
        Added option_error_reporter callback function and pass that into handle_options
      sql/log.cc:
        Add print_msg_to_log, print_buffer_to_log, and vprint_msg_to_log.  Print_msg_to_log will write the message to the windows event log if on NT.  We now have error, warning, and information versions of sql_print_xxxx.  T his is a variation of a similar changeset WAX did.
      sql/gen_lex_hash.cc:
        Added NULL error reporting parameter to handle_options
      sql/mysql_priv.h:
        Added declarations for print_msg_to_log and vprint_msg_to_log.  sql_print_error are simple functions that wrap calls to print_msg_to_log.  Define the different error types with MY_ERROR_TYPE, MY_WARNING_TYPE, and MY_INFORMATION_TYPE
      BitKeeper/etc/logging_ok:
        Logging to logging@openlogging.org accepted
      7c3ecdff
  20. 07 Aug, 2004 1 commit
    • unknown's avatar
      cleanup · d11111ef
      unknown authored
      mysql-test/r/select_found.result:
        explain added
      mysql-test/t/select_found.test:
        cleanup. 5000-char long line removed :)
      sql/sql_select.cc:
        reverted
      d11111ef
  21. 06 Jul, 2004 1 commit
    • unknown's avatar
      mysqltest.c: · c7586d02
      unknown authored
        Bug #4338  	mysql-test-run fails if compiled with non-latin1 character set.
      
      
      client/mysqltest.c:
        Bug #4338  	mysql-test-run fails if compiled with non-latin1 character set.
      c7586d02
  22. 02 Jul, 2004 2 commits
    • unknown's avatar
      Fixing a bug in mysqltest.c: · 844c4973
      unknown authored
      if a command has a comment at the end of line, like:
      error 2002 ; # this is error 2002
      then the parsing of comment should not make mysqltest
      forget about the value of expected error.
      Reason it forgot it (so the next query caused the test to fail)
      is that internally the above line is 2 queries.
      
      
      
      client/mysqltest.c:
        if a command has a comment at the end of line, like:
        error 2002 ; # this is error 2002
        then the parsing of comment should not make mysqltest
        forget about the value of expected error.
      844c4973
    • unknown's avatar
      unused (and unnecessary) mysqltest commands removed · f3cedebe
      unknown authored
      client/mysqltest.c:
        unused (and unnecessary) commands removed
      f3cedebe
  23. 23 Jun, 2004 1 commit
  24. 21 Jun, 2004 1 commit
    • unknown's avatar
      After merge fixes · 0c0b2bae
      unknown authored
      Return NULL if a time argument is given to date_add(). (Warning will be shown after Dimitri's timezone patch is pushed)
      
      
      client/mysqltest.c:
        Added MAX_VAR_NAME which was lost in merge
        Added more debugging
        Fixed bug in 'eval'
      innobase/data/data0type.c:
        After merge fix
      innobase/fil/fil0fil.c:
        After merge fix
      innobase/log/log0recv.c:
        After merge fix
      myisam/mi_unique.c:
        Better checksum handling
      mysql-test/r/func_time.result:
        Return NULL if a time argument is given to date_add()
      mysql-test/r/rpl_free_items.result:
        After merge fix
      mysql-test/r/rpl_get_lock.result:
        Test was depending on when server was restarted.
      mysql-test/r/type_date.result:
        After merge fix
      mysql-test/r/type_decimal.result:
        After merge fix
      mysql-test/t/func_time.test:
        Removed comment that is not needed anymore
        (After Dimitri's timezone patch is pushed, we should get a warning for the date_add(time...) entry)
      mysql-test/t/rpl_get_lock.test:
        Test was depending on when server was restarted.
      mysql-test/t/type_date.test:
        Addded missing explanation for bug
      netware/mysqld_safe.c:
        Removed end \r
        Run program through indent-ex to get MySQL indentation
      sql-common/client.c:
        After merge fix
      sql/field.cc:
        Fixed that get_date(time) gives a warning
      sql/field.h:
        After merge fix
      sql/net_serv.cc:
        More debugging (if DEBUG_DATA_PACKETS is set)
      sql/sql_class.cc:
        Removed compiler warning
      sql/table.cc:
        Better comment
      0c0b2bae
  25. 20 Jun, 2004 1 commit
    • unknown's avatar
      Robustness feature. · 9a6e7a83
      unknown authored
      Won't be pushed as is - separate email sent for internal review.
      WL#1717 "binlog-innodb consistency".
      Now when mysqld starts, if InnoDB does a crash recovery, we use the binlog name
      and position retrieved from InnoDB (corresponding to the last transaction
      successfully committed by InnoDB) to cut any rolled back transaction from
      the binary log. This is triggered by the --innodb-safe-binlog option.
      Provided you configure mysqld to fsync() InnoDB at every commit (using
      flush_log_at_trx_commit) and to fsync() the binlog at every write
      (using --sync-binlog=1), this behaviour guarantees that a master always has
      consistency between binlog and InnoDB, whenever the crash happens.
      6 tests to verify that it works.
      
      
      client/mysqltest.c:
        New command require_os (only "unix" accepted for now).
      innobase/include/trx0sys.h:
        when InnoDB does crash recovery, we now save the binlog coords it prints, into variables for later use.
      innobase/trx/trx0sys.c:
        when InnoDB does crash recovery, we now save the binlog coords it prints, into variables for later use.
      mysql-test/mysql-test-run.sh:
        The tests which check that the binlog is cut at restart, need to not delete those binlogs, of course.
        And not delete replication info, so that we can test that the slave does not receive anything
        wrong from the cut binlog.
      sql/ha_innodb.cc:
        methods to read from InnoDB the binlog coords stored into it
      sql/ha_innodb.h:
        ethods to read from InnoDB the binlog coords stored into it
      sql/log.cc:
        Added my_sync() when we create a binlog (my_sync of the binlog and of the index file);
        this is always done, whether --sync-binlog or not (binlog creation is rare, so no speed
        problem, and I like to have the existence of the binlog always reliably recorded, even if
        later content is not).
        If --crash-binlog-innodb, crash between the binlog write and the InnoDB commit.
        New methods:
        - report_pos_in_innodb() to store the binlog name and position into InnoDB (used only when
        we create a new binlog: at startup and at FLUSH LOGS)
        - cut_spurious_tail() to possibly cut the tail of a binlog based on the info we read
        from InnoDB (does something only if InnoDB has just done a crash recovery).
      sql/mysql_priv.h:
        new option, to crash (use for testing only)
      sql/mysqld.cc:
        New option --innodb-safe-binlog and --crash-binlog-innodb (the latter is for testing, it makes mysqld crash).
        Just after opening the logs and opening the storage engines, cut any wrong statement from the binlog, based
        on info read from InnoDB.
      sql/sql_class.h:
        new methods for MYSQL_LOG.
      9a6e7a83
  26. 18 Jun, 2004 1 commit
    • unknown's avatar
      Fixed some byte order bugs with prepared statements on machines with high-byte-first. (Bug #4173) · 9fa13ebe
      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 ...
      9fa13ebe
  27. 11 Jun, 2004 2 commits
  28. 01 Jun, 2004 1 commit
  29. 25 May, 2004 1 commit
    • unknown's avatar
      Added patches from Novell · a37fc4bb
      unknown authored
      Build-tools/Do-compile:
        Fixed indentation
      configure.in:
        Added patches from Novell
        Added C_EXTRA_FLAGS as an easy way to pass flags to both CFLAGS and CXXFLAGS
      extra/perror.c:
        Fixed error number reporting to not report 'Unknown error'
      include/my_global.h:
        Defines to make NETWARE patches cleaner
      include/thr_alarm.h:
        Fixed wrong macro
      netware/mysql_install_db.c:
        Indentation fix
      a37fc4bb
  30. 19 May, 2004 1 commit
    • unknown's avatar
      Portability fixes · 8d71b268
      unknown authored
      Fixed wrong number of warnings/duplicates for machines with high-byte-first
      
      
      client/mysql.cc:
        Remove not used variables
      client/mysqltest.c:
        Remove double ;
      myisam/ft_nlq_search.c:
        Fix valgrind error (not fatal)
      myisam/rt_test.c:
        Portability fix
      mysql-test/r/rpl_trunc_binlog.result:
        Portability fix
      mysql-test/t/rpl_trunc_binlog.test:
        Portability fix
        (Column 23 was different on openbsd)
      sql/sql_insert.cc:
        Fixed wrong number of warnings/duplicates for machines with high-byte-first
      strings/ctype-big5.c:
        Portability fix
      strings/ctype-gbk.c:
        Portability fix
      strings/ctype-mb.c:
        Portability fix
      strings/ctype-uca.c:
        Portability fix
      tests/client_test.c:
        Portability fixes
      8d71b268
  31. 14 May, 2004 1 commit
    • unknown's avatar
      Replication testsuite: making the master-slave synchronization less likely to fail, · 190b3a25
      unknown authored
      by adding sleep-and-retries (max 4 times) if MASTER_POS_WAIT() returns NULL
      in sync_with_master and sync_slave_with_master.
      The problem showed up only today, in MySQL 5.0 in rpl_server_id2.test,
      but may affect 4.x as well, so fixing it here. Note that I am also fixing
      5.0 too, with the same exact patch, because I don't want to leave 5.0 broken
      until the next 4.0->4.1->5.0 merge.
      
      
      client/mysqltest.c:
        in sync_with_master (and sync_slave_with_master), if MASTER_POS_WAIT() returns NULL,
        it may be that the slave SQL thread did not have time to start yes, so we sleep
        1 sec and retry, 4 times at most.
      mysql-test/r/rpl_server_id2.result:
        result update
      mysql-test/t/rpl_server_id2.test:
        master_slave.inc already drops the table
      190b3a25
  32. 06 Apr, 2004 1 commit
  33. 31 Mar, 2004 1 commit
    • unknown's avatar
      simple optimzation · 58402416
      unknown authored
      Portability fixes
      
      
      client/mysqltest.c:
        Fixed that if error number 0 is included in --error, we will not generate an error message
      include/mysql.h:
        Portability fix
      mysql-test/mysql-test-run.sh:
        Portability fix
      mysql-test/r/heap_btree.result:
        Portability fix
      mysql-test/r/rpl_error_ignored_table.result:
        Portability fix
      mysql-test/t/heap_btree.test:
        Portability fix
      mysql-test/t/rpl_error_ignored_table.test:
        Portability fix
      sql/sql_base.cc:
        simple optimzation
      sql/sql_yacc.yy:
        simple optimzation
      58402416
  34. 30 Mar, 2004 1 commit
    • unknown's avatar
      Fix to get correct metadata when using temporary tables to create result. (Bug #2654) · 961767fa
      unknown authored
      client/mysqltest.c:
        Added support for --enable_metadata
      mysql-test/t/order_by.test:
        Improved comment
      scripts/mysqlaccess.sh:
        CGI is required (Bug #2988)
      sql/field.cc:
        Fix to get correct metadata when using temporary tables to create result
      sql/field.h:
        Fix to get correct metadata when using temporary tables to create result
      sql/sql_insert.cc:
        Fix to get correct metadata when using temporary tables to create result
      961767fa
  35. 20 Mar, 2004 1 commit
    • unknown's avatar
      Ensure that we use unix file format (no \r\n) for all new files · b6cbcc8f
      unknown authored
      Portability fixes
      
      
      mysql-test/resolve-stack:
        Turn off EOLN_NATIVE flag
      mysql-test/t/ansi.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/backup-master.sh:
        Turn off EOLN_NATIVE flag
      mysql-test/t/bdb-alter-table-2-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/bdb-deadlock.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/bdb_cache-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/bdb_cache.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/bool.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/cast.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/connect.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/constraints.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/count_distinct3.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/ctype_big5.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/ctype_collate.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/ctype_cp1251-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/ctype_cp1251.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/ctype_create.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/ctype_latin1_de-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/ctype_latin1_de.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/ctype_many.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/ctype_mb.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/ctype_recoding.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/ctype_tis620-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/ctype_tis620.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/ctype_ucs.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/ctype_ujis.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/ctype_utf8.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/date_formats-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/date_formats.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/drop_temp_table.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/fulltext2.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/func_compress.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/func_concat.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/func_default.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/func_encrypt-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/func_gconcat.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/func_if.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/func_isnull.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/func_sapdb.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/gcc296.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/gis-rtree.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/gis.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/grant.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/grant2.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/grant_cache-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/grant_cache.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/heap_auto_increment.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/heap_btree.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/heap_hash.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/help.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/init_connect-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/init_connect.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/init_file-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/init_file.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/innodb-deadlock.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/innodb_cache-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/innodb_cache.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/innodb_handler.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/insert_update.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/isam.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/key_cache-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/key_cache.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/loaddata.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/lock_multi.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/lock_tables_lost_commit-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/lock_tables_lost_commit.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/lowercase_table-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/lowercase_table.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/lowercase_table2.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/lowercase_table3-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/lowercase_table3.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/lowercase_table_qcache-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/lowercase_table_qcache.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/mix_innodb_myisam_binlog.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/multi_statement.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/multi_update-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/myisam-blob-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/myisam-blob.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/mysqlbinlog-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/mysqlbinlog.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/mysqldump.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/negation_elimination.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/packet.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/preload.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/query_cache.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/query_cache_merge.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/repair_part1.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/repair_part2-master.sh:
        Turn off EOLN_NATIVE flag
      mysql-test/t/repair_part2.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/row.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl000001-slave.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_EE_error.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_alter.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_chain_temp_table.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_change_master.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_do_grant.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_empty_master_crash.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_error_ignored_table-slave.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_error_ignored_table.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_failsafe.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_flush_log_loop-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_flush_log_loop-master.sh:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_flush_log_loop-slave.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_flush_log_loop-slave.sh:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_flush_log_loop.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_flush_tables.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_get_lock.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_heap.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_ignore_grant-slave.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_ignore_grant.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_init_slave-slave.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_init_slave.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_insert_id-slave.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_insert_id.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_loaddata.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_loaddata_rule_m-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_loaddata_rule_m.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_loaddata_rule_s-slave.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_loaddata_rule_s.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_loaddatalocal.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_log-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_log-slave.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_master_pos_wait.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_max_relay_size.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_misc_functions-slave.sh:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_misc_functions.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_multi_delete-slave.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_multi_delete.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_multi_update.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_openssl.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_optimize.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_relayrotate-slave.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_relayrotate.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_relayspace-slave.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_relayspace.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_reset_slave.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_skip_error-slave.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_skip_error.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_temporary.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_trunc_binlog.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_until.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/rpl_user_variables.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/sql_mode.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/subselect.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/subselect2.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/subselect_innodb.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/system_mysql_db.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/system_mysql_db_fix-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/system_mysql_db_fix.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/system_mysql_db_refs.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/timezone-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/timezone.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/type_nchar.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/type_set.test:
        Turn off EOLN_NATIVE flag
      mysql-test/t/union-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/variables-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/t/warnings-master.opt:
        Turn off EOLN_NATIVE flag
      mysql-test/r/ansi.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/bdb-deadlock.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/bdb_cache.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/bool.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/cast.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/check_var_limit.require:
        Turn off EOLN_NATIVE flag
      mysql-test/r/connect.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/constraints.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/count_distinct3.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/ctype_big5.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/ctype_collate.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/ctype_cp1251.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/ctype_create.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/ctype_latin1_de.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/ctype_mb.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/ctype_recoding.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/ctype_tis620.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/ctype_ucs.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/ctype_ujis.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/ctype_utf8.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/date_formats.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/delete.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/drop_temp_table.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/errors.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/foreign_key.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/fulltext2.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/func_compress.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/func_concat.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/func_default.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/func_gconcat.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/func_if.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/func_isnull.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/func_sapdb.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/gcc296.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/gis-rtree.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/gis.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/grant.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/grant2.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/grant_cache.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/have_big5.require:
        Turn off EOLN_NATIVE flag
      mysql-test/r/have_compress.require:
        Turn off EOLN_NATIVE flag
      mysql-test/r/have_crypt.require:
        Turn off EOLN_NATIVE flag
      mysql-test/r/have_met_timezone.require:
        Turn off EOLN_NATIVE flag
      mysql-test/r/have_query_cache.require:
        Turn off EOLN_NATIVE flag
      mysql-test/r/have_tis620.require:
        Turn off EOLN_NATIVE flag
      mysql-test/r/have_ucs2.require:
        Turn off EOLN_NATIVE flag
      mysql-test/r/have_ujis.require:
        Turn off EOLN_NATIVE flag
      mysql-test/r/heap_auto_increment.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/heap_btree.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/heap_hash.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/help.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/init_connect.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/innodb-deadlock.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/innodb_cache.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/innodb_handler.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/insert_update.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/isam.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/key_cache.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/loaddata.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/lock_multi.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/lock_tables_lost_commit.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/lowercase0.require:
        Turn off EOLN_NATIVE flag
      mysql-test/r/lowercase2.require:
        Turn off EOLN_NATIVE flag
      mysql-test/r/lowercase_table.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/lowercase_table2.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/lowercase_table3.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/lowercase_table_qcache.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/mix_innodb_myisam_binlog.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/multi_statement.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/myisam-blob.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/mysqlbinlog.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/mysqldump.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/negation_elimination.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/not_embedded.require:
        Turn off EOLN_NATIVE flag
      mysql-test/r/overflow.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/packet.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/preload.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/query_cache.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/query_cache_merge.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/repair_part1.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/repair_part2.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/row.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/rpl_EE_error.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/rpl_alter.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/rpl_chain_temp_table.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/rpl_change_master.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/rpl_do_grant.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/rpl_empty_master_crash.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/rpl_error_ignored_table.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/rpl_failsafe.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/rpl_flush_log_loop.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/rpl_flush_tables.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/rpl_get_lock.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/rpl_heap.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/rpl_ignore_grant.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/rpl_init_slave.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/rpl_insert_id.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/rpl_loaddata.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/rpl_loaddata_rule_m.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/rpl_loaddata_rule_s.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/rpl_loaddatalocal.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/rpl_master_pos_wait.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/rpl_max_relay_size.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/rpl_misc_functions.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/rpl_multi_delete.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/rpl_multi_update.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/rpl_openssl.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/rpl_optimize.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/rpl_relayrotate.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/rpl_relayspace.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/rpl_reset_slave.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/rpl_skip_error.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/rpl_temporary.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/rpl_trunc_binlog.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/rpl_until.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/rpl_user_variables.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/sql_mode.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/subselect.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/subselect2.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/subselect_innodb.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/system_mysql_db.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/system_mysql_db_refs.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/timezone.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/true.require:
        Turn off EOLN_NATIVE flag
      mysql-test/r/type_nchar.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/type_set.result:
        Turn off EOLN_NATIVE flag
      mysql-test/r/warnings.result:
        Turn off EOLN_NATIVE flag
      BitKeeper/etc/config:
        Ensure that we use unix file format (no \r\n) for all new files
      client/mysqltest.c:
        Fix for previous push (long delimiters)
      mysql-test/r/derived.result:
        Fixed results
      mysql-test/r/rpl000009.result:
        Fixed results
      mysql-test/t/derived.test:
        Make test portable (for lower_case_table_names=2)
      mysql-test/t/rpl000009.test:
        After merge fix
      b6cbcc8f
  36. 19 Mar, 2004 2 commits
    • unknown's avatar
      Added test to show bug in current union implementation · 7f2c50f7
      unknown authored
      After merge fixes
      Portability fixes
      
      
      client/mysqltest.c:
        Fixed that unget() is done properly (needed for QNX where one can't do many ungetc() in a row)
      include/errmsg.h:
        After merge fixes
      mysql-test/mysql-test-run.sh:
        merge fix
      mysql-test/r/system_mysql_db.result:
        Updated results for 4.1
      mysql-test/r/union.result:
        Added new test
      mysql-test/t/derived.test:
        Portability fix (for Mac OS X)
      mysql-test/t/system_mysql_db_refs.test:
        Remove warnings
      mysql-test/t/union.test:
        Added test to show bug in current union implementation (to be fixed in 4.1)
      scripts/mysql_create_system_tables.sh:
        Fix wrong column define
      scripts/mysql_fix_privilege_tables.sh:
        Fix for mysql-test-run
      scripts/mysql_fix_privilege_tables.sql:
        Merge with 4.0 to get comments.
        Updated so that it works with privilege tables for MySQL 3.23.
      sql/repl_failsafe.cc:
        After merge fix
      7f2c50f7
    • unknown's avatar
      Portability fixes · 5f00bc3c
      unknown authored
      Removed \r from new tests
      Fixes to get new sustem_mysql_db... tests to work
      
      
      client/mysqltest.c:
        More debug information
      innobase/que/que0que.c:
        Fixed wrong usage of __attribute
      mysql-test/mysql-test-run.sh:
        Portability fix; Added CLIENT_BINDIR
      mysql-test/t/system_mysql_db_fix.test:
        Removed \r
      mysql-test/t/system_mysql_db_refs.test:
        Removed \r
      scripts/mysql_fix_privilege_tables.sh:
        Don't set root password from first option
        Added --bindir option
      5f00bc3c