mariadb/mysql-test/include
Dmitry Lenev 6bf6272fda Patch that refactors global read lock implementation and fixes
bug #57006 "Deadlock between HANDLER and FLUSH TABLES WITH READ
LOCK" and bug #54673 "It takes too long to get readlock for
'FLUSH TABLES WITH READ LOCK'".

The first bug manifested itself as a deadlock which occurred
when a connection, which had some table open through HANDLER
statement, tried to update some data through DML statement
while another connection tried to execute FLUSH TABLES WITH
READ LOCK concurrently.

What happened was that FTWRL in the second connection managed
to perform first step of GRL acquisition and thus blocked all
upcoming DML. After that it started to wait for table open
through HANDLER statement to be flushed. When the first connection
tried to execute DML it has started to wait for GRL/the second
connection creating deadlock.

The second bug manifested itself as starvation of FLUSH TABLES
WITH READ LOCK statements in cases when there was a constant
stream of concurrent DML statements (in two or more
connections).

This has happened because requests for protection against GRL
which were acquired by DML statements were ignoring presence of
pending GRL and thus the latter was starved.

This patch solves both these problems by re-implementing GRL
using metadata locks.

Similar to the old implementation acquisition of GRL in new
implementation is two-step. During the first step we block
all concurrent DML and DDL statements by acquiring global S
metadata lock (each DML and DDL statement acquires global IX
lock for its duration). During the second step we block commits
by acquiring global S lock in COMMIT namespace (commit code
acquires global IX lock in this namespace).

Note that unlike in old implementation acquisition of
protection against GRL in DML and DDL is semi-automatic.
We assume that any statement which should be blocked by GRL
will either open and acquires write-lock on tables or acquires
metadata locks on objects it is going to modify. For any such
statement global IX metadata lock is automatically acquired
for its duration.

The first problem is solved because waits for GRL become
visible to deadlock detector in metadata locking subsystem
and thus deadlocks like one in the first bug become impossible.

The second problem is solved because global S locks which
are used for GRL implementation are given preference over
IX locks which are acquired by concurrent DML (and we can
switch to fair scheduling in future if needed).

Important change:
FTWRL/GRL no longer blocks DML and DDL on temporary tables.
Before this patch behavior was not consistent in this respect:
in some cases DML/DDL statements on temporary tables were
blocked while in others they were not. Since the main use cases
for FTWRL are various forms of backups and temporary tables are
not preserved during backups we have opted for consistently
allowing DML/DDL on temporary tables during FTWRL/GRL.

Important change:
This patch changes thread state names which are used when
DML/DDL of FTWRL is waiting for global read lock. It is now
either "Waiting for global read lock" or "Waiting for commit
lock" depending on the stage on which FTWRL is.

Incompatible change:
To solve deadlock in events code which was exposed by this
patch we have to replace LOCK_event_metadata mutex with
metadata locks on events. As result we have to prohibit
DDL on events under LOCK TABLES.

This patch also adds extensive test coverage for interaction
of DML/DDL and FTWRL.

Performance of new and old global read lock implementations
in sysbench tests were compared. There were no significant
difference between new and old implementations.

mysql-test/include/check_ftwrl_compatible.inc:
  Added helper script which allows to check that a statement is
  compatible with FLUSH TABLES WITH READ LOCK.
mysql-test/include/check_ftwrl_incompatible.inc:
  Added helper script which allows to check that a statement is
  incompatible with FLUSH TABLES WITH READ LOCK.
mysql-test/include/handler.inc:
  Adjusted test case to the fact that now DROP TABLE closes
  open HANDLERs for the table to be dropped before checking
  if there active FTWRL in this connection.
mysql-test/include/wait_show_condition.inc:
  Fixed small error in the timeout message. The correct name
  of variable used as parameter for this script is "$condition"
  and not "$wait_condition".
mysql-test/r/delayed.result:
  Added test coverage for scenario which triggered assert in
  metadata locking subsystem.
mysql-test/r/events_2.result:
  Updated test results after prohibiting event DDL operations
  under LOCK TABLES.
mysql-test/r/flush.result:
  Added test coverage for bug #57006 "Deadlock between HANDLER
  and FLUSH TABLES WITH READ LOCK".
mysql-test/r/flush_read_lock.result:
  Added test coverage for various aspects of FLUSH TABLES WITH
  READ LOCK functionality.
mysql-test/r/flush_read_lock_kill.result:
  Adjusted test case after replacing custom global read lock
  implementation with one based on metadata locks. Use new
  debug_sync point. Do not disable concurrent inserts as now
  InnoDB we always use InnoDB table.
mysql-test/r/handler_innodb.result:
  Adjusted test case to the fact that now DROP TABLE closes
  open HANDLERs for the table to be dropped before checking
  if there active FTWRL in this connection.
mysql-test/r/handler_myisam.result:
  Adjusted test case to the fact that now DROP TABLE closes
  open HANDLERs for the table to be dropped before checking
  if there active FTWRL in this connection.
mysql-test/r/mdl_sync.result:
  Adjusted test case after replacing custom global read lock
  implementation with one based on metadata locks. Replaced
  usage of GRL-specific debug_sync's with appropriate sync
  points in MDL subsystem.
mysql-test/suite/perfschema/r/dml_setup_instruments.result:
  Updated test results after removing global
  COND_global_read_lock condition variable.
mysql-test/suite/perfschema/r/func_file_io.result:
  Ensure that this test doesn't affect subsequent tests.
  At the end of its execution enable back P_S instrumentation
  which this test disables at some point.
mysql-test/suite/perfschema/r/func_mutex.result:
  Ensure that this test doesn't affect subsequent tests.
  At the end of its execution enable back P_S instrumentation
  which this test disables at some point.
mysql-test/suite/perfschema/r/global_read_lock.result:
  Adjusted test case to take into account that new GRL
  implementation is based on MDL.
mysql-test/suite/perfschema/r/server_init.result:
  Adjusted test case after replacing custom global read
  lock implementation with one based on MDL and replacing
  LOCK_event_metadata mutex with metadata lock.
mysql-test/suite/perfschema/t/func_file_io.test:
  Ensure that this test doesn't affect subsequent tests.
  At the end of its execution enable back P_S instrumentation
  which this test disables at some point.
mysql-test/suite/perfschema/t/func_mutex.test:
  Ensure that this test doesn't affect subsequent tests.
  At the end of its execution enable back P_S instrumentation
  which this test disables at some point.
mysql-test/suite/perfschema/t/global_read_lock.test:
  Adjusted test case to take into account that new GRL
  implementation is based on MDL.
mysql-test/suite/perfschema/t/server_init.test:
  Adjusted test case after replacing custom global read
  lock implementation with one based on MDL and replacing
  LOCK_event_metadata mutex with metadata lock.
mysql-test/suite/rpl/r/rpl_tmp_table_and_DDL.result:
  Updated test results after prohibiting event DDL under
  LOCK TABLES.
mysql-test/t/delayed.test:
  Added test coverage for scenario which triggered assert in
  metadata locking subsystem.
mysql-test/t/events_2.test:
  Updated test case after prohibiting event DDL operations
  under LOCK TABLES.
mysql-test/t/flush.test:
  Added test coverage for bug #57006 "Deadlock between HANDLER
  and FLUSH TABLES WITH READ LOCK".
