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
1a34a56a
Commit
1a34a56a
authored
Oct 14, 2013
by
Jan Lindström
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix incorrect merge
parent
8da8c60d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
14 deletions
+6
-14
sql/mysqld.cc
sql/mysqld.cc
+0
-8
sql/sql_parse.cc
sql/sql_parse.cc
+6
-6
No files found.
sql/mysqld.cc
View file @
1a34a56a
...
...
@@ -10136,14 +10136,6 @@ void init_server_psi_keys(void)
count
=
array_elements
(
com_statement_info
);
mysql_statement_register
(
category
,
com_statement_info
,
count
);
#ifdef WITH_WSREP
/* WSREP AFTER SE */
if
(
wsrep_recovery
)
{
select_thread_in_use
=
0
;
wsrep_recover
();
unireg_abort
(
0
);
}
#endif
/* WITH_WSREP */
/*
When a new packet is received,
it is instrumented as "statement/com/".
...
...
sql/sql_parse.cc
View file @
1a34a56a
...
...
@@ -3244,6 +3244,12 @@ case SQLCOM_PREPARE:
/* So that CREATE TEMPORARY TABLE gets to binlog at commit/rollback */
if
(
create_info
.
tmp_table
())
thd
->
variables
.
option_bits
|=
OPTION_KEEP_LOG
;
#ifdef WITH_WSREP
if
(
!
thd
->
is_current_stmt_binlog_format_row
()
||
!
(
create_info
.
options
&
HA_LEX_CREATE_TMP_TABLE
))
WSREP_TO_ISOLATION_BEGIN
(
create_table
->
db
,
create_table
->
table_name
,
NULL
)
#endif
/* WITH_WSREP */
/* regular create */
if
(
create_info
.
options
&
HA_LEX_CREATE_TABLE_LIKE
)
{
...
...
@@ -3253,12 +3259,6 @@ case SQLCOM_PREPARE:
}
else
{
#ifdef WITH_WSREP
if
(
!
thd
->
is_current_stmt_binlog_format_row
()
||
!
(
create_info
.
options
&
HA_LEX_CREATE_TMP_TABLE
))
WSREP_TO_ISOLATION_BEGIN
(
create_table
->
db
,
create_table
->
table_name
,
NULL
)
#endif
/* WITH_WSREP */
/* Regular CREATE TABLE */
res
=
mysql_create_table
(
thd
,
create_table
,
&
create_info
,
&
alter_info
);
...
...
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