An error occurred fetching the project authors.
  1. 21 Jun, 2006 1 commit
  2. 20 Jun, 2006 1 commit
  3. 09 Jun, 2006 1 commit
  4. 06 Jun, 2006 2 commits
    • unknown's avatar
      Added --pipe option for faster compile · 7f19b1cc
      unknown authored
      Changed error to be more descriptive when you are refering to a not existing key
      Fixed core dump in view test and changed to better error message
      
      
      BUILD/compile-pentium64-debug-max:
        Added --pipe option for faster compile
        (This changset was missing in the tree I used to rebuild a new 5.1 tree)
      BUILD/compile-pentium64-debug:
        Added --pipe option for faster compile
        (This changset was missing in the tree I used to rebuild a new 5.1 tree)
      mysql-test/include/common-tests.inc:
        Changed error to be more descriptive
      mysql-test/r/compress.result:
        Changed error to be more descriptive
      mysql-test/r/explain.result:
        Changed error to be more descriptive
      mysql-test/r/key_cache.result:
        Changed error to be more descriptive
      mysql-test/r/preload.result:
        Changed error to be more descriptive
      mysql-test/r/select.result:
        Changed error to be more descriptive
      mysql-test/r/ssl.result:
        Changed error to be more descriptive
      mysql-test/r/ssl_compress.result:
        Changed error to be more descriptive
      mysql-test/r/view.result:
        Changed error to be more descriptive
      mysql-test/t/disabled.def:
        Disable im_instance_conf and im_options  until Bug#20294 (Instance manager test im_instance_conf fails randomly) is fixed
      mysql-test/t/explain.test:
        Changed error to be more descriptive
      mysql-test/t/select.test:
        Changed error to be more descriptive
      mysql-test/t/view.test:
        Changed error to be more descriptive
      sql/share/errmsg.txt:
        Fix that ER_KEY_DOES_NOT_EXISTS has same SQLSTATE as ER_KEY_COLUMN_DOES_NOT_EXISTS
      sql/sql_base.cc:
        Fixed core dump in view test
        Changed to correct error message that also shows the name of the faulty table
      BUILD/compile-pentium64:
        New BitKeeper file ``BUILD/compile-pentium64''
      7f19b1cc
    • unknown's avatar
      Re-apply missing changeset, orignally pushed by jmiller · 60a569bd
      unknown authored
      RPL Test cleanup of options that are not needed when using ndbcluster with binlog. The binlog is forced to row just by connecting to a cluster
      
      
      mysql-test/r/rpl_ndb_2myisam.result:
        Update results. Test now passing. Have commented it out in disable.def file
      mysql-test/t/disabled.def:
        updated to comment out test that is working
      mysql-test/t/rpl_ndb_2innodb-master.opt:
        Removed the --binlog-format=row and they are not needed
      mysql-test/t/rpl_ndb_2innodb-slave.opt:
        Removed the --binlog-format=row and they are not needed
      mysql-test/t/rpl_ndb_2myisam-master.opt:
        Removed the --binlog-format=row and they are not needed
      mysql-test/t/rpl_ndb_2myisam-slave.opt:
        Removed the --binlog-format=row and they are not needed
      mysql-test/t/rpl_ndb_innodb2ndb-master.opt:
        Removed the --binlog-format=row and they are not needed
      mysql-test/t/rpl_ndb_innodb2ndb-slave.opt:
        Removed the --binlog-format=row and they are not needed
      mysql-test/t/rpl_ndb_myisam2ndb-slave.opt:
        Removed the --binlog-format=row and they are not needed
      60a569bd
  5. 01 Jun, 2006 1 commit
  6. 31 May, 2006 2 commits
    • unknown's avatar
      after review fixes · 0de72ae9
      unknown authored
      mysql-test/t/disabled.def:
        enable test
      0de72ae9
    • unknown's avatar
      Bug #18947 CRBR: order in binlog of create table and insert (on different table) not determ · 2f333aae
      unknown authored
      - wait for schema event also if mysqld is a single one in cluster to ensure serialization with data events
      + some current_thd removals
      + enabling kill of sql thread during shema sync wait
      
      
      mysql-test/r/rpl_ndb_log.result:
        Bug #18947  	CRBR: order in binlog of create table and insert (on different table) not determ
      mysql-test/t/disabled.def:
        Bug #18947  	CRBR: order in binlog of create table and insert (on different table) not determ
      2f333aae
  7. 30 May, 2006 1 commit
  8. 22 May, 2006 1 commit
    • unknown's avatar
      fix for bug #17619 Scheduler race conditions · f4781a7e
      unknown authored
      - Scheduler is either initialized at server start or never.
        Starting & stopping is now suspending & resuming.
      - The scheduler has clear OO interface
      - Now all calls to the scheduler are synchronous
      - GLOBAL event_scheduler uses thd::sys_var_tmp (see set_var.cc)
      - External API is encapsulated into class Events
      - Includes fixes for all comments of Kostja's review of 19.05.2005
      
      Starting to merge into 5.1-release (5.1.10) and push
      
      
      BitKeeper/etc/ignore:
        Added libmysqld/event_scheduler.cc to the ignore list
      libmysqld/Makefile.am:
        executor -> scheduler
      mysql-test/r/events.result:
        update result
      mysql-test/r/events_bugs.result:
        update result
      mysql-test/r/events_logs_tests.result:
        update result
      mysql-test/r/events_microsec.result:
        update result
      mysql-test/r/events_scheduling.result:
        update result
      mysql-test/r/events_stress.result:
        update result
      mysql-test/t/disabled.def:
        enable these tests
      mysql-test/t/events.test:
        optimize the test a bit for speed, save some seconds runtime
        remove FULL from SHOW EVENTS
        mostly use I_S.EVENTS
      mysql-test/t/events_bugs.test:
        Skip irrelevant for the current design tests - all events are loaded
        on server startup. Change in mysql.event will be visible on next server start.
        Don't use numeric error codes.
      mysql-test/t/events_logs_tests.test:
        optimize the test a bit for speed
      mysql-test/t/events_microsec.test:
         Skip irrelevant for the current design tests - all events are loaded
            on server startup. Change in mysql.event will be visible on next server start.
            Don't use numeric error codes.
      mysql-test/t/events_scheduling.test:
        broader test
      mysql-test/t/events_stress.test:
        Rework the test to the new architecture of suspending/resuming.
        Use less events, no need for thousands, hundreds is still ok.
      sql/Makefile.am:
        executor -> scheduler
      sql/cmakelists.txt:
        executor -> scheduler
      sql/event.cc:
        - remove todo comments
        - remove unneded evex_queue abstraction functions
        - move events_init() and events_shutdown() from event_executor.cc to here
        - export db_create_event
        - remove evex_load_and_compile_event, part of class Event_scheduler
        - integrate the public interface found in event.h and used by sql_parse.cc
          to use the new class Event_scheduler.
      sql/event.h:
        - add COND_finished so if one thread kills a running event it waits on this
        - export callback event_timed_definer_equal, event_timed_identifier_equal(),
          event_timed_name_equal and event_timed_db_equal()
          to be used by Event_scheduler::drop_matching_events()
        - cleanup event.h
        - encapsulated all external interface into class Events
      sql/event_executor.cc:
        make it empty, will delete after that
      sql/event_priv.h:
        - more things in the private header
        - remove event queue abstraction functions. tightly bind to QUEUE
        - export privately db_drop_event, db_find_event, db_create_event()
        - made change_security_context() and restore_security_context() free functions
      sql/event_timed.cc:
        - fix calculation of time when ENDS is set (STARTS is always set)
        - during Event_timed::compile() set the right Security_ctx. Prevents a crash
              during Event_scheduler::load_events_from_db()
        - add Event_timed::kill_thread()
        - implement event_timed_*_equal()
        - made change_security_context() and restore_security_context() free functions.
        - Comments cleanups
      sql/lex.h:
        new word scheduler for SHOW SCHEDULER STATUS (available only debug builds)
      sql/log.cc:
        move these from event_scheduler.cc
      sql/mysql_priv.h:
        refactor kill_one_thread
        export sql_print_message_func and sql_print_message_handlers
      sql/mysqld.cc:
        In close_connections, called by kill_server() skip the main scheduler
        thread and use events_shutdown() for shutting down the scheduler, in the same
        manner it's done for RPL.
        Add a new value to --event-scheduler :
        0 <- No scheduler available
        1 <- Start with scheduler enabled
        2 <- Start with scheduler suspended
      sql/repl_failsafe.cc:
        refactor thd::system_thread to be an enum
      sql/set_var.cc:
        move sys_var_event_executor::update() to set_var.cc
        executor -> scheduler
        use thd::sys_var_tmp
      sql/set_var.h:
        executor -> scheduler
      sql/share/errmsg.txt:
        3 new error messages
      sql/sql_class.cc:
        refactor thd::system_thread to be an enum . more type-safety
      sql/sql_class.h:
        refactor thd::system_thread to be an enum . more type-safety
      sql/sql_db.cc:
        get the error from evex_drop_schema_events
      sql/sql_error.h:
        export warning_level_names
      sql/sql_lex.h:
        new command SHOW SCHEDULER STATUS, available only in debug build and
        for debug purposes.
      sql/sql_parse.cc:
        refactor kill_one_thread() -> does the *dirty* work, and sql_kill
        just the reporting.
        add handler for SQLCOM_SHOW_SCHEDULER_STATUS
      sql/sql_show.cc:
        fix verbosity handling (this will be obsoleted anyway by the fix for 17394).
      sql/sql_yacc.yy:
        remove FULL from SHOW EVENTS
        add SHOW SCHEDULER STATUS in debug builds
      sql/table.cc:
        Fix valgrind warning.
      f4781a7e
  9. 18 May, 2006 1 commit
    • unknown's avatar
      Bug #19395 mysqld does not always detect cluster shutdown · f87e68e4
      unknown authored
          Bug #17610 ndbapi: dropEventOperation leaves object behind, memleak
      
      
      mysql-test/r/ndb_autodiscover3.result:
        Bug #19395 mysqld does not always detect cluster shutdown
      mysql-test/t/disabled.def:
        Bug #19395 mysqld does not always detect cluster shutdown
      mysql-test/t/ndb_autodiscover3.test:
        Bug #19395 mysqld does not always detect cluster shutdown
      sql/ha_ndbcluster_binlog.cc:
        Bug #19395 mysqld does not always detect cluster shutdown
      storage/ndb/include/ndbapi/Ndb.hpp:
        Bug #19395 mysqld does not always detect cluster shutdown
      storage/ndb/include/ndbapi/NdbDictionary.hpp:
        Bug #17610 ndbapi: dropEventOperation leaves object behind, memleak
      storage/ndb/src/kernel/blocks/suma/Suma.cpp:
        Bug #17610 ndbapi: dropEventOperation leaves object behind, memleak
      storage/ndb/src/ndbapi/Ndb.cpp:
        Bug #19395 mysqld does not always detect cluster shutdown
      storage/ndb/src/ndbapi/NdbEventOperationImpl.cpp:
        Bug #17610 ndbapi: dropEventOperation leaves object behind, memleak
      storage/ndb/src/ndbapi/NdbEventOperationImpl.hpp:
        Bug #17610 ndbapi: dropEventOperation leaves object behind, memleak
      f87e68e4
  10. 16 May, 2006 1 commit
  11. 11 May, 2006 1 commit
    • unknown's avatar
      Bug#17400 (CRBR: Delete and update of table w/o PK fails on slave): · 8b17d33d
      unknown authored
      Fixing bug where UPDATE failed on slave and some cleanup of ndb_unpack_record().
      
      
      mysql-test/r/rpl_bit_npk.result:
        Result change
      mysql-test/t/disabled.def:
        Disabling tests
      mysql-test/t/rpl_bit_npk.test:
        Making test storage-engine independent
      mysql-test/t/rpl_ndb_innodb2ndb-slave.opt:
        Storage engine name change
      mysql-test/t/rpl_ndb_myisam2ndb-slave.opt:
        Storage engine name change
      sql/ha_ndbcluster.cc:
        Using move_field_offset() to move field pointer.
        Using my_ptrdiff_t instead of uint for pointer difference.
        Removing ineffective cast.
        Calling member function directly, bypassing the virtual mechanism
        for Field_bit.
      sql/log_event.cc:
        Starting and stopping range scan and index read inside find_and_fetch row
        instead of in calling function. There are storage engines that require the
        search to be restarted for every changed row.
      8b17d33d
  12. 04 May, 2006 3 commits
    • unknown's avatar
      ndb disabled test case against verified bug · 1a9e9cb4
      unknown authored
      1a9e9cb4
    • unknown's avatar
    • unknown's avatar
      Fixed compiler warnings · 791a5d94
      unknown authored
      Move plugin declarations after system functions have been checked
      (Fixes problem with ndb_config failing becasue SHM is not declared)
      Fixed some memory leaks
      
      
      configure.in:
        Move plugin declarations after system functions have been checked
        (Fixes problem with ndb_config failing becasue SHM is not declared)
      mysql-test/t/disabled.def:
        Disabled ndb_load, as it is in 5.0
        (Fails randomly in binlog_close_connection())
      mysql-test/t/log_tables.test:
        Update error numbers
      mysql-test/t/ndb_config.test:
        Moved test depending on SHM to ndb_config2.test
      mysql-test/t/ndb_partition_error.test:
        Update error numbers
      sql/event_timed.cc:
        Removed not needed line
      sql/ha_berkeley.cc:
        Fixed compiler warning
      sql/ha_heap.cc:
        Fixed compiler warning
      sql/ha_innodb.cc:
        Fixed compiler warning
      sql/ha_myisam.cc:
        Fixed compiler warning
      sql/ha_myisammrg.cc:
        Fixed compiler warning
      sql/ha_ndbcluster.cc:
        Fixed compiler warning
      sql/ha_partition.cc:
        Fixed compiler warning
      sql/mysql_priv.h:
        After merge fix
      sql/mysqld.cc:
        Fixed memory leak in skip_grant.test
      sql/share/errmsg.txt:
        Removed wrong error messages
      sql/sql_lex.cc:
        More debugging
        Faster lex_end()
      sql/sql_partition.cc:
        Fixed memory leak
      sql/sql_view.cc:
        Fixed memory leak
      mysql-test/r/ndb_config2.result:
        New BitKeeper file ``mysql-test/r/ndb_config2.result''
      mysql-test/t/ndb_config2.test:
        New BitKeeper file ``mysql-test/t/ndb_config2.test''
      791a5d94
  13. 03 May, 2006 1 commit
    • unknown's avatar
      Added code to remove closing comment code from event text, as would be · 1db5a360
      unknown authored
      supplied inside a  /*!VERSION event-text */  segment.  (Fixes Bug#18078
      
      
      mysql-test/t/disabled.def:
        Enabling 'mysqldump' test because events should load normally now.
      mysql-test/t/mysqldump.test:
        Add spaces and tabs to the end of statements, to prove trimming of 
        whitespace.
      sql/event_timed.cc:
        Remove  */  close-comment characters at the end, just as sp_head does.
            
        The parser should be smarter about not giving us text that jumps semantic 
        levels, but that's an issue for another day.
      1db5a360
  14. 28 Apr, 2006 2 commits
  15. 27 Apr, 2006 4 commits
    • unknown's avatar
      Disable udf.test · c357525e
      unknown authored
      c357525e
    • 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
    • unknown's avatar
      Disabled rpl_ndb_dd_partitions, new slogan · c58eade3
      unknown authored
      c58eade3
    • unknown's avatar
      08c18603
  16. 26 Apr, 2006 1 commit
  17. 25 Apr, 2006 2 commits
    • unknown's avatar
      Post merge correction for the Changeset · d1620466
      unknown authored
        Fixes for Bug#12429: Replication tests fail: "Slave_IO_Running" (?) differs related to MySQL 4.1
        and Bug#16920 rpl_deadlock_innodb fails in show slave status (reported for MySQL 5.1)
      - Reactivation of testcase rpl_deadlock_innodb + updated file with expected results
      - Removal of wrong entry within disabled.def
      
      
      mysql-test/r/rpl_deadlock_innodb.result:
        Updated result
      mysql-test/t/disabled.def:
        - Reactivation of testcase rpl_deadlock_innodb
        - Removal of entry for not existing testcase rpl_until
      d1620466
    • unknown's avatar
      cb495066
  18. 24 Apr, 2006 3 commits
  19. 21 Apr, 2006 2 commits
  20. 20 Apr, 2006 2 commits
  21. 19 Apr, 2006 4 commits
  22. 18 Apr, 2006 1 commit
    • unknown's avatar
      Fixed BUG#18949: Test case sp-goto is disabled · 661165ee
      unknown authored
        Removed sp-goto.test, sp-goto.result and all (disabled) GOTO code.
        Also removed some related code that's not needed any more (no possible
        unresolved label references any more, so no need to check for them).
        NB: Keeping the ER_SP_GOTO_IN_HNDLR in errmsg.txt; it might become useful
            in the future, and removing it (and thus re-enumerating error codes)
            might upset things. (Anything referring to explicit error codes.)
      
      
      BitKeeper/deleted/.del-sp-goto.result~f343103c63f64b7a:
        Delete: mysql-test/r/sp-goto.result
      BitKeeper/deleted/.del-sp-goto.test~5054d3f729692d3d:
        Delete: mysql-test/t/sp-goto.test
      mysql-test/t/disabled.def:
        sp-goto.test no longer exists.
      sql/lex.h:
        Removed (disabled) GOTO definitions.
      sql/sp_head.cc:
        Removed sp_head::check_backpatch() and simplified sp_head::backpatch().
        Without GOTO, unresolved label references are not possible, so no need
        to check for them.
      sql/sp_head.h:
        Removed sp_head::check_backpatch(). (Not needed with no GOTO)
      sql/sp_pcontext.cc:
        SP_LAB_GOTO was renamed to SP_LAB_IMPL
      sql/sp_pcontext.h:
        Removed SP_LAB_REF (no longer needed) and renamed SP_LAB_GOTO
        to SP_LAB_IMPL, since it's only used for implicit labels now.
      sql/sql_yacc.yy:
        Removed GOTO symbols and (disabled) code, and the no longer needed
        sp_head::check_backpatch() calls.
      661165ee
  23. 13 Apr, 2006 2 commits
    • unknown's avatar
      update · 1b231221
      unknown authored
      1b231221
    • unknown's avatar
      Fixes for Bug#12429: Replication tests fail: "Slave_IO_Running" (?) differs related to · f1a50035
      unknown authored
      MySQL 4.1
        and Bug#16920 rpl_deadlock_innodb fails in show slave status (reported for MySQL 5.1)
        - backport of several fixes done in MySQL 5.0 to 4.1
        - fix for new discovered instability (see comment on Bug#12429 + Bug#16920)
        - reenabling of testcases
      
      
      mysql-test/r/rpl_deadlock.result:
        Updated results
      mysql-test/r/rpl_relayrotate.result:
        Updated results
      mysql-test/t/disabled.def:
        Reenabling of tests
      mysql-test/t/rpl_deadlock.test:
        - replace sleep with real_sleep (backport fix for Bug#15624 MySQL 5.0)
        - egalized value for Slave_IO_Running 
        - line 105 (backport fix for Bug#12429 MySQL 5.0)
        - line 85 (see comment in Bug#12429 
                   + Bug#16920 rpl_deadlock_innodb fails in show slave status)
        - improve readability of show slave status output (--vertical_results)
      mysql-test/t/rpl_relayrotate.test:
        - Replace select ... with select max(a)
        - add sync_with_master (backport fix done by Kristian in MySQL 5.0 because of timing
          problems similar to Bug#15624)
      mysql-test/t/rpl_until.test:
        Add wait_for_slave_to_stop like in the current MySQL 5.0 version of this test.
        I assume this makes the test results more predictable.
      f1a50035