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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
7ed27e1b
Commit
7ed27e1b
authored
Jun 26, 2014
by
Nirbhay Choubey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for some failing tests.
parent
9e1075ee
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
30 additions
and
12 deletions
+30
-12
mysql-test/extra/binlog_tests/binlog.test
mysql-test/extra/binlog_tests/binlog.test
+6
-3
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+2
-1
mysql-test/suite/binlog/r/binlog_row_binlog.result
mysql-test/suite/binlog/r/binlog_row_binlog.result
+9
-3
mysql-test/suite/binlog/r/binlog_stm_binlog.result
mysql-test/suite/binlog/r/binlog_stm_binlog.result
+9
-3
mysql-test/suite/perfschema/r/rpl_statements.result
mysql-test/suite/perfschema/r/rpl_statements.result
+2
-0
sql/sql_acl.cc
sql/sql_acl.cc
+2
-2
No files found.
mysql-test/extra/binlog_tests/binlog.test
View file @
7ed27e1b
...
...
@@ -372,7 +372,8 @@ dfLtTBcBAAAAIgAAAPkAAAAAABcAAAAAAAcAAf/+AQAAAA==
SELECT
*
FROM
t1
;
--
echo
# Their values should be ON
SHOW
SESSION
VARIABLES
LIKE
"%_checks"
;
SHOW
SESSION
VARIABLES
LIKE
"foreign_key_checks"
;
SHOW
SESSION
VARIABLES
LIKE
"unique_checks"
;
--
echo
SET
@@
SESSION
.
foreign_key_checks
=
OFF
;
...
...
@@ -387,7 +388,8 @@ dfLtTBcBAAAAIgAAAM0BAAAAABcAAAAAAAEAAf/+AgAAAA==
SELECT
*
FROM
t1
;
--
echo
# Their values should be OFF
SHOW
SESSION
VARIABLES
LIKE
"%_checks"
;
SHOW
SESSION
VARIABLES
LIKE
"foreign_key_checks"
;
SHOW
SESSION
VARIABLES
LIKE
"unique_checks"
;
--
echo
# INSERT INTO t1 VALUES(2)
--
echo
# foreign_key_checks=1 and unique_checks=1
...
...
@@ -401,7 +403,8 @@ dfLtTBcBAAAAIgAAAM0BAAAAABcAAAAAAAEAAf/+AgAAAA==
SELECT
*
FROM
t1
;
--
echo
# Their values should be OFF
SHOW
SESSION
VARIABLES
LIKE
"%_checks"
;
SHOW
SESSION
VARIABLES
LIKE
"foreign_key_checks"
;
SHOW
SESSION
VARIABLES
LIKE
"unique_checks"
;
DROP
TABLE
t1
;
...
...
mysql-test/mysql-test-run.pl
View file @
7ed27e1b
...
...
@@ -3224,7 +3224,8 @@ sub check_wsrep_support() {
if
((
check_wsrep_provider_env
()
==
1
)
||
(
$file_wsrep_provider
ne
""))
{
# Add galera test suites
mtr_report
("
- adding wsrep, galera to default test suites
");
push
@DEFAULT_SUITES
,
qw(wsrep galera)
;
#push @DEFAULT_SUITES, qw(wsrep galera);
push
@DEFAULT_SUITES
,
qw(wsrep)
;
}
}
}
...
...
mysql-test/suite/binlog/r/binlog_row_binlog.result
View file @
7ed27e1b
...
...
@@ -806,9 +806,11 @@ SELECT * FROM t1;
c1
1
# Their values should be ON
SHOW SESSION VARIABLES LIKE "
%
_checks";
SHOW SESSION VARIABLES LIKE "
foreign_key
_checks";
Variable_name Value
foreign_key_checks ON
SHOW SESSION VARIABLES LIKE "unique_checks";
Variable_name Value
unique_checks ON
SET @@SESSION.foreign_key_checks= OFF;
...
...
@@ -824,9 +826,11 @@ c1
1
2
# Their values should be OFF
SHOW SESSION VARIABLES LIKE "
%
_checks";
SHOW SESSION VARIABLES LIKE "
foreign_key
_checks";
Variable_name Value
foreign_key_checks OFF
SHOW SESSION VARIABLES LIKE "unique_checks";
Variable_name Value
unique_checks OFF
# INSERT INTO t1 VALUES(2)
# foreign_key_checks=1 and unique_checks=1
...
...
@@ -842,8 +846,10 @@ c1
1
2
# Their values should be OFF
SHOW SESSION VARIABLES LIKE "
%
_checks";
SHOW SESSION VARIABLES LIKE "
foreign_key
_checks";
Variable_name Value
foreign_key_checks OFF
SHOW SESSION VARIABLES LIKE "unique_checks";
Variable_name Value
unique_checks OFF
DROP TABLE t1;
mysql-test/suite/binlog/r/binlog_stm_binlog.result
View file @
7ed27e1b
...
...
@@ -618,9 +618,11 @@ SELECT * FROM t1;
c1
1
# Their values should be ON
SHOW SESSION VARIABLES LIKE "
%
_checks";
SHOW SESSION VARIABLES LIKE "
foreign_key
_checks";
Variable_name Value
foreign_key_checks ON
SHOW SESSION VARIABLES LIKE "unique_checks";
Variable_name Value
unique_checks ON
SET @@SESSION.foreign_key_checks= OFF;
...
...
@@ -636,9 +638,11 @@ c1
1
2
# Their values should be OFF
SHOW SESSION VARIABLES LIKE "
%
_checks";
SHOW SESSION VARIABLES LIKE "
foreign_key
_checks";
Variable_name Value
foreign_key_checks OFF
SHOW SESSION VARIABLES LIKE "unique_checks";
Variable_name Value
unique_checks OFF
# INSERT INTO t1 VALUES(2)
# foreign_key_checks=1 and unique_checks=1
...
...
@@ -654,8 +658,10 @@ c1
1
2
# Their values should be OFF
SHOW SESSION VARIABLES LIKE "
%
_checks";
SHOW SESSION VARIABLES LIKE "
foreign_key
_checks";
Variable_name Value
foreign_key_checks OFF
SHOW SESSION VARIABLES LIKE "unique_checks";
Variable_name Value
unique_checks OFF
DROP TABLE t1;
mysql-test/suite/perfschema/r/rpl_statements.result
View file @
7ed27e1b
...
...
@@ -14,6 +14,7 @@ include/master-slave.inc
show variables like '%binlog_format%';
Variable_name Value
binlog_format MIXED
wsrep_forced_binlog_format NONE
drop table if exists test.marker;
select thread_id into @my_thread_id
from performance_schema.threads
...
...
@@ -58,6 +59,7 @@ Expect 1
show variables like '%binlog_format%';
Variable_name Value
binlog_format MIXED
wsrep_forced_binlog_format NONE
*** Clear statement events
*** Create/drop table, create/drop database
...
...
sql/sql_acl.cc
View file @
7ed27e1b
...
...
@@ -2516,9 +2516,9 @@ int check_change_password(THD *thd, const char *host, const char *user,
#ifdef WITH_WSREP
if
((
!
WSREP
(
thd
)
||
!
thd
->
wsrep_applier
)
&&
!
thd
->
slave_thread
&&
!
thd
->
security_ctx
->
user
[
0
])
!
thd
->
slave_thread
&&
!
thd
->
security_ctx
->
priv_
user
[
0
])
#else
if
(
!
thd
->
slave_thread
&&
!
thd
->
security_ctx
->
user
[
0
])
if
(
!
thd
->
slave_thread
&&
!
thd
->
security_ctx
->
priv_
user
[
0
])
#endif
/* WITH_WSREP */
{
my_message
(
ER_PASSWORD_ANONYMOUS_USER
,
ER
(
ER_PASSWORD_ANONYMOUS_USER
),
...
...
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