mysql-test/t/flush_block_commit.test:
  Adjusted test case after changing thread state name which
  is used when COMMIT waits for FLUSH TABLES WITH READ LOCK
  from "Waiting for release of readlock" to "Waiting for commit
  lock".
mysql-test/t/flush_block_commit_notembedded.test:
  Adjusted test case after changing thread state name which is
  used when DML waits for FLUSH TABLES WITH READ LOCK. Now we
  use "Waiting for global read lock" in this case.
mysql-test/t/flush_read_lock.test:
  Added test coverage for various aspects of FLUSH TABLES WITH
  READ LOCK functionality.
mysql-test/t/flush_read_lock_kill-master.opt:
  We no longer need to use make_global_read_lock_block_commit_loop
  debug tag in this test. Instead we rely on an appropriate
  debug_sync point in MDL code.
mysql-test/t/flush_read_lock_kill.test:
  Adjusted test case after replacing custom global read lock
  implementation with one based on metadata locks. Use new
  debug_sync point. Do not disable concurrent inserts as now
  InnoDB we always use InnoDB table.
mysql-test/t/lock_multi.test:
  Adjusted test case after changing thread state names which
  are used when DML or DDL waits for FLUSH TABLES WITH READ
  LOCK to "Waiting for global read lock".
mysql-test/t/mdl_sync.test:
  Adjusted test case after replacing custom global read lock
  implementation with one based on metadata locks. Replaced
  usage of GRL-specific debug_sync's with appropriate sync
  points in MDL subsystem. Updated thread state names which
  are used when DDL waits for FTWRL.
mysql-test/t/trigger_notembedded.test:
  Adjusted test case after changing thread state names which
  are used when DML or DDL waits for FLUSH TABLES WITH READ
  LOCK to "Waiting for global read lock".
sql/event_data_objects.cc:
  Removed Event_queue_element::status/last_executed_changed
  members and Event_queue_element::update_timing_fields()
  method. We no longer use this class for updating mysql.events
  once event is chosen for execution. Accesses to instances of
  this class in scheduler thread require protection by
  Event_queue::LOCK_event_queue mutex and we try to avoid
  updating table while holding this lock.
sql/event_data_objects.h:
  Removed Event_queue_element::status/last_executed_changed
  members and Event_queue_element::update_timing_fields()
  method. We no longer use this class for updating mysql.events
  once event is chosen for execution. Accesses to instances of
  this class in scheduler thread require protection by
  Event_queue::LOCK_event_queue mutex and we try to avoid
  updating table while holding this lock.
sql/event_db_repository.cc:
  - Changed Event_db_repository methods to not release all
    metadata locks once they are done updating mysql.events
    table. This allows to keep metadata lock protecting
    against GRL and lock protecting particular event around
    until corresponding DDL statement is written to the binary
    log.
  - Removed logic for conditional update of "status" and
    "last_executed" fields from update_timing_fields_for_event()
    method. In the only case when this method is called now
    "last_executed" is always modified and tracking change
    of "status" is too much hassle.
sql/event_db_repository.h:
  Removed logic for conditional update of "status" and
  "last_executed" fields from Event_db_repository::
  update_timing_fields_for_event() method.
  In the only case when this method is called now "last_executed"
  is always modified and tracking change of "status" field is
  too much hassle.
sql/event_queue.cc:
  Changed event scheduler code not to update mysql.events
  table while holding Event_queue::LOCK_event_queue mutex.
  Doing so led to a deadlock with a new GRL implementation.
  This deadlock didn't occur with old implementation due to
  fact that code acquiring protection against GRL ignored
  pending GRL requests (which lead to GRL starvation).
  One of goals of new implementation is to disallow GRL
  starvation and so we have to solve problem with this
  deadlock in a different way.
sql/events.cc:
  Changed methods of Events class to acquire protection
  against GRL while perfoming DDL statement and keep it
  until statement is written to the binary log.
  Unfortunately this step together with new GRL implementation
  exposed deadlock involving Events::LOCK_event_metadata
  and GRL. To solve it Events::LOCK_event_metadata mutex was
  replaced with a metadata lock on event. As a side-effect
  events DDL has to be prohibited under LOCK TABLES even in
  cases when mysql.events table was explicitly locked for
  write.
sql/events.h:
  Replaced Events::LOCK_event_metadata mutex with a metadata
  lock on event.
sql/ha_ndbcluster.cc:
  Updated code after replacing custom global read lock
  implementation with one based on MDL. Since MDL subsystem
  should now be able to detect deadlocks involving metadata
  locks and GRL there is no need for special handling of
  active GRL.
sql/handler.cc:
  Replaced custom implementation of global read lock with
  one based on metadata locks. Consequently when doing
  commit instead of calling method of Global_read_lock
  class to acquire protection against GRL we simply acquire
  IX in COMMIT namespace.
sql/lock.cc:
  Replaced custom implementation of global read lock with
  one based on metadata locks. This step allows to expose
  wait for GRL to deadlock detector of MDL subsystem and
  thus succesfully resolve deadlocks similar to one behind
  bug #57006 "Deadlock between HANDLER and FLUSH TABLES
  WITH READ LOCK". It also solves problem with GRL starvation
  described in bug #54673 "It takes too long to get readlock
  for 'FLUSH TABLES WITH READ LOCK'" since metadata locks used
  by GRL give preference to FTWRL statement instead of DML
  statements (if needed in future this can be changed to
  fair scheduling).
  
  Similar to old implementation of acquisition of GRL is
  two-step. During the first step we block all concurrent
  DML and DDL statements by acquiring global S metadata lock
  (each DML and DDL statement acquires global IX lock for
  its duration). During the second step we block commits by
  acquiring global S lock in COMMIT namespace (commit code
  acquires global IX lock in this namespace).
  
  Note that unlike in old implementation acquisition of
  protection against GRL in DML and DDL is semi-automatic.
  We assume that any statement which should be blocked by GRL
  will either open and acquires write-lock on tables or acquires
  metadata locks on objects it is going to modify. For any such
  statement global IX metadata lock is automatically acquired
  for its duration.
  
  To support this change:
  - Global_read_lock::lock/unlock_global_read_lock and
    make_global_read_lock_block_commit methods were changed
    accordingly.
  - Global_read_lock::wait_if_global_read_lock() and
    start_waiting_global_read_lock() methods were dropped.
    It is now responsibility of code acquiring metadata locks
    opening tables to acquire protection against GRL by
    explicitly taking global IX lock with statement duration.
  - Global variables, mutex and condition variable used by
    old implementation was removed.
  - lock_routine_name() was changed to use statement duration for
    its global IX lock. It was also renamed to lock_object_name()
    as it now also used to take metadata locks on events.
  - Global_read_lock::set_explicit_lock_duration() was added which
    allows not to release locks used for GRL when leaving prelocked
    mode.
sql/lock.h:
  - Renamed lock_routine_name() to lock_object_name() and changed
    its signature to allow its usage for events.
  - Removed broadcast_refresh() function. It is no longer needed
    with new GRL implementation.
sql/log_event.cc:
  Release metadata locks with statement duration at the end
  of processing legacy event for LOAD DATA. This ensures that
  replication thread processing such event properly releases
  its protection against global read lock.
