Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: master
Commits on Apr 24, 2012
  1. Copy README-MySQL over to README whenever necessary.

    Davi Arnaut authored
  2. Merge branch 'master' into MYSQL-51

    Davi Arnaut authored
  3. If, for whatever reason, the 8 rightmost bits of memcmp() return

    Davi Arnaut authored
    value are zero, an invalid password might be accepted.
  4. MYSQL-62: Replication info not available from crash recovery?

    Davi Arnaut authored
    Restore code that stores the master binary log position of a slave
    in InnoDB's data file. Like in earlier MySQL versions, if a slave
    crashes, the name and position of the slave in relation to the master
    binary log file is printed after crash recovery.
  5. Add InnoDB flush-related status variables.

    Davi Arnaut authored
    Introduce status variables that provide counters for the various
    flushing-related tasks performed by InnoDB. For example, these
    counters provide information about the number of pages scanned
    and flushed from the flush and LRU lists. Also, there are counters
    for the number of pages flushed by the background thread.
Commits on Apr 20, 2012
  1. Bug#65061: LRU flush rate calculation is based on invalid values

    Davi Arnaut authored
    The internal counter for the number of pages flushed as part of LRU
    flushing is being incremented twice, once in buf_flush_LRU_list_batch()
    and again in buf_flush_common().
    This might lead to an incorrect calculation of the rate at which LRU
    flush is happening, which might later affect the statistics associated
    with adaptive flushing.
Commits on Apr 19, 2012

    Sujatha Sivakumar authored Davi Arnaut committed
    When binary log statements are replayed on the slave, BEGIN is represented
    in com_counters but COMMIT is not. Similarly in 'ROW' based replication
    'INSERT','UPDATE',and 'DELETE' com_counters are not getting incremented
    when the binary log statements are replayed at slave.
    In 'ROW' based replication for COMMIT,INSERT,UPDATE and DELETE operations
    following special events are invoked.
    The above mentioned events doesn't go through the parser where the
    'COM_COUNTERS' are incremented.
    Increment statements are added at appropriate events.
    Respective functions are listed below.
    property-branch-nick: Bug12662190
    property-file-info: code to increment counts for 'COM_INSERT','COM_UPDATE',
    property-file-info: 'COM_DELETE' and 'COM_COMMIT'during ROW based replicaiton4:path16:sql/log_event.ccee
    testament3-sha1: 03a97ebea95b3d62ad79b50a08cc607f81cdb5ec
  2. Merge branch 'twitter-dev' into MYSQL-51

    Davi Arnaut authored
  3. Bug#65030: Innodb_buffer_pool_pages_flushed reports incorrect number

    Davi Arnaut authored
    of flushed pages
    The problem is that the internal counter for the number of flushed
    pages (srv_buf_pool_flushed) was being incremented twice, once in
    buf_flush_batch() and again in buf_flush_common().
Commits on Apr 18, 2012
  1. Use the Google Breakpad crash reporting system to generate minimal

    Davi Arnaut authored
    crash dump information when the server process (mysqld) crashes.
    The minidump file generated by breakpad contains a list of the
    executable and shared libraries loaded in the process, the state
    of the processor register and a stack trace for each thread, and
    miscellaneous information about the system and the reason for the
    dump. Minidumps are significantly smaller than core files, making
    them more practical for collection and processing.
    The option minidump_dir can be used to specify the path name of
    the directory in which to store minidumps. Also, a minidump can
    be generated at runtime by requesting the server to dump debug
    information with the mysqladmin debug command.
Commits on Apr 9, 2012
  1. @jeremycole
  2. @jeremycole

    Fix links in

    jeremycole authored
  3. @jeremycole
  4. @jeremycole
Commits on Apr 6, 2012
  1. Introduce a configuration option that controls whether the master

    Davi Arnaut authored
    thread will flush dirty pages from the buffer pool if there is I/O
    bandwidth available for background tasks.
