An error occurred fetching the project authors.
  1. 27 Apr, 2006 1 commit
    • unknown's avatar
      Add test to mysql-test-run.pl to see if the udf_example.so is availble. Set... · 1bdc15e1
      unknown authored
      Add test to mysql-test-run.pl to see if the udf_example.so is availble. Set envioronment variable UDF_EXAMPLE_LIB if it is.
      Then check in have_udf if that variable is set. Finally use tahe variable when loading the shared library. 
      
      
      mysql-test/include/have_udf.inc:
        Add check if udf_example.so(or similar) is available
      mysql-test/lib/mtr_misc.pl:
        Add funcion "mtr_file_exist" to search for files
      mysql-test/mysql-test-run.pl:
        Add checks to find the udf_example.so library
      mysql-test/r/udf.result:
        Update result
      mysql-test/t/disabled.def:
        Remove udf.test from disabled tests
      mysql-test/t/udf.test:
        Use variable UDF_EXAMPLE_LIB when looking for shared library to load
      mysql-test/r/have_udf_example.require:
        New BitKeeper file ``mysql-test/r/have_udf_example.require''
      1bdc15e1
  2. 24 Apr, 2006 1 commit
  3. 21 Apr, 2006 1 commit
  4. 12 Apr, 2006 1 commit
    • unknown's avatar
      Bug#18564 Test failure due to test not checking preconditions · 0a8d876d
      unknown authored
       - Add variable "have_dynamic_loading" and use it to check if the udf test should be run.
      
      
      mysql-test/include/have_udf.inc:
        Use variable "have_dynamic_loading" to to determine if there is support for udf's
      mysql-test/r/have_udf.require:
        Use variable "have_dynamic_loading" to to determine if there is support for udf's
      mysql-test/t/disabled.def:
        Remove udf from disabled
      sql/mysql_priv.h:
        Add have_dlopen variable
      sql/mysqld.cc:
        Add have_dlopen variable
      sql/set_var.cc:
        Add have_dlopen variable and name it "have_dynamic_loading" in "SHOW VARIABLES"
      0a8d876d
  5. 28 Mar, 2006 1 commit
    • unknown's avatar
      Disable udf test · 63605b9f
      unknown authored
      BitKeeper/etc/ignore:
        Added mysql-test/r/udf.log to the ignore list
      mysql-test/t/disabled.def:
        Disable the udf test, per bug #18564. Permission by Brian
      63605b9f
  6. 16 Feb, 2006 1 commit
    • unknown's avatar
      ndb_load disabled · 4283d9f0
      unknown authored
      mysql-test/t/disabled.def:
        Disable ndb_load again...
      4283d9f0
  7. 15 Feb, 2006 1 commit
    • unknown's avatar
      Fix bug #15706 find_field_in_tables() returns field from outer select · de0c65dd
      unknown authored
      If item->cached_table is set, find_field_in_tables() returns found field
      even if it doesn't belong to current select. Because Item_field::fix_fields
      doesn't expect such behaviour, reported bug occurs.
      
      Item_field::fix_fields() was modifed to detect when find_field_in_tables() 
      can return field from outer select and process such fields accordingly.
      In order to ease this code which was searching and processing outed fields was
      moved into separate function called Item_field::fix_outer_field().
      
      
      sql/item_subselect.h:
        Fixed bug #15706: find_field_in_tables() returns field from outer select
        Item_field::fix_outer_field() was marked as friend to Item_subselect class.
      sql/item.h:
        Fixed bug #15706: find_field_in_tables() returns field from outer select
        fix_outer_field() function is added to the Item_field class.
      sql/item.cc:
        Fixed bug #15706: find_field_in_tables() returns field from outer select
        
        Item_ref::fix_fields() and Item_field::fix_fields() were modifed to detect when
        find_field_in_tables() can return field from outer select and process such
        fields accordingly.
        In order to ease this, code Item_field::fix_fields() which was searching and
        processing outer fields was moved into separate function called
        Item_field::fix_outer_field().
        To the Item_field::fix_field() added a loop for finding context for found field.
      mysql-test/t/disabled.def:
        Fixed bug #15706: find_field_in_tables() returns field from outer select
        Enable subselect test
      de0c65dd
  8. 14 Feb, 2006 1 commit
  9. 08 Feb, 2006 1 commit
  10. 27 Jan, 2006 1 commit
    • unknown's avatar
      Enable kill test · 7cdbff97
      unknown authored
      mysql-test/t/disabled.def:
        Enable the kill test
      7cdbff97
  11. 10 Jan, 2006 1 commit
  12. 05 Jan, 2006 1 commit
    • unknown's avatar
      Review fixes of new pushed code · 64206b18
      unknown authored
      - Fixed tests
      - Optimized new code
      - Fixed some unlikely core dumps
      - Better bug fixes for:
        - #14397 - OPTIMIZE TABLE with an open HANDLER causes a crash
        - #14850 (ERROR 1062 when a quering a view using a Group By on a column that can be null
      
      
      mysql-test/r/create.result:
        Update results after removing wrong warnings for CREATE ... SELECT
        New tests
      mysql-test/r/handler.result:
        Drop used tables
      mysql-test/r/kill.result:
        Make test portable
      mysql-test/r/mysqlshow.result:
        Drop tables used by previous test
      mysql-test/r/trigger.result:
        Reuse old procedure name
      mysql-test/r/view.result:
        Extra tests
      mysql-test/t/create.test:
        New tests to test fix of removing wrong warnings for CREATE ... SELECT
      mysql-test/t/disabled.def:
        Enable 'kill' test (should now be portable)
      mysql-test/t/handler.test:
        Drop used tables
      mysql-test/t/kill.test:
        Make test portable even if kill doesn't work at once
      mysql-test/t/mysqlshow.test:
        Drop tables used by previous test
      mysql-test/t/trigger.test:
        Reuse old procedure name
      mysql-test/t/view.test:
        Extra tests
      sql/field.cc:
        Removed compiler warning
      sql/ha_federated.cc:
        my_snprintf -> strmake()
        (Simple optimization)
      sql/ha_ndbcluster.cc:
        Indentation cleanups and trival optimization
      sql/item.cc:
        Moved save_org_in_field() to item.cc to make it easier to test
        Remove setting of null_value as this is not needed
      sql/item.h:
        Moved save_org_in_field() to item.cc to make it easier to test
      sql/log_event.cc:
        Remove inline of slave_load_file_stem()
        Added 'extension' parameter to slave_load_file_stem() to get smaller code
        Removed not critical (or needed) DBUG_ASSERT()'s
        Cleaned up usage of slave_load_file_stem() to not depend on constant string lengths
        Indentation fixes
      sql/opt_range.cc:
        Moved code from declaration to function body
        (To make it more readable)
      sql/parse_file.cc:
        Fixed DBUG_PRINT
      sql/sp.cc:
        Simple cleanups
        - Removed not needed {} level
        - Ensure saved variables starts with old_
      sql/sp_head.cc:
        Indentation fixes
        Remove core dump when using --debug when m_next_cached_sp == 0
        Fixed compiler warnings
        Trivial optimizations
      sql/sp_head.h:
        Changed argument to set_definer() to const
        Added THD argument to recursion_level_error() to avoid call to current_thd
      sql/sql_acl.cc:
        Removed not needed test (first_not_own_table is the guard)
      sql/sql_base.cc:
        Removed extra empty line
      sql/sql_handler.cc:
        Don't test table version in mysql_ha_read() as this is already tested in lock_tables()
        Moved call to insert_fields to be after lock_table() to guard aganst reopen of tables
        (Better fix for Bug#14397 - OPTIMIZE TABLE with an open HANDLER causes a crash)
      sql/sql_insert.cc:
        Mark fields that are set in CREATE ... SELECT as used
        (Removed wrong warnings about field not having a default value)
      sql/sql_parse.cc:
        Removed not needed test of 'tables' (first_not_own_table is the guard)
        Simplify code
      sql/sql_select.cc:
        Use group->field to check if value is null instead of item called by 'save_org_in_field'
        This is a better bug fix for #14850 (ERROR 1062 when a quering a view using a Group By on a column that can be null)
      sql/sql_trigger.cc:
        Move sql_modes_parameters outside of function
        Indentation fixes
        Fixed compiler warning
        Ensure that thd->lex->query_tables_own_last is set properly before calling check_table_access()
        (This allows us to remove the extra test in check_grant() and check_table_access())
      64206b18
  13. 16 Dec, 2005 1 commit
  14. 14 Dec, 2005 1 commit
  15. 05 Dec, 2005 1 commit
    • unknown's avatar
      Fix for Bug#12429: Replication tests fail: "Slave_IO_Running" (?) differs · 502412f9
      unknown authored
      Solution according to the comments made by Guilhem
      - rpl_relayrotate  Remove the SHOW SLAVE STATUS  It is not needed.
      - rpl_until, rpl_deadlock Omit the printing of the "Slave_IO_Running" value
      
      
      mysql-test/r/rpl_deadlock.result:
        Updated result
      mysql-test/r/rpl_relayrotate.result:
        Updated result
      mysql-test/r/rpl_until.result:
        Updated result
      mysql-test/t/disabled.def:
        Enabling of the testcases rpl_relayrotate, rpl_until, rpl_deadlock
      mysql-test/t/rpl_deadlock.test:
        Omit the printing of the "Slave_IO_Running" value
      mysql-test/t/rpl_relayrotate.test:
        Remove the SHWO STATUS SLAVE command
      mysql-test/t/rpl_until.test:
        Omit the printing of the "Slave_IO_Running" value
      502412f9
  16. 16 Nov, 2005 1 commit
  17. 03 Nov, 2005 2 commits
  18. 01 Nov, 2005 2 commits
    • unknown's avatar
      Reverting patch for BUG #14009 (use of abs() on null value causes problems with filesort · ee380a07
      unknown authored
      Fix for bug #14536: SELECT @A,@A:=... fails with prepared statements
      
      
      mysql-test/r/func_sapdb.result:
        Correct tests after reverting patch for BUG #14009 (use of abs() on null value causes problems with filesort)
      mysql-test/r/type_newdecimal.result:
        Correct tests after reverting patch for BUG #14009 (use of abs() on null value causes problems with filesort)
      mysql-test/r/user_var.result:
        More test with SELECT @A:=
      mysql-test/t/disabled.def:
        Enable user_var.test for
      mysql-test/t/user_var.test:
        More test with SELECT @A:=
      sql/item.cc:
        Simple optimization during review of new code
      sql/item_func.cc:
        Reverting patch for BUG #14009 (use of abs() on null value causes problems with filesort)
      sql/item_timefunc.h:
        timediff() can return NULL for not NULL arguments
      sql/sql_base.cc:
        Remove usage of current_thd() in mysql_make_view()
      sql/sql_lex.h:
        Remove usage of current_thd() in mysql_make_view()
      sql/sql_select.cc:
        Fix for bug #14536: SELECT @A,@A:=... fails with prepared statements
      sql/sql_view.cc:
        Remove usage of current_thd() in mysql_make_view()
        Simple optimization of new code
      sql/sql_view.h:
        Remove usage of current_thd() in mysql_make_view()
      sql/table.cc:
        Simple optimization of new code
      ee380a07
    • unknown's avatar
      Additional fix for bug #14445 (analyse.test fails) · f9dbcd55
      unknown authored
      mysql-test/r/analyse.result:
        test result fixed
      mysql-test/t/disabled.def:
        user_var disabled
      sql/sql_analyse.cc:
        rounding added
      f9dbcd55
  19. 28 Oct, 2005 1 commit
  20. 25 Oct, 2005 1 commit
  21. 24 Oct, 2005 1 commit
    • unknown's avatar
      Disabled federated test, added then removed · e4309121
      unknown authored
      federated.disabled and instead using disabled.def (per
      comments in this commit)
      
      disabled.def:
        disabled federated until bug 14272 is fixed.
      .del-federated.disabled~9e4cca59f547174d:
        Delete: mysql-test/t/federated.disabled
      federated.disabled:
        New BitKeeper file ``t/federated.disabled'' to disable federated test until
        Bug 14272 is fixed.
        new file
      
      
      BitKeeper/deleted/.del-federated.disabled~9e4cca59f547174d:
        Delete: mysql-test/t/federated.disabled
      mysql-test/t/disabled.def:
        disabled federated until bug 14272 is fixed.
      e4309121
  22. 25 Sep, 2005 1 commit
    • unknown's avatar
      disabled.def: · 5aecf16a
      unknown authored
        Disable unstable test cases
        new file
      
      
      mysql-test/t/disabled.def:
        Disable unstable test cases
      5aecf16a
  23. 25 Aug, 2005 1 commit
    • unknown's avatar
      disabled.def: · 0154ae54
      unknown authored
        Disabled unstable tests, bugs filed
      
      
      mysql-test/t/disabled.def:
        Disabled unstable tests, bugs filed
      0154ae54
  24. 31 Jul, 2005 1 commit
  25. 19 Jul, 2005 1 commit
    • unknown's avatar
      Cleanups after merge from 4.1. · ccc3052d
      unknown authored
      mysql-test/r/ps_1general.result:
        Update results
      mysql-test/r/ps_2myisam.result:
        Update results
      mysql-test/r/ps_3innodb.result:
        Update results
      mysql-test/r/ps_4heap.result:
        Update results
      mysql-test/r/ps_5merge.result:
        Update results
      mysql-test/r/ps_6bdb.result:
        Update results
      mysql-test/r/ps_7ndb.result:
        Update results
      mysql-test/r/select.result:
        Update results
      mysql-test/t/disabled.def:
        Disable ndb_condition_pushdown test
      mysql-test/t/select.test:
        Fix bad merge
      sql/field_conv.cc:
        Update name of warning message
      sql/mysqld.cc:
        Set proper thd->killed
      tests/mysql_client_test.c:
        Update test cases, change verify_prepared_field() help function
        so it is passed the filename and line from where it is called
        and includes that in the error message.
      ccc3052d
  26. 01 Jul, 2005 1 commit
    • unknown's avatar
      Disabled the GOTO feature. (It's non-standard and undocumented.) · 1ff4a0eb
      unknown authored
      We want to have the defacto standard syntax for labels ("L:" instead of "label L;"),
      and fix some known bugs, before we enable this again.
      The code is left intact (#ifdef'ed SP_GOTO) and the test cases are kept in
      sp-goto.test, for the future...
      
      
      mysql-test/r/sp-error.result:
        Moved all goto tests to sp-goto.test.
      mysql-test/r/sp.result:
        Moved all goto tests to sp-goto.test.
      mysql-test/t/disabled.def:
        Disabled GOTO/LABEL (until the label syntax and some bugs can be fixed).
        We keep the tests in sp-goto.test for the future, but disable for now.
      mysql-test/t/sp-error.test:
        Moved all goto tests to sp-goto.test.
      mysql-test/t/sp.test:
        Moved all goto tests to sp-goto.test.
      sql/lex.h:
        Disabled GOTO/LABEL (until the label syntax and some bugs can be fixed).
      sql/sql_yacc.yy:
        Disabled GOTO/LABEL (until the label syntax and some bugs can be fixed).
      1ff4a0eb
  27. 16 Mar, 2005 1 commit
    • unknown's avatar
      mysql-test-run.sh: · 6f36a062
      unknown authored
        Check that there is a disabled.def before using it
      disabled.def:
        Reenable ndb tests accidently disabled
      
      
      mysql-test/t/disabled.def:
        Reenable ndb tests accidently disabled
      mysql-test/mysql-test-run.sh:
        Check that there is a disabled.def before using it
      6f36a062
  28. 15 Mar, 2005 1 commit
    • unknown's avatar
      mysql-test-run.sh: · 6272f6f2
      unknown authored
        Added feature to disable tests from a list in a file "disabled.def"
        Moved down the code that disables, so that --do-test and --start-from
        don't list the disabled tests not in range.
      disabled.def:
        List of test cases to temporarely disable
      
      
      mysql-test/t/disabled.def:
        List of test cases to temporarely disable
      mysql-test/mysql-test-run.sh:
        Added feature to disable tests from a list in a file "disabled.def"
        Moved down the code that disables, so that --do-test and --start-from
        don't list the disabled tests not in range.
      6272f6f2