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
7002291b
Commit
7002291b
authored
Nov 10, 2017
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '10.0' into 10.1
parents
d79fd5ba
56394a78
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
17 additions
and
45 deletions
+17
-45
client/mysqlbinlog.cc
client/mysqlbinlog.cc
+3
-2
mysql-test/include/have_debug.inc
mysql-test/include/have_debug.inc
+0
-5
mysql-test/include/have_example_plugin.inc
mysql-test/include/have_example_plugin.inc
+2
-12
mysql-test/include/have_innodb.inc
mysql-test/include/have_innodb.inc
+0
-6
mysql-test/include/have_xtradb.inc
mysql-test/include/have_xtradb.inc
+0
-7
mysql-test/include/not_embedded.inc
mysql-test/include/not_embedded.inc
+0
-6
mysql-test/include/not_windows.inc
mysql-test/include/not_windows.inc
+4
-4
mysql-test/r/mysqlbinlog.result
mysql-test/r/mysqlbinlog.result
+1
-0
mysql-test/r/not_windows.require
mysql-test/r/not_windows.require
+0
-2
mysql-test/t/mysqlbinlog.test
mysql-test/t/mysqlbinlog.test
+6
-0
sql/item_cmpfunc.cc
sql/item_cmpfunc.cc
+1
-1
No files found.
client/mysqlbinlog.cc
View file @
7002291b
...
@@ -2670,10 +2670,11 @@ int main(int argc, char** argv)
...
@@ -2670,10 +2670,11 @@ int main(int argc, char** argv)
if
(
!
argc
||
opt_version
)
if
(
!
argc
||
opt_version
)
{
{
if
(
!
argc
)
usage
();
if
(
!
opt_version
)
if
(
!
opt_version
)
{
usage
();
retval
=
ERROR_STOP
;
retval
=
ERROR_STOP
;
}
goto
err
;
goto
err
;
}
}
...
...
mysql-test/include/have_debug.inc
View file @
7002291b
...
@@ -2,8 +2,3 @@
...
@@ -2,8 +2,3 @@
# suite.pm will make sure that all tests including this file
# suite.pm will make sure that all tests including this file
# will be skipped unless this is a debug build.
# will be skipped unless this is a debug build.
#
#
# The test below is redundant
if
(
`select version() not like '%debug%'`
)
{
--
skip
Needs
a
debug
build
}
mysql-test/include/have_example_plugin.inc
View file @
7002291b
#
#
# Check if server has support for loading plugins
# suite.pm will make sure that all tests including this file
# will be skipped unless dynamic ha_example plugin is available
#
#
if
(
`SELECT @@have_dynamic_loading != 'YES'`
)
{
--
skip
Example
plugin
requires
dynamic
loading
}
#
# Check if the variable EXAMPLE_PLUGIN is set
#
if
(
!
$HA_EXAMPLE_SO
)
{
--
skip
Need
example
plugin
}
mysql-test/include/have_innodb.inc
View file @
7002291b
...
@@ -2,9 +2,3 @@
...
@@ -2,9 +2,3 @@
# suite.pm will make sure that all tests including this file
# suite.pm will make sure that all tests including this file
# will be skipped unless innodb or xtradb is enabled
# will be skipped unless innodb or xtradb is enabled
#
#
# The test below is redundant
if
(
`SELECT COUNT(*) = 0 FROM INFORMATION_SCHEMA.ENGINES WHERE engine = 'innodb' AND support IN ('YES', 'DEFAULT', 'ENABLED')`
)
{
--
skip
Test
requires
InnoDB
.
}
mysql-test/include/have_xtradb.inc
View file @
7002291b
...
@@ -2,10 +2,3 @@
...
@@ -2,10 +2,3 @@
# suite.pm will make sure that all tests including this file
# suite.pm will make sure that all tests including this file
# will be skipped unless xtradb is enabled
# will be skipped unless xtradb is enabled
#
#
# The test below is redundant
if
(
!
`SELECT count(*) FROM information_schema.plugins WHERE
plugin_name = 'innodb' AND plugin_status = 'active' AND
plugin_description LIKE '%xtradb%'`
){
skip
Needs
XtraDB
engine
;
}
mysql-test/include/not_embedded.inc
View file @
7002291b
...
@@ -2,9 +2,3 @@
...
@@ -2,9 +2,3 @@
# suite.pm will make sure that all tests including this file
# suite.pm will make sure that all tests including this file
# will be skipped unless this is an embedded test run
# will be skipped unless this is an embedded test run
#
#
# The test below is redundant
if
(
`select version() like '%embedded%'`
)
{
This
should
never
happen
;
}
mysql-test/include/not_windows.inc
View file @
7002291b
--
require
r
/
not_windows
.
require
#
disable_query_log
;
# suite.pm will make sure that all tests including this file
select
convert
(
@@
version_compile_os
using
latin1
)
NOT
IN
(
"Win32"
,
"Win64"
,
"Windows"
)
as
"TRUE"
;
# will be skipped unless this is on Windows
enable_query_log
;
#
mysql-test/r/mysqlbinlog.result
View file @
7002291b
...
@@ -1250,3 +1250,4 @@ DELIMITER ;
...
@@ -1250,3 +1250,4 @@ DELIMITER ;
ROLLBACK /* added by mysqlbinlog */;
ROLLBACK /* added by mysqlbinlog */;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!50003 SET COMPLETION_TYPE=@OLD_COMPLETION_TYPE*/;
/*!50530 SET @@SESSION.PSEUDO_SLAVE_MODE=0*/;
/*!50530 SET @@SESSION.PSEUDO_SLAVE_MODE=0*/;
mysqlbinlog Ver VER for OS at ARCH
mysql-test/r/not_windows.require
deleted
100644 → 0
View file @
d79fd5ba
TRUE
1
mysql-test/t/mysqlbinlog.test
View file @
7002291b
...
@@ -589,3 +589,9 @@ eval SET GLOBAL SERVER_ID = $old_server_id;
...
@@ -589,3 +589,9 @@ eval SET GLOBAL SERVER_ID = $old_server_id;
--
exec
$MYSQL_BINLOG
--
hexdump
std_data
/
mdev
-
4645
-
binlog_group_id
.
binlog
--
exec
$MYSQL_BINLOG
--
hexdump
std_data
/
mdev
-
4645
-
binlog_group_id
.
binlog
--
exec
$MYSQL_BINLOG
--
hexdump
std_data
/
mdev
-
4645
-
binlog_group_id_checksum
.
binlog
--
exec
$MYSQL_BINLOG
--
hexdump
std_data
/
mdev
-
4645
-
binlog_group_id_checksum
.
binlog
--
exec
$MYSQL_BINLOG
--
hexdump
std_data
/
mdev
-
4645
-
binlog_none
.
binlog
--
exec
$MYSQL_BINLOG
--
hexdump
std_data
/
mdev
-
4645
-
binlog_none
.
binlog
#
# MDEV-12372 mysqlbinlog --version output is the same on 10.x as on 5.5.x, and contains not only version
#
replace_regex
/.*
mysqlbinlog
(
\
.
exe
)
?
Ver
.*
for
.*
at
[
-
_a
-
zA
-
Z0
-
9
]
+/
mysqlbinlog
Ver
VER
for
OS
at
ARCH
/
;
exec
$MYSQL_BINLOG
--
version
;
sql/item_cmpfunc.cc
View file @
7002291b
...
@@ -5417,7 +5417,7 @@ void Regexp_processor_pcre::pcre_exec_warn(int rc) const
...
@@ -5417,7 +5417,7 @@ void Regexp_processor_pcre::pcre_exec_warn(int rc) const
switch
(
rc
)
switch
(
rc
)
{
{
case
PCRE_ERROR_NULL
:
case
PCRE_ERROR_NULL
:
errmsg
=
"pcre_exec: null argu
e
ment passed"
;
errmsg
=
"pcre_exec: null argument passed"
;
break
;
break
;
case
PCRE_ERROR_BADOPTION
:
case
PCRE_ERROR_BADOPTION
:
errmsg
=
"pcre_exec: bad option"
;
errmsg
=
"pcre_exec: bad option"
;
...
...
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