mirror of
https://github.com/MariaDB/server.git
synced 2025-11-19 19:03:26 +03:00
-Added test and extra code to ensure we don't leave keyread on for a handler table. -Create on disk temporary files always with long data pointers if SQL_SMALL_RESULT is not used. This ensures that we can handle temporary files bigger than 4G. mysql-test/include/default_mysqld.cnf: Run test suite with smaller aria keybuffer size mysql-test/suite/maria/maria3.result: Run test suite with smaller aria keybuffer size mysql-test/suite/sys_vars/r/aria_pagecache_buffer_size_basic.result: Run test suite with smaller aria keybuffer size sql/handler.cc: Disable key read (extra safety if something went wrong) sql/multi_range_read.cc: Ensure we have don't leave keyread on for secondary_file sql/opt_range.cc: Simplify code with mark_columns_used_by_index_no_reset() Ensure that read_keys_and_merge() disableds keyread if it enables it sql/opt_subselect.cc: Remove not anymore used argument for create_internal_tmp_table() sql/sql_derived.cc: Remove not anymore used argument for create_internal_tmp_table() sql/sql_select.cc: Use 'enable_keyread()' instead of calling HA_EXTRA_RESET. (Makes debugging easier) Create on disk temporary files always with long data pointers if SQL_SMALL_RESULT is not used. This ensures that we can handle temporary files bigger than 4G. Remove not anymore used argument for create_internal_tmp_table() More DBUG sql/sql_select.h: Remove not anymore used argument for create_internal_tmp_table()
82 lines
2.7 KiB
INI
82 lines
2.7 KiB
INI
# Copyright (c) 2007, 2010, Oracle and/or its affiliates
|
|
#
|
|
# 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-aria-pagecache-buffer-size=8M
|
|
|
|
loose-feedback-user-info= mysql-test
|
|
|
|
loose-innodb_data_file_path= ibdata1:10M:autoextend
|
|
loose-innodb_buffer_pool_size= 8M
|
|
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_additional_mem_pool_size= 1M
|
|
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=10000
|
|
loose-performance-schema-max-rwlock-instances=10000
|
|
loose-performance-schema-max-table-instances=500
|
|
loose-performance-schema-max-table-handles=1000
|
|
|
|
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
|
|
|