Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
c2bae9c7
Commit
c2bae9c7
authored
May 25, 2022
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Plain Diff
Merge 10.7 into 10.8
parents
252e7e4a
61727fa4
Changes
46
Hide whitespace changes
Inline
Side-by-side
Showing
46 changed files
with
307 additions
and
61 deletions
+307
-61
debian/additions/mariadb-report
debian/additions/mariadb-report
+50
-20
debian/mariadb-test-data.lintian-overrides
debian/mariadb-test-data.lintian-overrides
+22
-0
man/mysql-stress-test.pl.1
man/mysql-stress-test.pl.1
+1
-1
man/mysql-test-run.pl.1
man/mysql-test-run.pl.1
+1
-1
man/mysql.1
man/mysql.1
+1
-1
man/mysql.server.1
man/mysql.server.1
+1
-1
man/mysql_client_test.1
man/mysql_client_test.1
+1
-1
man/mysql_config.1
man/mysql_config.1
+1
-1
man/mysql_convert_table_format.1
man/mysql_convert_table_format.1
+1
-1
man/mysql_find_rows.1
man/mysql_find_rows.1
+1
-1
man/mysql_fix_extensions.1
man/mysql_fix_extensions.1
+1
-1
man/mysql_install_db.1
man/mysql_install_db.1
+1
-1
man/mysql_ldb.1
man/mysql_ldb.1
+1
-1
man/mysql_plugin.1
man/mysql_plugin.1
+1
-1
man/mysql_secure_installation.1
man/mysql_secure_installation.1
+1
-1
man/mysql_setpermission.1
man/mysql_setpermission.1
+1
-1
man/mysql_tzinfo_to_sql.1
man/mysql_tzinfo_to_sql.1
+1
-1
man/mysql_upgrade.1
man/mysql_upgrade.1
+1
-1
man/mysql_waitpid.1
man/mysql_waitpid.1
+1
-1
man/mysqlaccess.1
man/mysqlaccess.1
+1
-1
man/mysqladmin.1
man/mysqladmin.1
+1
-1
man/mysqlbinlog.1
man/mysqlbinlog.1
+1
-1
man/mysqlcheck.1
man/mysqlcheck.1
+1
-1
man/mysqld.8
man/mysqld.8
+1
-1
man/mysqld_multi.1
man/mysqld_multi.1
+1
-1
man/mysqld_safe.1
man/mysqld_safe.1
+1
-1
man/mysqld_safe_helper.1
man/mysqld_safe_helper.1
+1
-1
man/mysqldump.1
man/mysqldump.1
+1
-1
man/mysqldumpslow.1
man/mysqldumpslow.1
+1
-1
man/mysqlhotcopy.1
man/mysqlhotcopy.1
+1
-1
man/mysqlimport.1
man/mysqlimport.1
+1
-1
man/mysqlshow.1
man/mysqlshow.1
+1
-1
man/mysqlslap.1
man/mysqlslap.1
+1
-1
man/mysqltest.1
man/mysqltest.1
+1
-1
mysql-test/main/multi_update.result
mysql-test/main/multi_update.result
+108
-0
mysql-test/main/multi_update.test
mysql-test/main/multi_update.test
+31
-0
mysql-test/main/partition_exchange.result
mysql-test/main/partition_exchange.result
+11
-1
mysql-test/main/partition_exchange.test
mysql-test/main/partition_exchange.test
+16
-1
mysql-test/main/ssl_timeout.result
mysql-test/main/ssl_timeout.result
+1
-1
mysql-test/main/ssl_timeout.test
mysql-test/main/ssl_timeout.test
+1
-1
sql/sql_partition_admin.cc
sql/sql_partition_admin.cc
+7
-2
sql/sql_update.cc
sql/sql_update.cc
+1
-2
storage/spider/mysql-test/spider/r/variable_deprecation.result
...ge/spider/mysql-test/spider/r/variable_deprecation.result
+15
-0
storage/spider/mysql-test/spider/t/variable_deprecation.test
storage/spider/mysql-test/spider/t/variable_deprecation.test
+9
-0
storage/spider/spd_param.cc
storage/spider/spd_param.cc
+1
-1
storage/spider/spd_table.cc
storage/spider/spd_table.cc
+2
-0
No files found.
debian/additions/mariadb-report
View file @
c2bae9c7
...
...
@@ -239,26 +239,56 @@ sub get_user_mycnf
sub
connect_to_MySQL
{
print
"
connect_to_MySQL
\n
"
if
$op
{
debug
};
my
$dsn
;
if
(
$mycnf
{'
socket
'}
&&
-
S
$mycnf
{'
socket
'})
{
$dsn
=
"
DBI:MariaDB:mariadb_socket=
$mycnf
{socket}
";
}
elsif
(
$mycnf
{'
host
'})
{
$dsn
=
"
DBI:MariaDB:host=
$mycnf
{host}
"
.
(
$mycnf
{
port
}
?
"
;port=
$mycnf
{port}
"
:
"");
}
else
{
$dsn
=
"
DBI:MariaDB:host=localhost
";
}
print
"
connect_to_MySQL: DBI DSN:
$dsn
\n
"
if
$op
{
debug
};
$dbh
=
DBI
->
connect
(
$dsn
,
$mycnf
{'
user
'},
$mycnf
{'
pass
'})
or
die
;
print
"
connect_to_MySQL
\n
"
if
$op
{
debug
};
if
(
my
@driverList
=
grep
{
/mariadb|mysql/i
}
DBI
->
available_drivers
())
{
my
$dsn
;
my
$driver
=
undef
;
if
(
grep
{
/mariadb/i
}
@driverList
)
{
$driver
=
"
DBI:MariaDB
";
}
elsif
(
grep
{
/mysql/i
}
@driverList
)
{
$driver
=
"
DBI:mysql
";
}
if
(
$mycnf
{'
socket
'}
&&
-
S
$mycnf
{'
socket
'})
{
if
(
grep
{
/mariadb/i
}
@driverList
)
{
$dsn
=
$driver
.
"
:mariadb_socket=
$mycnf
{socket}
";
}
elsif
(
grep
{
/mysql/i
}
@driverList
)
{
$dsn
=
$driver
.
"
:mysql_socket=
$mycnf
{socket}
";
}
}
elsif
(
$mycnf
{'
host
'})
{
$dsn
=
$driver
.
"
:host=
$mycnf
{host}
"
.
(
$mycnf
{
port
}
?
"
;port=
$mycnf
{port}
"
:
"");
}
else
{
$dsn
=
$driver
.
"
:host=localhost
";
}
print
"
connect_to_MySQL: DBI DSN:
"
.
$dsn
.
"
\n
"
if
$op
{
debug
};
$dbh
=
DBI
->
connect
(
$dsn
,
$mycnf
{'
user
'},
$mycnf
{'
pass
'})
or
die
;
}
else
{
print
STDERR
"
Install Perl 5.x driver: DBD:mysql or DBD:MariaDB
\n
";
print
STDERR
"
currently installed Perl DBD drivers:
\n
";
foreach
my
$driver
(
DBI
->
available_drivers
())
{
print
STDERR
"
*
"
.
$driver
.
"
\n
";
}
print
STDERR
"
\n
";
die
("
Exit as no MariaDB DBI driver found!
\n
");
}
}
sub
collect_reports
...
...
debian/mariadb-test-data.lintian-overrides
View file @
c2bae9c7
# These should be moved, see https://jira.mariadb.org/browse/MDEV-21654
arch-dependent-file-in-usr-share usr/share/mysql/mysql-test/suite/plugins/pam/pam_mariadb_mtr.so
arch-independent-package-contains-binary-or-object usr/share/mysql/mysql-test/suite/plugins/pam/pam_mariadb_mtr.so
# Intentional for test files
national-encoding usr/share/mysql/mysql-test/*
# Extra test documentation files that really need to be kept in context in test directory
package-contains-documentation-outside-usr-share-doc usr/share/mysql/mysql-test/*
# Intentional directory structure
repeated-path-segment auth_gssapi usr/share/mysql/mysql-test/plugin/auth_gssapi/auth_gssapi/
repeated-path-segment connect usr/share/mysql/mysql-test/plugin/connect/connect/
repeated-path-segment disks usr/share/mysql/mysql-test/plugin/disks/disks/
repeated-path-segment func_test usr/share/mysql/mysql-test/plugin/func_test/func_test/
repeated-path-segment metadata_lock_info usr/share/mysql/mysql-test/plugin/metadata_lock_info/metadata_lock_info/
repeated-path-segment mroonga usr/share/mysql/mysql-test/plugin/mroonga/mroonga/
repeated-path-segment mroonga usr/share/mysql/mysql-test/plugin/mroonga/mroonga/include/mroonga/
repeated-path-segment oqgraph usr/share/mysql/mysql-test/plugin/oqgraph/oqgraph/
repeated-path-segment query_response_time usr/share/mysql/mysql-test/plugin/query_response_time/query_response_time/
repeated-path-segment rocksdb usr/share/mysql/mysql-test/plugin/rocksdb/rocksdb/
repeated-path-segment sequence usr/share/mysql/mysql-test/plugin/sequence/sequence/
repeated-path-segment sphinx usr/share/mysql/mysql-test/plugin/sphinx/sphinx/
repeated-path-segment spider usr/share/mysql/mysql-test/plugin/spider/spider/
repeated-path-segment type_inet usr/share/mysql/mysql-test/plugin/type_inet/type_inet/
repeated-path-segment type_test usr/share/mysql/mysql-test/plugin/type_test/type_test/
repeated-path-segment user_variables usr/share/mysql/mysql-test/plugin/user_variables/user_variables/
repeated-path-segment wsrep_info usr/share/mysql/mysql-test/plugin/wsrep_info/wsrep_info/
man/mysql-stress-test.pl.1
View file @
c2bae9c7
'\" t
.\"
.TH "\FBMYSQL\-STRESS\-TE" "1" "15 May 2020" "MariaDB 10\&.
6
" "MariaDB Database System"
.TH "\FBMYSQL\-STRESS\-TE" "1" "15 May 2020" "MariaDB 10\&.
7
" "MariaDB Database System"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
...
...
man/mysql-test-run.pl.1
View file @
c2bae9c7
'\" t
.\"
.TH "\FBMYSQL\-TEST\-RUN\" "1" "15 May 2020" "MariaDB 10\&.
6
" "MariaDB Database System"
.TH "\FBMYSQL\-TEST\-RUN\" "1" "15 May 2020" "MariaDB 10\&.
7
" "MariaDB Database System"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
...
...
man/mysql.1
View file @
c2bae9c7
'\" t
.\"
.TH "\FBM
YSQL\FR" "1" "15 May 2020" "MariaDB 10\&.6
" "MariaDB Database System"
.TH "\FBM
ARIADB\FR" "1" "15 May 2020" "MariaDB 10\&.7
" "MariaDB Database System"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
...
...
man/mysql.server.1
View file @
c2bae9c7
'\" t
.\"
.TH "\FBMYSQL\&.SERVER\FR" "1" "15 May 2020" "MariaDB 10\&.
6
" "MariaDB Database System"
.TH "\FBMYSQL\&.SERVER\FR" "1" "15 May 2020" "MariaDB 10\&.
7
" "MariaDB Database System"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
...
...
man/mysql_client_test.1
View file @
c2bae9c7
'\" t
.\"
.TH "\FBM
YSQL_CLIENT_TEST" "1" "15 May 2020" "MariaDB 10\&.6
" "MariaDB Database System"
.TH "\FBM
ARIADB-CLIENT-TEST" "1" "15 May 2020" "MariaDB 10\&.7
" "MariaDB Database System"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
...
...
man/mysql_config.1
View file @
c2bae9c7
'\" t
.\"
.TH "\FBMYSQL_CONFIG\FR" "1" "15 May 2020" "MariaDB 10\&.
6
" "MariaDB Database System"
.TH "\FBMYSQL_CONFIG\FR" "1" "15 May 2020" "MariaDB 10\&.
7
" "MariaDB Database System"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
...
...
man/mysql_convert_table_format.1
View file @
c2bae9c7
'\" t
.\"
.TH "\FBM
YSQL_CONVERT_TAB" "1" "15 May 2020" "MariaDB 10\&.6
" "MariaDB Database System"
.TH "\FBM
ARIADB-CONVERT-TAB" "1" "15 May 2020" "MariaDB 10\&.7
" "MariaDB Database System"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
...
...
man/mysql_find_rows.1
View file @
c2bae9c7
'\" t
.\"
.TH "\FBM
YSQL_FIND_ROWS\F" "1" "15 May 2020" "MariaDB 10\&.6
" "MariaDB Database System"
.TH "\FBM
ARIADB-FIND-ROWS\F" "1" "15 May 2020" "MariaDB 10\&.7
" "MariaDB Database System"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
...
...
man/mysql_fix_extensions.1
View file @
c2bae9c7
'\" t
.\"
.TH "\FBM
YSQL_FIX_EXTENSI" "1" "15 May 2020" "MariaDB 10\&.6
" "MariaDB Database System"
.TH "\FBM
ARIADB-FIX-EXTENSI" "1" "15 May 2020" "MariaDB 10\&.7
" "MariaDB Database System"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
...
...
man/mysql_install_db.1
View file @
c2bae9c7
'\" t
.\"
.TH "\FBM
YSQL_INSTALL_DB\FR" "1" "15 May 2020" "MariaDB 10\&.6
" "MariaDB Database System"
.TH "\FBM
ARIADB-INSTALL-DB\FR" "1" "15 May 2020" "MariaDB 10\&.7
" "MariaDB Database System"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
...
...
man/mysql_ldb.1
View file @
c2bae9c7
'\" t
.\"
.TH "\FBM
YSQL_LDB\FR" "1" "15 May 2020" "MariaDB 10\&.6
" "MariaDB Database System"
.TH "\FBM
ARIADB-LDB\FR" "1" "15 May 2020" "MariaDB 10\&.7
" "MariaDB Database System"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
...
...
man/mysql_plugin.1
View file @
c2bae9c7
'\" t
.\"
.TH "\FBM
YSQL_PLUGIN\FR" "1" "15 May 2020" "MariaDB 10\&.6
" "MariaDB Database System"
.TH "\FBM
ARIADB-PLUGIN\FR" "1" "15 May 2020" "MariaDB 10\&.7
" "MariaDB Database System"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
...
...
man/mysql_secure_installation.1
View file @
c2bae9c7
'\" t
.\"
.TH "\FBM
YSQL_SECURE_INST" "1" "15 May 2020" "MariaDB 10\&.6
" "MariaDB Database System"
.TH "\FBM
ARIADB-SECURE-INST" "1" "15 May 2020" "MariaDB 10\&.7
" "MariaDB Database System"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
...
...
man/mysql_setpermission.1
View file @
c2bae9c7
'\" t
.\"
.TH "\FBM
YSQL_SETPERMISSI" "1" "15 May 2020" "MariaDB 10\&.6
" "MariaDB Database System"
.TH "\FBM
ARIADB-SETPERMISSI" "1" "15 May 2020" "MariaDB 10\&.7
" "MariaDB Database System"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
...
...
man/mysql_tzinfo_to_sql.1
View file @
c2bae9c7
'\" t
.\"
.TH "\FBM
YSQL_TZINFO_TO_S" "1" "15 May 2020" "MariaDB 10\&.6
" "MariaDB Database System"
.TH "\FBM
ARIADB-TZINFO-TO-S" "1" "22 April 2022" "MariaDB 10\&.7
" "MariaDB Database System"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
...
...
man/mysql_upgrade.1
View file @
c2bae9c7
'\" t
.\"
.TH "\FBM
YSQL_UPGRADE\FR" "1" "20 July 2020" "MariaDB 10\&.6
" "MariaDB Database System"
.TH "\FBM
ARIADB-UPGRADE\FR" "1" "20 July 2020" "MariaDB 10\&.7
" "MariaDB Database System"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
...
...
man/mysql_waitpid.1
View file @
c2bae9c7
'\" t
.\"
.TH "\FBM
YSQL_WAITPID\FR" "1" "15 May 2020" "MariaDB 10\&.6
" "MariaDB Database System"
.TH "\FBM
ARIADB-WAITPID\FR" "1" "15 May 2020" "MariaDB 10\&.7
" "MariaDB Database System"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
...
...
man/mysqlaccess.1
View file @
c2bae9c7
'\" t
.\"
.TH "\FBM
YSQLACCESS\FR" "1" "15 May 2020" "MariaDB 10\&.6
" "MariaDB Database System"
.TH "\FBM
ARIADB-ACCESS\FR" "1" "15 May 2020" "MariaDB 10\&.7
" "MariaDB Database System"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
...
...
man/mysqladmin.1
View file @
c2bae9c7
'\" t
.\"
.TH "\FBM
YSQLADMIN\FR" "1" "15 May 2020" "MariaDB 10\&.6
" "MariaDB Database System"
.TH "\FBM
ARIADB-ADMIN\FR" "1" "15 May 2020" "MariaDB 10\&.7
" "MariaDB Database System"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
...
...
man/mysqlbinlog.1
View file @
c2bae9c7
'\" t
.\"
.TH "\FBM
YSQLBINLOG\FR" "1" "14 April 2021" "MariaDB 10\&.6
" "MariaDB Database System"
.TH "\FBM
ARIADB-BINLOG\FR" "1" "14 April 2021" "MariaDB 10\&.7
" "MariaDB Database System"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
...
...
man/mysqlcheck.1
View file @
c2bae9c7
'\" t
.\"
.TH "\FBM
YSQLCHECK\FR" "1" "15 May 2020" "MariaDB 10\&.6
" "MariaDB Database System"
.TH "\FBM
ARIADB-CHECK\FR" "1" "15 May 2020" "MariaDB 10\&.7
" "MariaDB Database System"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
...
...
man/mysqld.8
View file @
c2bae9c7
'\" t
.\"
.TH "\FBM
YSQLD\FR" "8" "15 May 2020" "MariaDB 10\&.6
" "MariaDB Database System"
.TH "\FBM
ARIADBD\FR" "8" "15 May 2020" "MariaDB 10\&.7
" "MariaDB Database System"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
...
...
man/mysqld_multi.1
View file @
c2bae9c7
'\" t
.\"
.TH "\FBM
YSQLD_MULTI\FR" "1" "15 May 2020" "MariaDB 10\&.6
" "MariaDB Database System"
.TH "\FBM
ARIADB-MULTI\FR" "1" "15 May 2020" "MariaDB 10\&.7
" "MariaDB Database System"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
...
...
man/mysqld_safe.1
View file @
c2bae9c7
'\" t
.\"
.TH "\FBM
YSQLD_SAFE\FR" "1" "15 May 2020" "MariaDB 10\&.6
" "MariaDB Database System"
.TH "\FBM
ARIADB-SAFE\FR" "1" "15 May 2020" "MariaDB 10\&.7
" "MariaDB Database System"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
...
...
man/mysqld_safe_helper.1
View file @
c2bae9c7
'\" t
.\"
.TH "\FBM
YSQLD_SAFE_HELPER\FR" "1" "15 May 2020" "MariaDB 10\&.6
" "MariaDB Database System"
.TH "\FBM
ARIADB-SAFE-HELPER\FR" "1" "15 May 2020" "MariaDB 10\&.7
" "MariaDB Database System"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
...
...
man/mysqldump.1
View file @
c2bae9c7
'\" t
.\"
.TH "\FBM
YSQLDUMP\FR" "1" "24 October 2020" "MariaDB 10\&.6
" "MariaDB Database System"
.TH "\FBM
ARIADB-DUMP\FR" "1" "24 October 2020" "MariaDB 10\&.7
" "MariaDB Database System"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
...
...
man/mysqldumpslow.1
View file @
c2bae9c7
'\" t
.\"
.TH "\FBM
YSQLDUMPSLOW\FR" "1" "15 May 2020" "MariaDB 10\&.6
" "MariaDB Database System"
.TH "\FBM
ARIADB-DUMPSLOW\FR" "1" "15 May 2020" "MariaDB 10\&.7
" "MariaDB Database System"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
...
...
man/mysqlhotcopy.1
View file @
c2bae9c7
'\" t
.\"
.TH "\FBM
YSQLHOTCOPY\FR" "1" "15 May 2020" "MariaDB 10\&.6
" "MariaDB Database System"
.TH "\FBM
ARIADB-HOTCOPY\FR" "1" "15 May 2020" "MariaDB 10\&.7
" "MariaDB Database System"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
...
...
man/mysqlimport.1
View file @
c2bae9c7
'\" t
.\"
.TH "\FBM
YSQLIMPORT\FR" "1" "15 May 2020" "MariaDB 10\&.6
" "MariaDB Database System"
.TH "\FBM
ARIADB-IMPORT\FR" "1" "15 May 2020" "MariaDB 10\&.7
" "MariaDB Database System"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
...
...
man/mysqlshow.1
View file @
c2bae9c7
'\" t
.\"
.TH "\FBM
YSQLSHOW\FR" "1" "15 May 2020" "MariaDB 10\&.6
" "MariaDB Database System"
.TH "\FBM
ARIADB-SHOW\FR" "1" "15 May 2020" "MariaDB 10\&.7
" "MariaDB Database System"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
...
...
man/mysqlslap.1
View file @
c2bae9c7
'\" t
.\"
.TH "\FBM
YSQLSLAP\FR" "1" "15 May 2020" "MariaDB 10\&.6
" "MariaDB Database System"
.TH "\FBM
ARIADB-SLAP\FR" "1" "15 May 2020" "MariaDB 10\&.7
" "MariaDB Database System"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
...
...
man/mysqltest.1
View file @
c2bae9c7
'\" t
.\"
.TH "\FBM
YSQLTEST\FR" "1" "15 May 2020" "MariaDB 10\&.6
" "MariaDB Database System"
.TH "\FBM
ARIADB-TEST\FR" "1" "15 May 2020" "MariaDB 10\&.7
" "MariaDB Database System"
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
...
...
mysql-test/main/multi_update.result
View file @
c2bae9c7
...
...
@@ -1161,3 +1161,111 @@ ERROR 21000: Subquery returns more than 1 row
update t1 set a= (select 2 from t1 having (a = 3));
ERROR 21000: Subquery returns more than 1 row
drop tables t1;
#
# MDEV-28246 Optimizer uses all partitions during an update in MariaDB 10.6.x but not in 10.2.x
#
CREATE TABLE t1 (
part INT(1),
a INT(1),
b INT(1),
PRIMARY KEY (a,part),
INDEX b (b,part)
) PARTITION BY LIST (part) (
PARTITION Current VALUES IN (0),
PARTITION Relevant VALUES IN (1),
PARTITION Archive VALUES IN (2)
);
CREATE TABLE t2 LIKE t1;
INSERT INTO t1 (part,a,b) VALUES (0,0,0),(1,1,1),(2,2,2);
INSERT INTO t2 (part,a,b) VALUES (0,0,0),(1,1,1),(2,2,2);
# Expecting partition "Current"
EXPLAIN FORMAT=JSON UPDATE t2 JOIN t1 USING(a) SET t2.part=3 WHERE t2.part=0 AND t1.part=0;
EXPLAIN
{
"query_block": {
"select_id": 1,
"nested_loop": [
{
"table": {
"table_name": "t2",
"partitions": ["Current"],
"access_type": "system",
"possible_keys": ["PRIMARY"],
"rows": 1,
"filtered": 100
}
},
{
"table": {
"table_name": "t1",
"partitions": ["Current"],
"access_type": "system",
"possible_keys": ["PRIMARY"],
"rows": 1,
"filtered": 100
}
}
]
}
}
# Expecting partition "Relevant"
EXPLAIN FORMAT=JSON UPDATE t2 JOIN t1 USING(a) SET t2.part=2 WHERE t2.part=1 AND t1.part=1;
EXPLAIN
{
"query_block": {
"select_id": 1,
"nested_loop": [
{
"table": {
"table_name": "t2",
"partitions": ["Relevant"],
"access_type": "system",
"possible_keys": ["PRIMARY"],
"rows": 1,
"filtered": 100
}
},
{
"table": {
"table_name": "t1",
"partitions": ["Relevant"],
"access_type": "system",
"possible_keys": ["PRIMARY"],
"rows": 1,
"filtered": 100
}
}
]
}
}
# Expecting partition "Archive"
EXPLAIN FORMAT=JSON UPDATE t2 JOIN t1 USING(a) SET t2.part=3 WHERE t2.part=2 AND t1.part=2;
EXPLAIN
{
"query_block": {
"select_id": 1,
"nested_loop": [
{
"table": {
"table_name": "t2",
"partitions": ["Archive"],
"access_type": "system",
"possible_keys": ["PRIMARY"],
"rows": 1,
"filtered": 100
}
},
{
"table": {
"table_name": "t1",
"partitions": ["Archive"],
"access_type": "system",
"possible_keys": ["PRIMARY"],
"rows": 1,
"filtered": 100
}
}
]
}
}
DROP TABLES t1, t2;
mysql-test/main/multi_update.test
View file @
c2bae9c7
...
...
@@ -1098,3 +1098,34 @@ select a from t1 where a= (select 2 from t1 having (a = 3));
--
error
ER_SUBQUERY_NO_1_ROW
update
t1
set
a
=
(
select
2
from
t1
having
(
a
=
3
));
drop
tables
t1
;
--
echo
#
--
echo
# MDEV-28246 Optimizer uses all partitions during an update in MariaDB 10.6.x but not in 10.2.x
--
echo
#
--
source
include
/
have_partition
.
inc
CREATE
TABLE
t1
(
part
INT
(
1
),
a
INT
(
1
),
b
INT
(
1
),
PRIMARY
KEY
(
a
,
part
),
INDEX
b
(
b
,
part
)
)
PARTITION
BY
LIST
(
part
)
(
PARTITION
Current
VALUES
IN
(
0
),
PARTITION
Relevant
VALUES
IN
(
1
),
PARTITION
Archive
VALUES
IN
(
2
)
);
CREATE
TABLE
t2
LIKE
t1
;
INSERT
INTO
t1
(
part
,
a
,
b
)
VALUES
(
0
,
0
,
0
),(
1
,
1
,
1
),(
2
,
2
,
2
);
INSERT
INTO
t2
(
part
,
a
,
b
)
VALUES
(
0
,
0
,
0
),(
1
,
1
,
1
),(
2
,
2
,
2
);
--
echo
# Expecting partition "Current"
EXPLAIN
FORMAT
=
JSON
UPDATE
t2
JOIN
t1
USING
(
a
)
SET
t2
.
part
=
3
WHERE
t2
.
part
=
0
AND
t1
.
part
=
0
;
--
echo
# Expecting partition "Relevant"
EXPLAIN
FORMAT
=
JSON
UPDATE
t2
JOIN
t1
USING
(
a
)
SET
t2
.
part
=
2
WHERE
t2
.
part
=
1
AND
t1
.
part
=
1
;
--
echo
# Expecting partition "Archive"
EXPLAIN
FORMAT
=
JSON
UPDATE
t2
JOIN
t1
USING
(
a
)
SET
t2
.
part
=
3
WHERE
t2
.
part
=
2
AND
t1
.
part
=
2
;
DROP
TABLES
t1
,
t2
;
mysql-test/main/partition_exchange.result
View file @
c2bae9c7
...
...
@@ -1237,8 +1237,18 @@ ALTER TABLE t2 REMOVE PARTITIONING;
ALTER TABLE t1 EXCHANGE PARTITION pm WITH TABLE t2;
DROP TABLE t1, t2;
#
#
End of 10.3 tests
#
MDEV-14642 Assertion `table->s->db_create_options == part_table->s->db_create_options' failed in compare_table_with_partition
#
CREATE TABLE t1 (a INT) ROW_FORMAT=DYNAMIC PARTITION BY KEY(a) PARTITIONS 2;
CREATE TABLE t2 (a INT) ;
ALTER TABLE t1 EXCHANGE PARTITION p1 WITH TABLE t2;
ERROR HY000: Tables have different definitions
DROP TABLE t1, t2;
CREATE TABLE t1 (a INT, PRIMARY KEY(a)) ENGINE=InnoDB PARTITION BY KEY(a) PARTITIONS 2;
CREATE TABLE t2 (a INT, PRIMARY KEY(a)) CHECKSUM=1, ENGINE=InnoDB;
ALTER TABLE t1 EXCHANGE PARTITION p0 WITH TABLE t2;
ERROR HY000: Tables have different definitions
DROP TABLE t1, t2;
#
# MDEV-27683 EXCHANGE PARTITION allows different index direction, but causes further errors
#
...
...
mysql-test/main/partition_exchange.test
View file @
c2bae9c7
...
...
@@ -533,8 +533,23 @@ ALTER TABLE t1 EXCHANGE PARTITION pm WITH TABLE t2;
DROP
TABLE
t1
,
t2
;
--
echo
#
--
echo
#
End of 10.3 tests
--
echo
#
MDEV-14642 Assertion `table->s->db_create_options == part_table->s->db_create_options' failed in compare_table_with_partition
--
echo
#
CREATE
TABLE
t1
(
a
INT
)
ROW_FORMAT
=
DYNAMIC
PARTITION
BY
KEY
(
a
)
PARTITIONS
2
;
CREATE
TABLE
t2
(
a
INT
)
;
--
error
ER_TABLES_DIFFERENT_METADATA
ALTER
TABLE
t1
EXCHANGE
PARTITION
p1
WITH
TABLE
t2
;
# Cleanup
DROP
TABLE
t1
,
t2
;
CREATE
TABLE
t1
(
a
INT
,
PRIMARY
KEY
(
a
))
ENGINE
=
InnoDB
PARTITION
BY
KEY
(
a
)
PARTITIONS
2
;
CREATE
TABLE
t2
(
a
INT
,
PRIMARY
KEY
(
a
))
CHECKSUM
=
1
,
ENGINE
=
InnoDB
;
--
error
ER_TABLES_DIFFERENT_METADATA
ALTER
TABLE
t1
EXCHANGE
PARTITION
p0
WITH
TABLE
t2
;
# Cleanup
DROP
TABLE
t1
,
t2
;
--
echo
#
--
echo
# MDEV-27683 EXCHANGE PARTITION allows different index direction, but causes further errors
...
...
mysql-test/main/ssl_timeout.result
View file @
c2bae9c7
...
...
@@ -5,6 +5,6 @@ SELECT (VARIABLE_VALUE <> '') AS have_ssl FROM INFORMATION_SCHEMA.SESSION_STATUS
have_ssl
1
SELECT SLEEP(600);
ERROR HY000: Lost connection to server during query
Got one of the listed errors
connection default;
disconnect ssl_con;
mysql-test/main/ssl_timeout.test
View file @
c2bae9c7
...
...
@@ -10,7 +10,7 @@ connect (ssl_con,localhost,root,,,,,SSL read_timeout=5);
SELECT
(
VARIABLE_VALUE
<>
''
)
AS
have_ssl
FROM
INFORMATION_SCHEMA
.
SESSION_STATUS
WHERE
VARIABLE_NAME
=
'Ssl_cipher'
;
# --error CR_SERVER_LOST
--
error
2013
--
error
2013
,
2026
SELECT
SLEEP
(
600
);
connection
default
;
...
...
sql/sql_partition_admin.cc
View file @
c2bae9c7
...
...
@@ -258,8 +258,13 @@ bool compare_table_with_partition(THD *thd, TABLE *table, TABLE *part_table,
my_error
(
ER_TABLES_DIFFERENT_METADATA
,
MYF
(
0
));
DBUG_RETURN
(
TRUE
);
}
DBUG_ASSERT
(
table
->
s
->
db_create_options
==
part_table
->
s
->
db_create_options
);
if
(
table
->
s
->
db_create_options
!=
part_table
->
s
->
db_create_options
)
{
my_error
(
ER_TABLES_DIFFERENT_METADATA
,
MYF
(
0
));
DBUG_RETURN
(
TRUE
);
}
DBUG_ASSERT
(
table
->
s
->
db_options_in_use
==
part_table
->
s
->
db_options_in_use
);
...
...
sql/sql_update.cc
View file @
c2bae9c7
...
...
@@ -2123,10 +2123,9 @@ int multi_update::prepare(List<Item> ¬_used_values,
if
(
!
tl
)
DBUG_RETURN
(
1
);
update
.
link_in_list
(
tl
,
&
tl
->
next_local
);
tl
->
shared
=
table_count
++
;
t
able_ref
->
shared
=
t
l
->
shared
=
table_count
++
;
table
->
no_keyread
=
1
;
table
->
covering_keys
.
clear_all
();
table
->
pos_in_table_list
=
tl
;
table
->
prepare_triggers_for_update_stmt_or_event
();
table
->
reset_default_fields
();
}
...
...
storage/spider/mysql-test/spider/r/variable_deprecation.result
View file @
c2bae9c7
...
...
@@ -181,6 +181,21 @@ Warnings:
Warning 1287 The table parameter 'crd_weight' is deprecated and will be removed in a future release
DROP TABLE tbl_a;
DROP TABLE tbl_b;
# MDEV-28560 Deprecate spider_buffer_size
SET spider_buffer_size = 1;
Warnings:
Warning 1287 '@@spider_buffer_size' is deprecated and will be removed in a future release
SHOW VARIABLES LIKE "spider_buffer_size";
Variable_name Value
spider_buffer_size 1
CREATE TABLE tbl_a (a INT) ENGINE=Spider COMMENT='bfz "1"';
Warnings:
Warning 1287 The table parameter 'bfz' is deprecated and will be removed in a future release
CREATE TABLE tbl_b (a INT) ENGINE=Spider COMMENT='buffer_size "1"';
Warnings:
Warning 1287 The table parameter 'buffer_size' is deprecated and will be removed in a future release
DROP TABLE tbl_a;
DROP TABLE tbl_b;
DROP DATABASE auto_test_local;
for master_1
for child2
...
...
storage/spider/mysql-test/spider/t/variable_deprecation.test
View file @
c2bae9c7
...
...
@@ -108,6 +108,15 @@ eval CREATE TABLE tbl_b (a INT) $MASTER_1_ENGINE COMMENT='crd_weight "1"';
DROP
TABLE
tbl_a
;
DROP
TABLE
tbl_b
;
--
echo
# MDEV-28560 Deprecate spider_buffer_size
SET
spider_buffer_size
=
1
;
SHOW
VARIABLES
LIKE
"spider_buffer_size"
;
eval
CREATE
TABLE
tbl_a
(
a
INT
)
$MASTER_1_ENGINE
COMMENT
=
'bfz "1"'
;
eval
CREATE
TABLE
tbl_b
(
a
INT
)
$MASTER_1_ENGINE
COMMENT
=
'buffer_size "1"'
;
DROP
TABLE
tbl_a
;
DROP
TABLE
tbl_b
;
DROP
DATABASE
auto_test_local
;
--
disable_query_log
...
...
storage/spider/spd_param.cc
View file @
c2bae9c7
...
...
@@ -1026,7 +1026,7 @@ int spider_param_bulk_update_size(
*/
static
MYSQL_THDVAR_INT
(
buffer_size
,
/* name */
PLUGIN_VAR_RQCMDARG
,
/* opt */
PLUGIN_VAR_RQCMDARG
|
PLUGIN_VAR_DEPRECATED
,
/* opt */
"Buffer size"
,
/* comment */
NULL
,
/* check */
spider_use_table_value_deprecated
,
/* update */
...
...
storage/spider/spd_table.cc
View file @
c2bae9c7
...
...
@@ -2298,6 +2298,7 @@ int spider_parse_connect_info(
#ifdef HA_CAN_BULK_ACCESS
SPIDER_PARAM_INT_WITH_MAX
(
"baf"
,
bulk_access_free
,
0
,
1
);
#endif
SPIDER_PARAM_DEPRECATED_WARNING
(
"bfz"
);
SPIDER_PARAM_INT
(
"bfz"
,
buffer_size
,
0
);
#ifndef WITHOUT_SPIDER_BG_SEARCH
SPIDER_PARAM_LONGLONG
(
"bfr"
,
bgs_first_read
,
0
);
...
...
@@ -2516,6 +2517,7 @@ int spider_parse_connect_info(
SPIDER_PARAM_DEPRECATED_WARNING
(
"use_handler"
);
SPIDER_PARAM_LONG_LIST_WITH_MAX
(
"use_handler"
,
use_handlers
,
0
,
3
);
SPIDER_PARAM_INT_WITH_MAX
(
"casual_read"
,
casual_read
,
0
,
63
);
SPIDER_PARAM_DEPRECATED_WARNING
(
"buffer_size"
);
SPIDER_PARAM_INT
(
"buffer_size"
,
buffer_size
,
0
);
error_num
=
connect_string_parse
.
print_param_error
();
goto
error
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment