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
b09f1f9e
Commit
b09f1f9e
authored
Aug 06, 2014
by
Nirbhay Choubey
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bzr merge -r4011..4013 codership-mysql/5.5
parent
4788577c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
sql/sql_parse.cc
sql/sql_parse.cc
+1
-2
sql/wsrep_mysqld.cc
sql/wsrep_mysqld.cc
+4
-4
No files found.
sql/sql_parse.cc
View file @
b09f1f9e
...
...
@@ -3339,8 +3339,7 @@ case SQLCOM_PREPARE:
if
((
res
=
insert_precheck
(
thd
,
all_tables
)))
break
;
#ifdef WITH_WSREP
if
(
lex
->
sql_command
==
SQLCOM_INSERT_SELECT
&&
thd
->
wsrep_consistency_check
==
CONSISTENCY_CHECK_DECLARED
)
if
(
thd
->
wsrep_consistency_check
==
CONSISTENCY_CHECK_DECLARED
)
{
thd
->
wsrep_consistency_check
=
CONSISTENCY_CHECK_RUNNING
;
WSREP_TO_ISOLATION_BEGIN
(
first_table
->
db
,
first_table
->
table_name
,
NULL
);
...
...
sql/wsrep_mysqld.cc
View file @
b09f1f9e
...
...
@@ -776,10 +776,10 @@ void wsrep_filter_new_cluster (int* argc, char* argv[])
{
/* make a copy of the argument to convert possible underscores to hyphens.
* the copy need not to be longer than WSREP_NEW_CLUSTER option */
char
arg
[
sizeof
(
WSREP_NEW_CLUSTER
)
+
2
]
=
{
0
,
};
char
arg
[
sizeof
(
WSREP_NEW_CLUSTER
)
+
1
]
=
{
0
,
};
strncpy
(
arg
,
argv
[
i
],
sizeof
(
arg
)
-
1
);
char
*
underscore
;
while
(
NULL
!=
(
underscore
=
strchr
(
arg
,
'_'
)))
*
underscore
=
'-'
;
char
*
underscore
(
arg
)
;
while
(
NULL
!=
(
underscore
=
strchr
(
underscore
,
'_'
)))
*
underscore
=
'-'
;
if
(
!
strcmp
(
arg
,
WSREP_NEW_CLUSTER
))
{
...
...
@@ -886,7 +886,7 @@ wsrep_causal_wait (THD* thd)
switch
(
ret
)
{
case
WSREP_NOT_IMPLEMENTED
:
msg
=
"
consistent
reads by wsrep backend. "
msg
=
"
synchronous
reads by wsrep backend. "
"Please unset wsrep_causal_reads variable."
;
err
=
ER_NOT_SUPPORTED_YET
;
break
;
...
...
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