mirror of
https://github.com/MariaDB/server.git
synced 2025-05-11 13:21:44 +03:00
and small collateral changes mysql-test/lib/My/Test.pm: somehow with "print" we get truncated writes sometimes mysql-test/suite/perfschema/r/digest_table_full.result: md5 hashes of statement digests differ, because yacc token codes are different in mariadb mysql-test/suite/perfschema/r/dml_handler.result: host table is not ported over yet mysql-test/suite/perfschema/r/information_schema.result: host table is not ported over yet mysql-test/suite/perfschema/r/nesting.result: this differs, because we don't rewrite general log queries, and multi-statement packets are logged as a one entry. this result file is identical to what mysql-5.6.5 produces with the --log-raw option. mysql-test/suite/perfschema/r/relaylog.result: MariaDB modifies the binlog index file directly, while MySQL 5.6 has a feature "crash-safe binlog index" and modifies a special "crash-safe" shadow copy of the index file and then moves it over. That's why this test shows "NONE" index file writes in MySQL and "MANY" in MariaDB. mysql-test/suite/perfschema/r/server_init.result: MariaDB initializes the "manager" resources from the "manager" thread, and starts this thread only when --flush-time is not 0. MySQL 5.6 initializes "manager" resources unconditionally on server startup. mysql-test/suite/perfschema/r/stage_mdl_global.result: this differs, because MariaDB disables query cache when query_cache_size=0. MySQL does not do that, and this causes useless mutex locks and waits. mysql-test/suite/perfschema/r/statement_digest.result: md5 hashes of statement digests differ, because yacc token codes are different in mariadb mysql-test/suite/perfschema/r/statement_digest_consumers.result: md5 hashes of statement digests differ, because yacc token codes are different in mariadb mysql-test/suite/perfschema/r/statement_digest_long_query.result: md5 hashes of statement digests differ, because yacc token codes are different in mariadb mysql-test/suite/rpl/r/rpl_mixed_drop_create_temp_table.result: will be updated to match 5.6 when alfranio.correia@oracle.com-20110512172919-c1b5kmum4h52g0ni and anders.song@greatopensource.com-20110105052107-zoab0bsf5a6xxk2y are merged mysql-test/suite/rpl/r/rpl_non_direct_mixed_mixing_engines.result: will be updated to match 5.6 when anders.song@greatopensource.com-20110105052107-zoab0bsf5a6xxk2y is merged
100 lines
3.5 KiB
INI
100 lines
3.5 KiB
INI
# Copyright (c) 2007, 2010, Oracle and/or its affiliates
|
|
# Copyright (c) 2010, 2012, Monty Program Ab
|
|
#
|
|
# This program is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; version 2 of the License.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU General Public License
|
|
# along with this program; if not, write to the Free Software
|
|
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
# Default values that applies to all MySQL Servers
|
|
[mysqld]
|
|
open-files-limit= 1024
|
|
local-infile
|
|
character-set-server= latin1
|
|
|
|
# Increase default connect_timeout to avoid intermittent
|
|
# disconnects when test servers are put under load see BUG#28359
|
|
connect-timeout= 60
|
|
|
|
secure-file-priv= @ENV.MYSQLTEST_VARDIR
|
|
|
|
log-basename=mysqld
|
|
debug-no-sync
|
|
|
|
# Retry bind as this may fail on busy server
|
|
port-open-timeout=10
|
|
|
|
log-bin-trust-function-creators=1
|
|
key_buffer_size= 1M
|
|
sort_buffer= 256K
|
|
max_heap_table_size= 1M
|
|
|
|
loose-feedback-user-info= mysql-test
|
|
|
|
loose-innodb_data_file_path= ibdata1:10M:autoextend
|
|
loose-innodb_buffer_pool_size= 8M
|
|
loose-innodb_lru_scan_depth= 100
|
|
loose-innodb_write_io_threads= 2
|
|
loose-innodb_read_io_threads= 2
|
|
loose-innodb_log_buffer_size= 1M
|
|
loose-innodb_log_file_size= 5M
|
|
loose-innodb_log_files_in_group= 2
|
|
|
|
slave-net-timeout=120
|
|
|
|
# Run tests with the performance schema instrumentation
|
|
loose-enable-performance-schema
|
|
# Run tests with a small number of instrumented objects
|
|
# to limit memory consumption with MTR
|
|
loose-performance-schema-max-mutex-instances=5000
|
|
loose-performance-schema-max-rwlock-instances=5000
|
|
loose-performance-schema-max-table-instances=500
|
|
loose-performance-schema-max-table-handles=1000
|
|
|
|
loose-performance-schema-events-stages-history-long-size=1000
|
|
loose-performance-schema-events-statements-history-long-size=1000
|
|
loose-performance-schema-max-thread-instances=200
|
|
|
|
loose-performance-schema-instrument='%=ON'
|
|
|
|
loose-performance-schema-consumer-events-stages-current=ON
|
|
loose-performance-schema-consumer-events-stages-history=ON
|
|
loose-performance-schema-consumer-events-stages-history-long=ON
|
|
loose-performance-schema-consumer-events-statements-current=ON
|
|
loose-performance-schema-consumer-events-statements-history=ON
|
|
loose-performance-schema-consumer-events-statements-history-long=ON
|
|
loose-performance-schema-consumer-events-waits-current=ON
|
|
loose-performance-schema-consumer-events-waits-history=ON
|
|
loose-performance-schema-consumer-events-waits-history-long=ON
|
|
loose-performance-schema-consumer-global-instrumentation=ON
|
|
loose-performance-schema-consumer-thread-instrumentation=ON
|
|
|
|
binlog-direct-non-transactional-updates
|
|
|
|
default-storage-engine=myisam
|
|
|
|
# here, at the end of [mysqld] group mtr will automatically disable
|
|
# all optional plugins.
|
|
|
|
[embedded]
|
|
# mtr automatically adds [embedded] group at the end and copies [mysqld]
|
|
# and [mysqld.1] groups into it.
|
|
# but we want [server] group to be after [mysqld] (and its copies).
|
|
# create a non-empty [embedded] group here, to force it before [server]
|
|
local-infile
|
|
|
|
[server]
|
|
# Aria is optional, but it must be enabled if it's used for temporary
|
|
# tables. Let's enable it in the [server] group, because this group
|
|
# is read after [mysqld] and [embedded]
|
|
loose-aria
|
|
|