Commits on Mar 20, 2012
  1. Backport innodb_flush_neighbors from MySQL 5.6

    Davi Arnaut authored
    The innodb_flush_neighbors option specifies whether flushing
    a page from the InnoDB buffer pool also flushes other dirty
    pages in the same extent. On SSD storage, this option can be
    used to spread out write operations.
Commits on Mar 8, 2012
  1. Merge MySQL 5.5.22 (commit 'cf796ed9716b5b01e035a0c2661ffb90d99c4370')

    Davi Arnaut authored
    into MYSQL-51 and raise the Twitter version to t5.
Commits on Mar 6, 2012
  1. Merge branch 'MYSQL-15' into twitter-dev

    Davi Arnaut authored
  2. Bug#64556: Interrupting a query inside InnoDB causes an unrelated war…

    Davi Arnaut authored
    …ning to be raised
    Interrupting a statement (with KILL QUERY) that is executing inside
    InnoDB leads to an unrelated warning being raised in the context of
    the connection whose statement was interrupted.
  3. MYSQL-15: Implement server-side statement timeout support

    Davi Arnaut authored
    Extend testing of the maximum execution time for statements.
  4. MYSQL-15: Implement server-side statement timeout support

    Davi Arnaut authored
    Set an appropriate error status when a statement is killed. The
    error status to be set varies depending on the killed state.
  5. MYSQL-15: Implement server-side statement timeout support

    Davi Arnaut authored
    Introduce status variables that provide counters for the number
    of statements that are timed-limited (max_statement_time_set),
    for statements that exceeded the maximum execution time
    (max_statement_time_exceeded) and for failed attempts to set the
    maximum execution time (max_statement_time_set_failed).
  6. MYSQL-15: Implement server-side statement timeout support

    Davi Arnaut authored
    Introduce an account resource limit named MAX_STATEMENT_TIME that can
    be used to set the default maximum execution time for any statement
    issued under a given account. That is, the max_statement_time session
    variable is initialized at connect time using the current value of the
    equally named resource limit.
    The MAX_STATEMENT_TIME limit can be set with a CREATE USER or GRANT
    statement. For example, GRANT ... TO 'user'@'host' WITH
    MAX_STATEMENT_TIME 10. The server stores the specified value for an
    account in the max_statement_time column of the user table row
    corresponding to the account.
    Given that the max_statement_time variable is initialized using the
    limit value, the global counterpart of the variable is removed.
  7. MYSQL-15: Implement server-side statement timeout support

    Davi Arnaut authored
    Implement an option in the query specification to set the maximum
    execution time for a SELECT statement. Using the MAX_STATEMENT_TIME=N
    option, a user is able to specify the maximum execution time (in
    milliseconds) for a SELECT statement. For example, SELECT
    The source value (N) can only be an integer literal. The option
    is intended mainly for queries and is not supported if the SELECT
    statement where the option is used is not a top-level statement
    (e.g. a subquery). Also, the MAX_STATEMENT_TIME option takes
    precedence over @@max_statement_time.
  8. MYSQL-15: Implement server-side statement timeout support

    Davi Arnaut authored
    Introduce a server-side time limit for the execution of statements.
    This feature works by interrupting the execution of statements that
    take over a specified number of milliseconds to complete. After the
    specified number of milliseconds has passed, the server attempts to
    abort the statement without affecting the session (connection)
    The implementation is optimized for the case where a statement
    finishes executing before reaching the time limit. Also, because the
    timeout event is an asynchronous operation to the statement being
    executed, it is possible that a given statement may not be
    interrupted immediatelyafter the time limit is exceeded.
    The maximum execution time can be set with the max_statement_time
    variable. Using the @@max_statement_time variable a user should be
    able to specify the maximum execution time for any statement. The
    variable value is based on a unsigned 64 bits long integer, which
    represents milliseconds. An infinite timeout is represented by a
    zero value, meaning that no timeout value is set.
    Lastly, the maximum execution time only applies to top-level
    statements or queries; compound statements are treated as a regular
    component of the top-level statement.
