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
5868a184
Commit
5868a184
authored
Dec 05, 2017
by
Vesa Pentti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "MDEV-12501 -- set --maturity-level by default"
This reverts commit
1af2d7ba
.
parent
1af2d7ba
Changes
24
Hide whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
40 additions
and
42 deletions
+40
-42
VERSION
VERSION
+0
-1
cmake/mysql_version.cmake
cmake/mysql_version.cmake
+0
-5
extra/mariabackup/encryption_plugin.cc
extra/mariabackup/encryption_plugin.cc
+0
-1
include/mysql_version.h.in
include/mysql_version.h.in
+0
-1
mysql-test/include/default_mysqld.cnf
mysql-test/include/default_mysqld.cnf
+1
-1
mysql-test/include/mtr_warnings.sql
mysql-test/include/mtr_warnings.sql
+0
-6
mysql-test/r/mysqld--help.result
mysql-test/r/mysqld--help.result
+1
-0
mysql-test/suite/galera/galera_2nodes.cnf
mysql-test/suite/galera/galera_2nodes.cnf
+0
-1
mysql-test/suite/galera/suite.opt
mysql-test/suite/galera/suite.opt
+0
-1
mysql-test/suite/galera_3nodes/galera_3nodes.cnf
mysql-test/suite/galera_3nodes/galera_3nodes.cnf
+0
-1
mysql-test/suite/rpl/suite.opt
mysql-test/suite/rpl/suite.opt
+0
-1
mysql-test/suite/sys_vars/inc/sysvars_server.inc
mysql-test/suite/sys_vars/inc/sysvars_server.inc
+0
-1
mysql-test/suite/sys_vars/r/sysvars_server_embedded.result
mysql-test/suite/sys_vars/r/sysvars_server_embedded.result
+14
-1
mysql-test/suite/sys_vars/r/sysvars_server_notembedded.result
...l-test/suite/sys_vars/r/sysvars_server_notembedded.result
+14
-1
mysql-test/t/bootstrap.test
mysql-test/t/bootstrap.test
+1
-1
mysql-test/t/mysqld--help.test
mysql-test/t/mysqld--help.test
+1
-1
sql/sql_plugin.cc
sql/sql_plugin.cc
+0
-9
sql/sys_vars.cc
sql/sys_vars.cc
+1
-3
storage/rocksdb/mysql-test/rocksdb/suite.opt
storage/rocksdb/mysql-test/rocksdb/suite.opt
+2
-1
storage/rocksdb/mysql-test/rocksdb_hotbackup/suite.opt
storage/rocksdb/mysql-test/rocksdb_hotbackup/suite.opt
+0
-1
storage/rocksdb/mysql-test/rocksdb_rpl/suite.opt
storage/rocksdb/mysql-test/rocksdb_rpl/suite.opt
+2
-1
storage/rocksdb/mysql-test/rocksdb_stress/suite.opt
storage/rocksdb/mysql-test/rocksdb_stress/suite.opt
+0
-1
storage/rocksdb/mysql-test/rocksdb_sys_vars/suite.opt
storage/rocksdb/mysql-test/rocksdb_sys_vars/suite.opt
+2
-1
storage/rocksdb/mysql-test/storage_engine/suite.opt
storage/rocksdb/mysql-test/storage_engine/suite.opt
+1
-1
No files found.
VERSION
View file @
5868a184
MYSQL_VERSION_MAJOR=10
MYSQL_VERSION_MINOR=3
MYSQL_VERSION_PATCH=3
SERVER_MATURITY=beta
cmake/mysql_version.cmake
View file @
5868a184
...
...
@@ -48,7 +48,6 @@ MACRO(GET_MYSQL_VERSION)
MYSQL_GET_CONFIG_VALUE
(
"MYSQL_VERSION_MINOR"
MINOR_VERSION
)
MYSQL_GET_CONFIG_VALUE
(
"MYSQL_VERSION_PATCH"
PATCH_VERSION
)
MYSQL_GET_CONFIG_VALUE
(
"MYSQL_VERSION_EXTRA"
EXTRA_VERSION
)
MYSQL_GET_CONFIG_VALUE
(
"SERVER_MATURITY"
SERVER_MATURITY
)
IF
(
NOT
"
${
MAJOR_VERSION
}
"
MATCHES
"[0-9]+"
OR
NOT
"
${
MINOR_VERSION
}
"
MATCHES
"[0-9]+"
OR
...
...
@@ -70,10 +69,6 @@ ENDMACRO()
# Get mysql version and other interesting variables
GET_MYSQL_VERSION
()
# Maturity level
string
(
TOUPPER
${
SERVER_MATURITY
}
SERVER_MATURITY
)
SET
(
SERVER_MATURITY_LEVEL MariaDB_PLUGIN_MATURITY_
${
SERVER_MATURITY
}
)
SET
(
MYSQL_TCP_PORT_DEFAULT 0
)
IF
(
NOT MYSQL_TCP_PORT
)
SET
(
MYSQL_TCP_PORT 3306
)
...
...
extra/mariabackup/encryption_plugin.cc
View file @
5868a184
...
...
@@ -165,7 +165,6 @@ static void encryption_plugin_init(int argc, char **argv)
{
/* Patch optional and mandatory plugins, we only need to load the one in xb_plugin_load. */
mysql_optional_plugins
[
0
]
=
mysql_mandatory_plugins
[
0
]
=
0
;
plugin_maturity
=
MariaDB_PLUGIN_MATURITY_UNKNOWN
;
/* mariabackup accepts all plugins */
msg
(
"Loading encryption plugin
\n
"
);
for
(
int
i
=
1
;
i
<
argc
;
i
++
)
msg
(
"
\t
Encryption plugin parameter : '%s'
\n
"
,
argv
[
i
]);
...
...
include/mysql_version.h.in
View file @
5868a184
...
...
@@ -22,7 +22,6 @@
#define MYSQL_UNIX_ADDR "@MYSQL_UNIX_ADDR@"
#define MYSQL_CONFIG_NAME "my"
#define MYSQL_COMPILATION_COMMENT "@COMPILATION_COMMENT@"
#define SERVER_MATURITY_LEVEL @SERVER_MATURITY_LEVEL@
#ifdef WITH_WSREP
#define WSREP_PATCH_VERSION "@WSREP_PATCH_VERSION@"
...
...
mysql-test/include/default_mysqld.cnf
View file @
5868a184
...
...
@@ -17,7 +17,7 @@
# Default values that applies to all MySQL Servers
[mysqld]
disable-getopt-prefix-matching
plugin-maturity=unknown
open-files-limit= 1024
local-infile
character-set-server= latin1
...
...
mysql-test/include/mtr_warnings.sql
View file @
5868a184
...
...
@@ -224,12 +224,6 @@ INSERT INTO global_suppressions VALUES
(
"Slave I/O: Setting @slave_gtid_ignore_duplicates failed with error.*"
),
(
"Slave I/O: Setting @slave_until_gtid failed with error.*"
),
(
"Slave I/O: Get master GTID position failed with error.*"
),
/*
MDEV-12501 -- set --maturity-level by default
*/
(
"Plugin .* is of maturity level .* while the server is .*"
),
(
"THE_LAST_SUPPRESSION"
)
||
...
...
mysql-test/r/mysqld--help.result
View file @
5868a184
...
...
@@ -1535,6 +1535,7 @@ performance-schema-session-connect-attrs-size -1
performance-schema-setup-actors-size 100
performance-schema-setup-objects-size 100
performance-schema-users-size -1
plugin-maturity unknown
port 3306
port-open-timeout 0
preload-buffer-size 32768
...
...
mysql-test/suite/galera/galera_2nodes.cnf
View file @
5868a184
...
...
@@ -4,7 +4,6 @@
[mysqld]
wsrep-on=1
binlog-format=row
plugin-maturity=unknown
innodb-autoinc-lock-mode=2
default-storage-engine=innodb
wsrep-provider=@ENV.WSREP_PROVIDER
...
...
mysql-test/suite/galera/suite.opt
deleted
100644 → 0
View file @
1af2d7ba
--plugin-maturity=unknown
mysql-test/suite/galera_3nodes/galera_3nodes.cnf
View file @
5868a184
...
...
@@ -3,7 +3,6 @@
[mysqld]
binlog-format=row
plugin-maturity=unknown
innodb-autoinc-lock-mode=2
default-storage-engine=innodb
...
...
mysql-test/suite/rpl/suite.opt
deleted
100644 → 0
View file @
1af2d7ba
--plugin-maturity=unknown
mysql-test/suite/sys_vars/inc/sysvars_server.inc
View file @
5868a184
...
...
@@ -26,7 +26,6 @@ select * from information_schema.system_variables
'lower_case_file_system'
,
'lower_case_table_names'
,
'open_files_limit'
,
'plugin_maturity'
,
'rand_seed1'
,
'rand_seed2'
,
'system_time_zone'
,
...
...
mysql-test/suite/sys_vars/r/sysvars_server_embedded.result
View file @
5868a184
...
...
@@ -15,7 +15,6 @@ variable_name not in (
'lower_case_file_system',
'lower_case_table_names',
'open_files_limit',
'plugin_maturity',
'rand_seed1',
'rand_seed2',
'system_time_zone',
...
...
@@ -3189,6 +3188,20 @@ NUMERIC_BLOCK_SIZE NULL
ENUM_VALUE_LIST NULL
READ_ONLY YES
COMMAND_LINE_ARGUMENT REQUIRED
VARIABLE_NAME PLUGIN_MATURITY
SESSION_VALUE NULL
GLOBAL_VALUE unknown
GLOBAL_VALUE_ORIGIN COMPILE-TIME
DEFAULT_VALUE unknown
VARIABLE_SCOPE GLOBAL
VARIABLE_TYPE ENUM
VARIABLE_COMMENT The lowest desirable plugin maturity. Plugins less mature than that will not be installed or loaded
NUMERIC_MIN_VALUE NULL
NUMERIC_MAX_VALUE NULL
NUMERIC_BLOCK_SIZE NULL
ENUM_VALUE_LIST unknown,experimental,alpha,beta,gamma,stable
READ_ONLY YES
COMMAND_LINE_ARGUMENT REQUIRED
VARIABLE_NAME PORT
SESSION_VALUE NULL
GLOBAL_VALUE MASTER_MYPORT
...
...
mysql-test/suite/sys_vars/r/sysvars_server_notembedded.result
View file @
5868a184
...
...
@@ -15,7 +15,6 @@ variable_name not in (
'lower_case_file_system',
'lower_case_table_names',
'open_files_limit',
'plugin_maturity',
'rand_seed1',
'rand_seed2',
'system_time_zone',
...
...
@@ -3399,6 +3398,20 @@ NUMERIC_BLOCK_SIZE NULL
ENUM_VALUE_LIST NULL
READ_ONLY YES
COMMAND_LINE_ARGUMENT REQUIRED
VARIABLE_NAME PLUGIN_MATURITY
SESSION_VALUE NULL
GLOBAL_VALUE unknown
GLOBAL_VALUE_ORIGIN COMPILE-TIME
DEFAULT_VALUE unknown
VARIABLE_SCOPE GLOBAL
VARIABLE_TYPE ENUM
VARIABLE_COMMENT The lowest desirable plugin maturity. Plugins less mature than that will not be installed or loaded
NUMERIC_MIN_VALUE NULL
NUMERIC_MAX_VALUE NULL
NUMERIC_BLOCK_SIZE NULL
ENUM_VALUE_LIST unknown,experimental,alpha,beta,gamma,stable
READ_ONLY YES
COMMAND_LINE_ARGUMENT REQUIRED
VARIABLE_NAME PORT
SESSION_VALUE NULL
GLOBAL_VALUE MASTER_MYPORT
...
...
mysql-test/t/bootstrap.test
View file @
5868a184
...
...
@@ -7,7 +7,7 @@ drop table if exists t1;
# Add the datadir to the bootstrap command
let
$MYSQLD_DATADIR
=
`select @@datadir`
;
let
$MYSQLD_BOOTSTRAP_CMD
=
$MYSQLD_BOOTSTRAP_CMD
--
datadir
=
$MYSQLD_DATADIR
--
default
-
storage
-
engine
=
MyISAM
--
loose
-
skip
-
innodb
--
plugin
-
maturity
=
unknown
;
let
$MYSQLD_BOOTSTRAP_CMD
=
$MYSQLD_BOOTSTRAP_CMD
--
datadir
=
$MYSQLD_DATADIR
--
default
-
storage
-
engine
=
MyISAM
--
loose
-
skip
-
innodb
;
#
# Check that --bootstrap reads from stdin
#
...
...
mysql-test/t/mysqld--help.test
View file @
5868a184
...
...
@@ -19,7 +19,7 @@ exec $MYSQLD_BOOTSTRAP_CMD --symbolic-links=0 --lower-case-table-names=1 --help
perl
;
# Variables which we don't want to display in the result file since
# their paths may vary:
@
skipvars
=
qw
/
basedir
open
-
files
-
limit
general
-
log
-
file
log
plugin
-
dir
plugin
-
maturity
@
skipvars
=
qw
/
basedir
open
-
files
-
limit
general
-
log
-
file
log
plugin
-
dir
log
-
slow
-
queries
pid
-
file
slow
-
query
-
log
-
file
log
-
basename
datadir
slave
-
load
-
tmpdir
tmpdir
socket
thread
-
pool
-
size
large
-
files
-
support
lower
-
case
-
file
-
system
system
-
time
-
zone
...
...
sql/sql_plugin.cc
View file @
5868a184
...
...
@@ -1155,7 +1155,6 @@ static bool plugin_add(MEM_ROOT *tmp_root,
report_error
(
report
,
ER_CANT_OPEN_LIBRARY
,
dl
->
str
,
ENOEXEC
,
buf
);
goto
err
;
}
if
(
plugin_maturity_map
[
plugin
->
maturity
]
<
plugin_maturity
)
{
char
buf
[
256
];
...
...
@@ -1168,14 +1167,6 @@ static bool plugin_add(MEM_ROOT *tmp_root,
report_error
(
report
,
ER_CANT_OPEN_LIBRARY
,
dl
->
str
,
EPERM
,
buf
);
goto
err
;
}
else
if
(
plugin_maturity_map
[
plugin
->
maturity
]
<
SERVER_MATURITY_LEVEL
)
{
sql_print_warning
(
"Plugin '%s' is of maturity level %s while the server is %s"
,
tmp
.
name
.
str
,
plugin_maturity_names
[
plugin
->
maturity
],
plugin_maturity_names
[
SERVER_MATURITY_LEVEL
]);
}
tmp
.
plugin
=
plugin
;
tmp
.
ref_count
=
0
;
tmp
.
state
=
PLUGIN_IS_UNINITIALIZED
;
...
...
sql/sys_vars.cc
View file @
5868a184
...
...
@@ -5382,9 +5382,7 @@ static Sys_var_enum Sys_plugin_maturity(
"The lowest desirable plugin maturity. "
"Plugins less mature than that will not be installed or loaded"
,
READ_ONLY
GLOBAL_VAR
(
plugin_maturity
),
CMD_LINE
(
REQUIRED_ARG
),
plugin_maturity_names
,
DEFAULT
(
SERVER_MATURITY_LEVEL
>
0
?
SERVER_MATURITY_LEVEL
-
1
:
SERVER_MATURITY_LEVEL
));
plugin_maturity_names
,
DEFAULT
(
MariaDB_PLUGIN_MATURITY_UNKNOWN
));
static
Sys_var_ulong
Sys_deadlock_search_depth_short
(
"deadlock_search_depth_short"
,
...
...
storage/rocksdb/mysql-test/rocksdb/suite.opt
View file @
5868a184
--ignore-db-dirs=.rocksdb --plugin-load=$HA_ROCKSDB_SO --default-storage-engine=rocksdb --plugin-maturity=unknown
--ignore-db-dirs=.rocksdb --plugin-load=$HA_ROCKSDB_SO --default-storage-engine=rocksdb
storage/rocksdb/mysql-test/rocksdb_hotbackup/suite.opt
deleted
100644 → 0
View file @
1af2d7ba
--plugin-maturity=unknown
storage/rocksdb/mysql-test/rocksdb_rpl/suite.opt
View file @
5868a184
--ignore-db-dirs=.rocksdb --plugin-load=$HA_ROCKSDB_SO --default-storage-engine=rocksdb --plugin-maturity=unknown
--ignore-db-dirs=.rocksdb --plugin-load=$HA_ROCKSDB_SO --default-storage-engine=rocksdb
storage/rocksdb/mysql-test/rocksdb_stress/suite.opt
deleted
100644 → 0
View file @
1af2d7ba
--plugin-maturity=unknown
storage/rocksdb/mysql-test/rocksdb_sys_vars/suite.opt
View file @
5868a184
--ignore-db-dirs=.rocksdb --plugin-load=$HA_ROCKSDB_SO --plugin-maturity=unknown
--ignore-db-dirs=.rocksdb --plugin-load=$HA_ROCKSDB_SO
storage/rocksdb/mysql-test/storage_engine/suite.opt
View file @
5868a184
--ignore-db-dirs=.rocksdb --plugin-load=$HA_ROCKSDB_SO --binlog_format=ROW --collation-server=latin1_bin --loose-rocksdb_flush_log_at_trx_commit=0
--plugin-maturity=unknown
--ignore-db-dirs=.rocksdb --plugin-load=$HA_ROCKSDB_SO --binlog_format=ROW --collation-server=latin1_bin --loose-rocksdb_flush_log_at_trx_commit=0
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