sql/mdl.cc:
  Changed MDL subsystem to support new MDL-based implementation
  of global read lock.
  
  Added COMMIT and EVENTS namespaces for metadata locks. Changed
  thread state name for GLOBAL namespace to "Waiting for global
  read lock".
  
  Optimized MDL_map::find_or_insert() method to avoid taking
  m_mutex mutex when looking up MDL_lock objects for GLOBAL
  or COMMIT namespaces. We keep pre-created MDL_lock objects
  for these namespaces around and simply return pointers to
  these global objects when needed.
  
  Changed MDL_lock/MDL_scoped_lock to properly handle
  notification of insert delayed handler threads when FTWRL
  takes global S lock.
  
  Introduced concept of lock duration. In addition to locks with
  transaction duration which work in the way which is similar to
  how locks worked before (i.e. they are released at the end of
  transaction), locks with statement and explicit duration were
  introduced.
  Locks with statement duration are automatically released at the
  end of statement. Locks with explicit duration require explicit
  release and obsolete concept of transactional sentinel.
  
  * Changed MDL_request and MDL_ticket classes to support notion
    of duration.
  * Changed MDL_context to keep locks with different duration in
    different lists. Changed code handling ticket list to take
    this into account.
  * Changed methods responsible for releasing locks to take into
    account duration of tickets. Particularly public
    MDL_context::release_lock() method now only can release
    tickets with explicit duration (there is still internal
    method which allows to specify duration). To release locks
    with statement or transaction duration one have to use
    release_statement/transactional_locks() methods.
  * Concept of savepoint for MDL subsystem now has to take into
    account locks with statement duration. Consequently
    MDL_savepoint class was introduced and methods working with
    savepoints were updated accordingly.
  * Added methods which allow to set duration for one or all
    locks in the context.
sql/mdl.h:
  Changed MDL subsystem to support new MDL-based implementation
  of global read lock.
  
  Added COMMIT and EVENTS namespaces for metadata locks.
  
  Introduced concept of lock duration. In addition to locks with
  transaction duration which work in the way which is similar to
  how locks worked before (i.e. they are released at the end of
  transaction), locks with statement and explicit duration were
  introduced.
  Locks with statement duration are automatically released at the
  end of statement. Locks with explicit duration require explicit
  release and obsolete concept of transactional sentinel.
  
  * Changed MDL_request and MDL_ticket classes to support notion
    of duration.
  * Changed MDL_context to keep locks with different duration in
    different lists. Changed code handling ticket list to take
    this into account.
  * Changed methods responsible for releasing locks to take into
    account duration of tickets. Particularly public
    MDL_context::release_lock() method now only can release
    tickets with explicit duration (there is still internal
    method which allows to specify duration). To release locks
    with statement or transaction duration one have to use
    release_statement/transactional_locks() methods.
  * Concept of savepoint for MDL subsystem now has to take into
    account locks with statement duration. Consequently
    MDL_savepoint class was introduced and methods working with
    savepoints were updated accordingly.
  * Added methods which allow to set duration for one or all
    locks in the context.
sql/mysqld.cc:
  Removed global mutex and condition variables which were used
  by old implementation of GRL.
  Also we no longer need to initialize Events::LOCK_event_metadata
  mutex as it was replaced with metadata locks on events.
sql/mysqld.h:
  Removed global variable, mutex and condition variables which
  were used by old implementation of GRL.
sql/rpl_rli.cc:
  When slave thread closes tables which were open for handling
  of RBR events ensure that it releases global IX lock which
  was acquired as protection against GRL.
sql/sp.cc:
  Adjusted code to the new signature of lock_object/routine_name(),
  to the fact that one now needs specify duration of lock when
  initializing MDL_request and to the fact that savepoints for MDL
  subsystem are now represented by MDL_savepoint class.
sql/sp_head.cc:
  Ensure that statements in stored procedures release statement
  metadata locks and thus release their protectiong against GRL
  in proper moment in time.
  Adjusted code to the fact that one now needs specify duration
  of lock when initializing MDL_request.
sql/sql_admin.cc:
  Adjusted code to the fact that one now needs specify duration
  of lock when initializing MDL_request.
sql/sql_base.cc:
  - Implemented support for new approach to acquiring protection
    against global read lock. We no longer acquire such protection
    explicitly on the basis of statement flags. Instead we always
    rely on code which is responsible for acquiring metadata locks
    on object to be changed acquiring this protection. This is
    achieved by acquiring global IX metadata lock with statement
    duration. Code doing this also responsible for checking that
    current connection has no active GRL by calling an
    Global_read_lock::can_acquire_protection() method.
    Changed code in open_table() and lock_table_names()
    accordingly.
    Note that as result of this change DDL and DML on temporary
    tables is always compatible with GRL (before it was
    incompatible in some cases and compatible in other cases).
  - To speed-up code acquiring protection against GRL introduced
    m_has_protection_against_grl member in Open_table_context
    class. It indicates that protection was already acquired
    sometime during open_tables() execution and new attempts
    can be skipped.
  - Thanks to new GRL implementation calls to broadcast_refresh()
    became unnecessary and were removed.
  - Adjusted code to the fact that one now needs specify duration
    of lock when initializing MDL_request and to the fact that
    savepoints for MDL subsystem are now represented by
    MDL_savepoint class.
sql/sql_base.h:
  Adjusted code to the fact that savepoints for MDL subsystem are
  now represented by MDL_savepoint class.
  Also introduced Open_table_context::m_has_protection_against_grl
  member which allows to avoid acquiring protection against GRL
  while opening tables if such protection was already acquired.
sql/sql_class.cc:
  Changed THD::leave_locked_tables_mode() after transactional
  sentinel for metadata locks was obsoleted by introduction of
  locks with explicit duration.
sql/sql_class.h:
  - Adjusted code to the fact that savepoints for MDL subsystem
    are now represented by MDL_savepoint class.
  - Changed Global_read_lock class according to changes in
    global read lock implementation:
    * wait_if_global_read_lock and start_waiting_global_read_lock
      are now gone. Instead code needing protection against GRL
      has to acquire global IX metadata lock with statement
      duration itself. To help it new can_acquire_protection()
      was introduced. Also as result of the above change
      m_protection_count member is gone too.
    * Added m_mdl_blocks_commits_lock member to store metadata
      lock blocking commits.
    * Adjusted code to the fact that concept of transactional
      sentinel was obsoleted by concept of lock duration.
  - Removed CF_PROTECT_AGAINST_GRL flag as it is no longer
    necessary. New GRL implementation acquires protection
    against global read lock automagically when statement
    acquires metadata locks on tables or other objects it
    is going to change.
sql/sql_db.cc:
  Adjusted code to the fact that one now needs specify duration
  of lock when initializing MDL_request.
sql/sql_handler.cc:
  Removed call to broadcast_refresh() function. It is no longer
  needed with new GRL implementation.
  Adjusted code after introducing duration concept for metadata
  locks. Particularly to the fact transactional sentinel was
  replaced with explicit duration.
sql/sql_handler.h:
  Renamed mysql_ha_move_tickets_after_trans_sentinel() to
  mysql_ha_set_explicit_lock_duration() after transactional
  sentinel was obsoleted by locks with explicit duration.
sql/sql_insert.cc:
  Adjusted code handling delaying inserts after switching to
  new GRL implementation. Now connection thread initiating
  delayed insert has to acquire global IX lock in addition
  to metadata lock on table being inserted into. This IX lock
  protects against GRL and similarly to SW lock on table being
  inserted into has to be passed to handler thread in order to
  avoid deadlocks.
sql/sql_lex.cc:
  LEX::protect_against_global_read_lock member is no longer
  necessary since protection against GRL is automatically
  taken by code acquiring metadata locks/opening tables.
sql/sql_lex.h:
  LEX::protect_against_global_read_lock member is no longer
  necessary since protection against GRL is automatically
  taken by code acquiring metadata locks/opening tables.
sql/sql_parse.cc:
  - Implemented support for new approach to acquiring protection
    against global read lock. We no longer acquire such protection
    explicitly on the basis of statement flags. Instead we always
    rely on code which is responsible for acquiring metadata locks
    on object to be changed acquiring this protection. This is
    achieved by acquiring global IX metadata lock with statement
    duration. This lock is automatically released at the end of
    statement execution.
  - Changed implementation of CREATE/DROP PROCEDURE/FUNCTION not
    to release metadata locks and thus protection against of GRL
    in the middle of statement execution.
  - Adjusted code to the fact that one now needs specify duration
    of lock when initializing MDL_request and to the fact that
    savepoints for MDL subsystem are now represented by
    MDL_savepoint class.
sql/sql_prepare.cc:
  Adjusted code to the to the fact that savepoints for MDL
  subsystem are now represented by MDL_savepoint class.
sql/sql_rename.cc:
  With new GRL implementation there is no need to explicitly
  acquire protection against GRL before renaming tables.
  This happens automatically in code which acquires metadata
  locks on tables being renamed.
sql/sql_show.cc:
  Adjusted code to the fact that one now needs specify duration
  of lock when initializing MDL_request and to the fact that
  savepoints for MDL subsystem are now represented by
  MDL_savepoint class.
sql/sql_table.cc:
  - With new GRL implementation there is no need to explicitly
    acquire protection against GRL before dropping tables.
    This happens automatically in code which acquires metadata
    locks on tables being dropped.
  - Changed mysql_alter_table() not to release lock on new table
    name explicitly and to rely on automatic release of locks
    at the end of statement instead. This was necessary since
    now MDL_context::release_lock() is supported only for locks
    for explicit duration.
sql/sql_trigger.cc:
  With new GRL implementation there is no need to explicitly
  acquire protection against GRL before changing table triggers.
  This happens automatically in code which acquires metadata
  locks on tables which triggers are to be changed.
sql/sql_update.cc:
  Fix bug exposed by GRL testing. During prepare phase acquire
  only S metadata locks instead of SW locks to keep prepare of
  multi-UPDATE compatible with concurrent LOCK TABLES WRITE
  and global read lock.
sql/sql_view.cc:
  With new GRL implementation there is no need to explicitly
  acquire protection against GRL before creating view.
  This happens automatically in code which acquires metadata
  lock on view to be created.
sql/sql_yacc.yy:
  LEX::protect_against_global_read_lock member is no longer
  necessary since protection against GRL is automatically
  taken by code acquiring metadata locks/opening tables.
sql/table.cc:
  Adjusted code to the fact that one now needs specify duration
  of lock when initializing MDL_request.
sql/table.h:
  Adjusted code to the fact that one now needs specify duration
  of lock when initializing MDL_request.
sql/transaction.cc:
  Replaced custom implementation of global read lock with
  one based on metadata locks. Consequently when doing
  commit instead of calling method of Global_read_lock
  class to acquire protection against GRL we simply acquire
  IX in COMMIT namespace.
  Also adjusted code to the fact that MDL savepoint is now
  represented by MDL_savepoint class.