Commits on Feb 29, 2012
  1. MYSQL-15: Implement server-side statement timeout support

    Davi Arnaut authored
    Allow threads waiting inside a storage engine to be interrupted if
    the connection or statement is terminated. This is a prerequisite
    for implementing server-side statement timeout support with
    granularity of milliseconds. For example, due to the way that the
    InnoDB background lock timeout thread works, interrupted transactions
    are only detected once every second.
  2. MYSQL-15: Implement server-side statement timeout support

    Davi Arnaut authored
    Introduce an implementation of per-thread timers. The API can be used
    to create one-shot timers that use a monotonically increasing clock
    as the timing base. A timer expires in a given amount of time (in
    milliseconds) from when the timer is armed. Upon timer expiration, a
    given callback function is invoked in a separate thread. Timers can
    also be cancelled (disarmed) and provide an indication of the state
    (signaled or non-signaled) of the timer at the time of cancellation.
    The timer API is currently only implemented on Linux and Mac OS X.
  3. Merge branch 'MYSQL-46' into twitter-dev

    Davi Arnaut authored
  4. MYSQL-46: Make Replication filter settings dynamic

    Davi Arnaut authored
    Make the slave options --replicate-* dynamic variables so that these
    options can be changed dynamically while the server is running,
    which enables users to modify replication filtering rules without
    having to stop and restart the server.
    This is accomplished by just requiring that the slave threads are
    stopped when these options are set dynamically. Since filtering
    rules are only used by the SQL slave thread, setting them while the
    thread is not running avoids the need for locking.
Commits on Feb 25, 2012
  1. Bug#60682: deadlock from thd_security_context

    Davi Arnaut authored
    The problem is a circular wait condition when providing information
    about the internal state of InnoDB. When printing information about
    active transactions, InnoDB holds the kernel mutex (so that transactions
    do not disappear) and calls back into the server to get a description
    (in particular, the query) of every session that is associated with
    a transaction. Since these sessions might be executing unrelated
    statements, a per-session lock is taken so that the query string can
    be safely copied. This lock order poses a problem because there might
    be cases, specially when processing a KILL statement, where the per-
    session lock is acquired before attempting to acquire locks that might
    also be acquired by InnoDB while holding the kernel mutex.
    In order to avoid this problematic lock order, the query of a session
    associated with an active transaction is no longer displayed in the
    output of SHOW ENGINE INNODB STATUS. There query now is only printed
    if a session is describing itself (that is, if the session to be
    described belongs to the calling thread).
Commits on Feb 23, 2012
  1. Bug#22320: my_atomic-t unit test fails

    Davi Arnaut authored
    Move sleep to the affected test, no point in slowing down every
    test that uses the thread template.
  2. Use the appropriate team name in the packager field.

    Davi Arnaut authored
Commits on Feb 20, 2012
  1. @vasild

    Adjust .result files of mysqld--help-notwin and mysqld--help-win

    vasild authored
    mtr tests.
    This is a followup to
    which added a deprecation notice to ignore-builtin-innodb
    property-branch-nick: mysql-5.5
    testament3-sha1: 749b135e849431f7c9e5a58cc5317acd5c5a241b
Commits on Feb 17, 2012
  1. @kdjakevin

    Merge with mysql-5.5

    kdjakevin authored
    property-branch-nick: mysql-5.5
    testament3-sha1: 3f410eb6d7ef2c19d9c19c3c593cc3f017430182
  2. @vasild

    Print a deprecation warning when ignore-builtin-innodb is used

    vasild authored
    This is part of
    Reviewed by:	Mark Alff
    property-branch-nick: mysql-5.5
    testament3-sha1: 0a5ffb78b5f24d9e3c3804e6b7eb27e983306665
Something went wrong with that request. Please try again.