2010-11-11 20:11:05 +03:00
..
add_anonymous_users.inc Bug#20166 mysql-test-run.pl does not test system privilege tables creation 2007-02-26 11:49:24 +01:00
analyze-sync_with_master.test Bug #38181 Please print more debug info when tests fail 2008-08-04 21:54:44 +02:00
analyze-timeout.test WL#4350 Add missing 'exit' 2008-09-09 09:49:58 +02:00
big_test.inc Moved some old test and added a new test to only be run with mysql-test-run --big 2005-04-07 19:24:14 +03:00
binlog_inject_error.inc Merge next-mr -> next-4284. 2010-02-04 23:15:47 +03:00
bug38347.inc Backporting patches for Bug#38347 (ALTER ROUTINE privilege 2009-10-22 16:51:51 +04:00
check-testcase.test Merge 5.0->5.1 2008-11-24 16:56:48 -05:00
check-warnings.test BUG#47612 - fix review comment 2009-10-07 16:25:36 +02:00
check_concurrent_insert.inc Follow-up to Bug #55582 which allows chaecking strings in if 2010-10-20 16:15:32 +02:00
check_events_off.inc 1. Fix for Bug#41111 events_bugs fails sporadically on pushbuild 2009-01-09 15:10:03 +01:00
check_ftwrl_compatible.inc Patch that refactors global read lock implementation and fixes 2010-11-11 20:11:05 +03:00
check_ftwrl_incompatible.inc Patch that refactors global read lock implementation and fixes 2010-11-11 20:11:05 +03:00
check_ipv6.inc Reviewed patch of QA results for WL#798. 2009-11-23 17:38:42 +01:00
check_key_reads.inc Bug#49369: No testcase for key caches on partitions 2009-12-03 13:31:56 +01:00
check_key_req.inc Bug#49369: No testcase for key caches on partitions 2009-12-03 13:31:56 +01:00
check_no_concurrent_insert.inc upmerge and adapt follow-up to 55582 2010-10-21 09:37:10 +02:00
check_no_row_lock.inc Yet another follow-up for the 5.5 version of fix for 2010-05-30 13:27:44 +04:00
check_shared_row_lock.inc A 5.1-only version of fix for bug #46947 "Embedded SELECT 2010-05-28 00:07:40 +04:00
check_slave_is_running.inc Bug #49741 test files contain explicit references to bin/relay-log positions 2010-05-24 21:54:08 +08:00
check_slave_no_error.inc Bug #49741 test files contain explicit references to bin/relay-log positions 2010-05-24 21:54:08 +08:00
check_slave_param.inc Bug #49741 test files contain explicit references to bin/relay-log positions 2010-05-24 21:54:08 +08:00
check_var_limit.inc Add detection of in_addr_t 2003-08-28 06:08:17 +03:00
circular_rpl_for_4_hosts_init.inc WL#3754, circular replication tests 2008-04-25 20:54:42 +04:00
circular_rpl_for_4_hosts_sync.inc WL#3754, testing circular replication 2008-04-25 00:41:04 +04:00
cleanup_fake_relay_log.inc Bug#48308. Post-fix 2010-02-19 22:37:23 +03:00
commit.inc WL#5370 Keep forward-compatibility when changing 2010-08-18 17:35:41 +08:00
common-tests.inc Added --pipe option for faster compile 2006-06-06 20:21:36 +03:00
concurrent.inc Bug#43733 Select on processlist let the embedded server crash (concurrent_innodb_safelog) 2009-06-04 23:36:34 +05:00
connect2.inc Avoid races in connect.test. 2008-03-17 14:26:00 +03:00
count_sessions.inc 1. Slice of fix for Bug#42003 tests missing the disconnect of connections <> default 2009-02-02 22:20:25 +01:00
ctype_common.inc Merge mysql.com:/home/bar/mysql-work/mysql-5.0.b27580 2008-03-06 08:41:05 +04:00
ctype_datetime.inc Backporting WL#1213 2010-02-24 13:15:34 +04:00
ctype_filesort.inc bug#7284: strnxfrm returns different results for equal strings 2005-01-13 18:12:04 +04:00
ctype_filesort2.inc Cherry-picking patch for Bug#55980. 2010-08-31 18:22:03 +04:00
ctype_german.inc Bug#27877 incorrect german order in utf8_general_ci 2008-02-11 16:28:33 +04:00
ctype_innodb_like.inc ctype_innodb_like.inc: 2005-07-06 17:16:22 +05:00
ctype_like.inc Backporting WL#1213 2010-02-24 13:15:34 +04:00
ctype_like_escape.inc Add printout of file in which warning was detected 2006-10-06 00:57:10 +02:00
ctype_like_range_f1f2.inc Bug#32510 LIKE search fails with indexed 'eucjpms' and 'ujis' char column 2008-02-04 11:10:40 +04:00
ctype_numconv.inc Bug#55744 GROUP_CONCAT + CASE + ucs return garbage 2010-10-06 16:15:59 +04:00
ctype_regex.inc Bug#31081 server crash in regexp function 2007-10-05 12:15:11 +05:00
ctype_utf8_table.inc BUG#51894 Replication failure with SBR on DROP TEMPORARY TABLE inside a 2010-04-20 10:10:43 +01:00
ctype_utf8mb4.inc Fixing non-determenistic results. 2010-03-05 12:17:19 +04:00
ddl_i18n.check_events.inc Patch for the following bugs: 2007-06-28 21:34:54 +04:00
ddl_i18n.check_sp.inc backported: 2010-01-15 15:42:15 +04:00
ddl_i18n.check_triggers.inc Patch for the following bugs: 2007-06-28 21:34:54 +04:00
ddl_i18n.check_views.inc Fix for Bug#30217: Views: changes in metadata behaviour 2008-02-22 13:30:33 +03:00
deadlock.inc WL#5370 Keep forward-compatibility when changing 2010-08-18 17:35:41 +08:00
default_client.cnf WL#1349 Use operating system localization to send it as a default client character set 2009-10-21 17:59:47 +05:00
default_my.cnf Merge in fix for bug#42589 2010-03-15 14:57:20 +01:00
default_mysqld.cnf Bug#56528 Increased server footprint with MTR 2010-09-08 12:01:12 -06:00
default_ndbd.cnf Bug#39849 ndb tests fail sporadically on pushbuild: "out of connection objects" 2009-01-29 15:22:02 +01:00
delete_anonymous_users.inc Masking out some more errors and warnings that are benign. 2008-02-04 07:15:14 +01:00
diff_master_slave.inc BUG#37145 Killing a statement doing DDL may log binlog event with error code 1053 2009-03-27 13:19:50 +08:00
diff_tables.inc Manual merge 2010-07-04 16:49:46 +08:00
endspace.inc Move common trailing space checks into an include file. 2004-12-01 19:25:05 +04:00
get_binlog_dump_thread_id.inc Workaround non portable use of "grep" and "cut" by loading the whole processlist 2007-02-26 09:16:22 +01:00
get_relay_log_pos.inc Follow-up to Bug #55582 which allows chaecking strings in if 2010-10-20 16:15:32 +02:00
gis_generic.inc Merge quadxeon.mysql.com:/benchmarks/ext3/TOSAVE/tsmith/bk/maint/50 2007-03-29 12:00:32 +02:00
gis_keys.inc Bug#31909 - New gis.test creates warnings files 2007-11-01 15:03:09 +01:00
grant_cache.inc Fix for Bug#42308 Several server tests do not pass MTR's --check option 2009-05-15 12:15:56 +02:00
handler.inc Patch that refactors global read lock implementation and fixes 2010-11-11 20:11:05 +03:00
have_32bit.inc Patch for bug#36875: Inserted review results. 2009-01-08 19:13:57 +01:00
have_64bit.inc Patch for bug#36875: Inserted review results. 2009-01-08 19:13:57 +01:00
have_archive.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_archive_plugin.inc only This is a backport of the patch for 47739 into trunk. 2010-04-26 21:39:24 +02:00
have_big5.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_binlog_format_mixed.inc Merge from 5.0. Add new 5.1 files. Drop bdb. 2008-07-04 14:48:25 -04:00
have_binlog_format_mixed_or_row.inc Merge from 5.0. Add new 5.1 files. Drop bdb. 2008-07-04 14:48:25 -04:00
have_binlog_format_mixed_or_statement.inc Merge from 5.0. Add new 5.1 files. Drop bdb. 2008-07-04 14:48:25 -04:00
have_binlog_format_row.inc Merge from 5.0. Add new 5.1 files. Drop bdb. 2008-07-04 14:48:25 -04:00
have_binlog_format_row_or_statement.inc Merge from 5.0. Add new 5.1 files. Drop bdb. 2008-07-04 14:48:25 -04:00
have_binlog_format_statement.inc Merge from 5.0. Add new 5.1 files. Drop bdb. 2008-07-04 14:48:25 -04:00
have_blackhole.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_blackhole_plugin.inc backport of patch for blckhole plugin (47748) to trunk-bugfixing. 2010-04-26 20:44:10 +02:00
have_case_insensitive_file_system.inc Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
have_case_insensitive_fs.inc Bug#41049 does syntax "grant" case insensitive? 2009-10-27 12:09:19 +04:00
have_case_sensitive_file_system.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_compress.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_cp866.inc Patch for the following bugs: 2007-06-28 21:34:54 +04:00
have_cp932.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_cp1250_ch.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_cp1251.inc Patch for the following bugs: 2007-06-28 21:34:54 +04:00
have_crypt.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_csv.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_debug.inc Merge from 5.0. Add new 5.1 files. Drop bdb. 2008-07-04 14:48:25 -04:00
have_debug_sync.inc WL#4259 - Debug Sync Facility 2009-09-29 17:38:40 +02:00
have_dynamic_loading.inc merging 5.1 main -> 5.1-rep+2 -> 5.1-rep+3; binlog_unsafe , rpl_mysql_upgrade fail and are under treatment 2009-11-10 20:45:15 +02:00
have_eucjpms.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_euckr.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_example_plugin.inc merged fixes for BUG#39934 to 5.1-rpl+3 2009-09-30 18:00:22 +02:00
have_exampledb.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_federated_plugin.inc Patch for 47759 to trunk-bugfixing. 2010-05-05 09:35:38 +02:00
have_gb2312.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_gbk.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_geometry.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_innodb.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_ipv4_mapped.inc New patch for bug#49579, now with "have_ipv4_mapped.inc". 2010-01-29 11:48:11 +01:00
have_koi8r.inc Patch for the following bugs: 2007-06-28 21:34:54 +04:00
have_latin2_ch.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_local_infile.inc Changes to fix tests in pushbuild. 2008-01-31 12:17:40 +01:00
have_log_bin.inc merged 5.1 main to 5.1-rpl 2008-08-04 07:04:47 +02:00
have_lowercase0.inc Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
have_lowercase1.inc Bug #27653: Temp table can't be created if lower_case_table_names=1 and 2007-04-30 23:16:46 +02:00
have_lowercase2.inc Bug#37402: Mysql cant read partitioned table with capital letter in the name 2008-07-11 01:14:13 +02:00
have_multi_ndb.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_mysql_upgrade.inc BUG#43579 mysql_upgrade tries to alter log tables on replicated database 2009-09-28 14:24:19 +08:00
have_ndb.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_ndb_extra.inc wl2325 wl2324 2006-01-12 19:51:02 +01:00
have_ndbapi_examples.inc merged 5.1 main to 5.1-rpl 2008-08-04 07:04:47 +02:00
have_nodebug.inc Bug#33637 SHOW PROCEDURE CODE/SHOW FUNCTION CODE sp_name gives a syntax error. 2009-10-29 10:51:04 -06:00
have_not_innodb_plugin.inc Bug#32430: 'show innodb status' causes errors 2009-09-25 11:26:49 +02:00
have_outfile.inc Merge from 5.0. Add new 5.1 files. Drop bdb. 2008-07-04 14:48:25 -04:00
have_partition.inc Merge from 5.0. Add new 5.1 files. Drop bdb. 2008-07-04 14:48:25 -04:00
have_perfschema.inc WL#2360 Performance schema 2010-01-06 22:42:07 -07:00
have_plugin_auth.inc WL#1054: Pluggable authentication support 2010-08-09 11:32:50 +03:00
have_plugin_interface.inc due to merge 2010-10-20 16:56:09 +02:00
have_plugin_server.inc due to merge 2010-10-20 16:56:09 +02:00
have_profiling.inc Bug #44651 "have_community_features" variable should be renamed 2009-10-09 15:59:25 +02:00
have_query_cache.inc Merge from 5.0. Add new 5.1 files. Drop bdb. 2008-07-04 14:48:25 -04:00
have_semisync_plugin.inc Auto merge from 5.1-rep+2 2009-10-29 15:14:50 +08:00
have_simple_parser.inc merged fixes for BUG#39934 to 5.1-rpl+3 2009-09-30 18:00:22 +02:00
have_sjis.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_ssl.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_ssl_communication.inc WL#4641 Heartbeat testing 2009-10-02 23:24:40 +04:00
have_ssl_crypto_functs.inc Backport of: 2010-04-13 19:04:45 +04:00
have_symlink.inc Merge from 5.0. Add new 5.1 files. Drop bdb. 2008-07-04 14:48:25 -04:00
have_tis620.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_ucs2.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_udf.inc merged fixes for BUG#39934 to 5.1-rpl+3 2009-09-30 18:00:22 +02:00
have_ujis.inc Bug#30563: Is not possible to create rpl_ or innodb test if needed \ 2008-07-04 12:41:27 -04:00
have_utf8.inc Patch for the following bugs: 2007-06-28 21:34:54 +04:00
have_utf8mb4.inc Backporting WL#1213 2010-02-24 13:15:34 +04:00
have_utf16.inc Backporting WL#1213 2010-02-24 13:15:34 +04:00
have_utf32.inc Backporting WL#1213 2010-02-24 13:15:34 +04:00
implicit_commit_helper.inc Backport of: 2009-12-03 18:47:20 +03:00
index_merge1.inc WL#4738 streamline/simplify @@variable creation process 2009-12-22 10:35:56 +01:00
index_merge2.inc Bug#56423: Different count with SELECT and CREATE SELECT queries 2010-10-07 12:01:51 +02:00
index_merge_2sweeps.inc This changeset belongs to 2006-08-16 14:58:49 +02:00
index_merge_ror.inc Merge mysql.com:/home/svoj/devel/mysql/BUG25048/mysql-5.0-engines 2006-12-26 18:04:31 +04:00
index_merge_ror_cpk.inc Bug#50402 Optimizer producing wrong results when using Index Merge on InnoDB 2010-09-16 16:13:53 +04:00
innodb-index.inc Move InnoDB tests from storage/innobase/mysql-test/ (where they were ignored) 2010-04-14 14:14:48 +03:00
innodb_rollback_on_timeout.inc Bug#32754 - InnoDB tests do not prepare or clean up correctly 2007-11-27 09:25:45 +01:00
innodb_trx_weight.inc Apply the following innodb-5.1-* snapshots: ss1489, ss1496, ss1550, ss1569. 2007-07-10 05:37:43 -06:00
ipv6.inc Patch to fix bug#50981. Replace now the result ::1 by localhost for Windows. Both is valid. 2010-02-08 11:43:56 +01:00
ipv6_clients.inc Reviewed patch of QA results for WL#798. 2009-11-23 17:38:42 +01:00
is_embedded.inc Bug#35997 Event scheduler seems to let the server crash, if it is embedded. 2008-05-09 10:26:06 +02:00
kill_query.inc Follow-up to Bug #55582 which allows chaecking strings in if 2010-10-20 16:15:32 +02:00
kill_query_and_diff_master_slave.inc Follow-up to Bug #55582 which allows chaecking strings in if 2010-10-20 16:15:32 +02:00
linux_sys_vars.inc Fix for Bug#36876: 2008-12-02 11:05:56 +01:00
load_sysvars.inc Fixes for bug#36522. 2008-05-08 20:13:39 +02:00
loaddata_autocom.inc WL#4189 2007-12-12 18:19:24 +01:00
master-slave-end.inc BUG#37051 Replication rules not evaluated correctly 2009-03-05 18:10:44 +08:00
master-slave-reset.inc BUG#48048: Deprecated constructs need removal in Betony 2009-11-04 12:28:20 +00:00
master-slave.inc BUG#48048: Deprecated constructs need removal in Betony 2009-11-04 12:28:20 +00:00
min_null_cond.inc Post-push fix to disable a subset of the test case for Bug#47762. 2010-03-19 09:23:44 +01:00
mix1.inc Merge from mysql-5.5-bugfixing to mysql-5.5-runtime 2010-08-18 13:55:37 +02:00
mix2.inc upmerge 55582 2010-08-05 14:41:07 +02:00
mix2_ucs2.inc 5.1-specific fix for bug #18743. 2007-02-19 15:31:55 +03:00
mtr_check.sql Bug#43983 Support force restart of all servers after test ended 2009-03-31 15:39:40 +02:00
mtr_warnings.sql A patch for Bug#48874 (Test "is_triggers" fails because of wrong charset info). 2010-10-14 14:05:59 +04:00
mysql_upgrade_preparation.inc fix for Bug #55672 "mysql_upgrade dies with internal error": 2010-08-11 19:56:56 +02:00
mysqlbinlog_row_engine.inc Postfix of tests after merge 2008-09-06 12:49:43 +08:00
mysqld--help.inc Bug#56375 Ignore socket path since it may vary. Added some comments to 2010-09-30 15:52:39 +02:00
mysqldump.inc Bug#40465 - mysqldump.test does no checking of dump or restore 2009-05-22 10:38:17 -04:00
mysqlhotcopy.inc mysqlhotcopy tests fixed. 2010-08-23 13:48:27 +05:00
mysqltest-x.inc Bug #38181 Please print more debug info when tests fail 2008-08-04 21:54:44 +02:00
ndb_backup.inc merge 5.0 -> 5.1 2009-03-15 18:39:48 -04:00
ndb_backup_print.inc Bug#38311 Some tests use 'rm' which is not portable 2008-09-20 02:21:28 -04:00
ndb_default_cluster.inc Bug #20820 auto inc table not handled correctly when restored from cluster backup 2006-07-06 18:50:44 +02:00
ndb_master-slave.inc correct include file 2007-09-05 18:02:46 +02:00
ndb_master-slave_2ch.inc WL#3754, testing circular replication 2008-04-25 00:41:04 +04:00
ndb_not_readonly.inc Revert removal of ER_GET_ERRMSG 2008-01-10 10:25:45 +01:00
ndb_restore_master.inc WL#4189 2007-12-12 18:19:24 +01:00
ndb_restore_slave_eoption.inc WL#4189 2007-12-12 18:19:24 +01:00
ndb_setup_slave.inc Changed mysql.apply_status, mysql.binlog_index, and mysql.schema to mysql.ndb_apply_status, mysql.ndb_binlog_index, and mysql.ndb_schema 2006-12-01 15:49:07 +01:00
ndb_wait_connected.inc Bug#32025 ndb_waiter does too many roundtrips to ndb_mgmd 2008-02-21 13:23:58 +01:00
no_running_event_scheduler.inc 1. Fix for Bug#41111 events_bugs fails sporadically on pushbuild 2009-01-09 15:10:03 +01:00
no_running_events.inc 1. Fix for Bug#41111 events_bugs fails sporadically on pushbuild 2009-01-09 15:10:03 +01:00
no_valgrind_without_big.inc Don't run funcs_1/myisam_views test case under valgrind, unless 2009-06-09 11:36:14 -03:00
not_as_root.inc Bug #32307 mysqltest - does not detect illegal if syntax 2008-08-04 12:38:50 +02:00
not_binlog_format_row.inc Bug #51049: main.bug39022 fails in mysql-trunk-merge 2010-02-18 10:48:15 +02:00
not_blackhole.inc Bug#46086: crash when dropping a partitioned table 2010-07-08 14:36:55 +02:00
not_embedded.inc Small fixes for merge. 2007-04-10 18:01:29 +03:00
not_ndb.inc wl2325 wl2324 2006-01-12 19:51:02 +01:00
not_ndb_default.inc BUG#48048: Deprecated constructs need removal in Betony 2009-11-04 12:28:20 +00:00
not_openssl.inc BUG#10589: des_encrypt functionality always return NULL 2005-06-17 18:07:46 +02:00
not_parallel.inc Bug #53261 MTR tests archive_plugin and blackhole_plugin fail when compiling with cmake 2010-06-14 11:23:49 +02:00
not_valgrind.inc WL#3337 (Events new architecture) 2006-07-17 16:52:45 +02:00
not_var_link.inc Skip perfschema.misc if "var" is a symlink (due to Bug 51447). 2010-06-03 09:52:15 +02:00
not_windows.inc Update 'abort_not_supported_test' to print a reason why the test was aborted 2006-07-19 14:25:52 +02:00
not_windows_embedded.inc Bug#47801 The plugin test fails with the Embedded Server on Windows 2009-10-08 10:39:15 +02:00
one_thread_per_connection.inc Fixed compiler warnings 2007-02-23 13:13:55 +02:00
parser_bug21114.inc Unset the execute bit where it's not needed. 2010-07-03 20:17:03 -03:00
partition_date_range.inc post push fix for bug#20577 and bug#46362, disabling warnings 2009-09-01 14:53:27 +02:00
ps_conv.inc Bug#27590: Wrong DATE/DATETIME comparison. 2007-04-27 00:12:09 +04:00
ps_create.inc bug#10466: Datatype "timestamp" displays "YYYYMMDDHHMMSS" irrespective of display sizes. 2005-06-20 12:09:00 +02:00
ps_ddl_1.inc Improve the testcases for Bug 12093 in ps_ddl.test 2008-08-13 21:42:21 +02:00
ps_modify.inc Bug #39265: fix for the bug 33699 should be reverted 2009-02-05 13:49:32 +04:00
ps_modify1.inc Small bug fix 2004-12-13 21:00:43 +01:00
ps_query.inc Bug #32400: Complex SELECT query returns correct result 2007-11-20 19:18:21 +02:00
ps_renew.inc Results of WL#1856 "Conversion of client_test.c tests cases to mysqltest 2004-09-25 19:08:02 +04:00
query_cache.inc WL#4738 streamline/simplify @@variable creation process 2009-12-22 10:35:56 +01:00
query_cache_sql_prepare.inc WL#4738 streamline/simplify @@variable creation process 2009-12-22 10:35:56 +01:00
read_many_rows.inc Merge 50 -> 51 (-opt changesets) 2007-08-01 18:59:41 -06:00
report-features.test Change typo . -> , 2008-09-20 17:00:05 +03:00
reset_master_and_slave.inc BUG#37975: wait_for_slave_* should increase the timeout 2008-07-10 18:09:39 +02:00
restart_mysqld.inc BUG#40704 main.events_restart fails sporadically in pushbuild: "server has gone away" 2008-12-25 17:53:24 +08:00
rowid_order.inc This changeset belongs to 2006-08-16 19:29:49 +02:00
rpl_diff_tables.inc WL#5370 Keep forward-compatibility when changing 2010-08-18 12:56:06 +08:00
rpl_events.inc Bug#30128: The reason that sometimes events were executed because without STARTS 2009-01-21 18:48:12 +03:00
rpl_ip_mix.inc No more socket and no more diffs in result files. 2009-11-27 09:02:32 +01:00
rpl_ip_mix2.inc No more socket and no more diffs in result files. 2009-11-27 09:02:32 +01:00
rpl_ipv6.inc Improvements to reduce the output for better reading and more stability. 2009-11-26 09:03:04 +01:00
rpl_loaddata_charset.inc Manual Merge 2009-08-12 13:31:56 +08:00
rpl_multi_engine.inc BUG#40707 rpl_multi_engine fails sporadically in pushbuild 2008-11-24 14:57:23 +08:00
rpl_multi_engine2.inc BUG#21842 (Cluster fails to replicate to innodb or myisam with err 134 2007-08-26 14:31:10 +02:00
rpl_multi_engine3.inc Removing sleeps; rpl_row_basic_8partition falls from 2 minutes 2006-09-07 18:01:42 +02:00
rpl_stmt_seq.inc Bug #49741 test files contain explicit references to bin/relay-log positions 2010-05-24 21:54:08 +08:00
rpl_udf.inc BUG#39934: Slave stops for engine that only support row-based logging 2009-07-14 21:31:19 +02:00
running_event_scheduler.inc 1. Fix for Bug#41111 events_bugs fails sporadically on pushbuild 2009-01-09 15:10:03 +01:00
safe_set_to_maybe_ro_var.inc Bug#22067 rpl_rbr_to_sbr and some other fail if NDB is default storage 2006-09-15 17:25:13 +03:00
select_ndb_apply_status.inc select_ndb_apply_status.inc: 2007-06-21 23:29:14 +02:00
set_binlog_format_mixed.sql WL#3949 Test should set binlog format dnamically 2007-11-23 13:29:31 +01:00
set_binlog_format_row.sql WL#3949 Test should set binlog format dnamically 2007-11-23 13:29:31 +01:00
set_binlog_format_statement.sql WL#3949 Test should set binlog format dnamically 2007-11-23 13:29:31 +01:00
setup_fake_relay_log.inc upmerge and adapt follow-up to 55582 2010-10-21 09:37:10 +02:00
show_binary_logs.inc Bug #18199 PURGE BINARY LOGS fails silently with missing logs; 2008-03-17 20:19:04 +02:00
show_binlog_events.inc Follow-up to Bug #55582 which allows chaecking strings in if 2010-10-20 16:15:32 +02:00
show_binlog_events2.inc WL#342 heartbeat 2009-09-29 14:16:23 +03:00
show_binlog_using_logname.inc Many files: 2007-06-21 21:58:59 +02:00
show_events.inc Revert simplified if() in mysql-test/include/show_events.inc 2010-10-25 14:07:28 +02:00
show_master_logs.inc Fix for versional test 2008-01-14 15:38:02 +08:00
show_master_status.inc Fix for versional test 2008-01-14 15:38:02 +08:00
show_msg.inc Unset the execute bit where it's not needed. 2010-07-03 20:17:03 -03:00
show_msg80.inc Unset the execute bit where it's not needed. 2010-07-03 20:17:03 -03:00
show_relaylog_events.inc Manual merge 2010-05-26 22:34:25 +08:00
show_rpl_debug_info.inc Follow-up to Bug #55582 which allows chaecking strings in if 2010-10-20 16:15:32 +02:00
show_slave_status.inc Bug #49741 test files contain explicit references to bin/relay-log positions 2010-05-24 21:54:08 +08:00
sp-vars.inc Remove compiler warnings 2006-11-20 22:42:06 +02:00
start_slave.inc BUG#37051 Replication rules not evaluated correctly 2009-03-05 18:10:44 +08:00
stop_slave.inc BUG#37051 Replication rules not evaluated correctly 2009-03-05 18:10:44 +08:00
strict_autoinc.inc Bug#18908: ERROR 1406 (22001): Data too long for column :: using utf8 2006-10-30 10:14:03 +04:00
sync_slave_io_with_master.inc BUG#37718: rpl.rpl_stm_mystery22 fails sporadically on pushbuild 2009-01-09 15:12:31 +01:00
system_db_struct.inc WL #3031 2006-12-11 11:44:03 -05:00
test_fieldsize.inc Manual merge 2010-05-26 22:34:25 +08:00
test_outfile.inc Make it possible to run mysql-test-run.pl with default test suite in different vardir. 2006-01-24 08:30:54 +01:00
testdb_only.inc WL#4189 2007-12-12 18:19:24 +01:00
tpcb.inc Many files: 2007-06-21 21:58:59 +02:00
tpcb_disk_data.inc Many files: 2007-06-21 21:58:59 +02:00
truncate_file.inc BUG #28421 Infinite loop on slave relay logs 2010-01-08 13:42:23 +08:00
unsafe_binlog.inc Bug #28757 Test program / embedded server crash in test "unsafe_binlog_innodb" 2007-06-12 17:53:16 +05:00
uses_vardir.inc Bug#28718 Running backup testcase fails in mysql testsuite of MySQL-enterprise-5.0.40 2007-06-07 23:18:19 +02:00
varchar.inc Bug #28842 Different 'duplicate key' error code between 5.0 and 5.1 2007-06-06 10:57:07 -07:00
view_alias.inc Bug#40277: SHOW CREATE VIEW returns invalid SQL 2010-03-09 07:36:26 -03:00
wait_condition.inc Fix for 2008-06-25 16:59:38 +02:00
wait_condition_sp.inc Final fix for bug#36773: Moved patch in 5.1 from rpl to bug team tree. 2008-12-17 14:38:02 +01:00
wait_for_binlog_event.inc Bug #49741 test files contain explicit references to bin/relay-log positions 2010-05-24 21:54:08 +08:00
wait_for_ndb_to_binlog.inc Backport for WL#4416 2009-11-27 02:32:01 +03:00
wait_for_query_to_succeed.inc Reviewed fix for bug#40882: Replaced "sleep 1" by wait_condition, added save/restore start values and closed open sessions. When trying to use "wait_for_query_to_succeed" a type has been fixed, also in "rename.test": Added session count and check and replaced error numbers. 2009-02-11 10:27:52 +01:00
wait_for_slave_io_error.inc Follow-up to Bug #55582 which allows chaecking strings in if 2010-10-20 16:15:32 +02:00
wait_for_slave_io_to_start.inc BUG#37718: rpl.rpl_stm_mystery22 fails sporadically on pushbuild 2009-01-09 15:12:31 +01:00
wait_for_slave_io_to_stop.inc BUG#37718: rpl.rpl_stm_mystery22 fails sporadically on pushbuild 2009-01-09 15:12:31 +01:00
wait_for_slave_param.inc upmerge and adapt follow-up to 55582 2010-10-21 09:37:10 +02:00
wait_for_slave_sql_error.inc Follow-up to Bug #55582 which allows chaecking strings in if 2010-10-20 16:15:32 +02:00
wait_for_slave_sql_error_and_skip.inc Bug #49741 test files contain explicit references to bin/relay-log positions 2010-05-24 21:54:08 +08:00
wait_for_slave_sql_to_start.inc BUG#37718: rpl.rpl_stm_mystery22 fails sporadically on pushbuild 2009-01-09 15:12:31 +01:00
wait_for_slave_sql_to_stop.inc BUG#37718: rpl.rpl_stm_mystery22 fails sporadically on pushbuild 2009-01-09 15:12:31 +01:00
wait_for_slave_to_start.inc BUG#37718: rpl.rpl_stm_mystery22 fails sporadically on pushbuild 2009-01-09 15:12:31 +01:00
wait_for_slave_to_stop.inc BUG#37718: rpl.rpl_stm_mystery22 fails sporadically on pushbuild 2009-01-09 15:12:31 +01:00
wait_for_status_var.inc Follow-up to Bug #55582 which allows chaecking strings in if 2010-10-20 16:15:32 +02:00
wait_show_condition.inc Patch that refactors global read lock implementation and fixes 2010-11-11 20:11:05 +03:00
wait_until_connected_again.inc push to 5.1-buteam tree. 2008-12-10 10:51:43 +00:00
wait_until_count_sessions.inc Bug #49741 test files contain explicit references to bin/relay-log positions 2010-05-24 21:54:08 +08:00
wait_until_disconnected.inc Partial backport for BUG#41399, more precisely, the changes to 2009-10-01 00:32:15 +01:00
wait_until_rows_count.inc BUG#25211: events_bugs.test fails on sapsrv1 2007-01-19 18:33:48 +03:00
windows.inc Add test for named pipes on windows 2007-09-24 12:42:44 +02:00
windows_sys_vars.inc Fix for Bug#36876: 2008-12-02 11:05:56 +01:00