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
745239fd
Commit
745239fd
authored
Sep 25, 2013
by
Jan Lindström
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
After merge fixes
parent
9c85ced3
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
138 additions
and
115 deletions
+138
-115
sql/handler.cc
sql/handler.cc
+0
-14
sql/log.cc
sql/log.cc
+36
-1
sql/log_event.cc
sql/log_event.cc
+1
-1
sql/sql_acl.cc
sql/sql_acl.cc
+1
-1
sql/sql_admin.cc
sql/sql_admin.cc
+3
-1
sql/sql_parse.cc
sql/sql_parse.cc
+7
-8
storage/innobase/lock/lock0lock.cc
storage/innobase/lock/lock0lock.cc
+90
-89
No files found.
sql/handler.cc
View file @
745239fd
...
...
@@ -1506,17 +1506,6 @@ commit_one_phase_2(THD *thd, bool all, THD_TRANS *trans, bool is_real_trans)
int
error
=
0
;
Ha_trx_info
*
ha_info
=
trans
->
ha_list
,
*
ha_info_next
;
DBUG_ENTER
(
"commit_one_phase_2"
);
#ifdef WITH_WSREP
#ifdef WSREP_PROC_INFO
char
info
[
64
]
=
{
0
,
};
snprintf
(
info
,
sizeof
(
info
)
-
1
,
"ha_commit_one_phase(%lld)"
,
(
long
long
)
thd
->
wsrep_trx_seqno
);
#else
const
char
info
[]
=
"ha_commit_one_phase()"
;
#endif
/* WSREP_PROC_INFO */
char
*
tmp_info
=
NULL
;
if
(
WSREP
(
thd
))
tmp_info
=
(
char
*
)
thd_proc_info
(
thd
,
info
);
#endif
/* WITH_WSREP */
if
(
ha_info
)
{
...
...
@@ -1551,9 +1540,6 @@ commit_one_phase_2(THD *thd, bool all, THD_TRANS *trans, bool is_real_trans)
#else
thd
->
transaction
.
cleanup
();
#endif
/* WITH_WSREP */
#ifdef WITH_WSREP
if
(
WSREP
(
thd
))
thd_proc_info
(
thd
,
tmp_info
);
#endif
/* WITH_WSREP */
DBUG_RETURN
(
error
);
}
...
...
sql/log.cc
View file @
745239fd
This diff is collapsed.
Click to expand it.
sql/log_event.cc
View file @
745239fd
...
...
@@ -11999,7 +11999,7 @@ Log_event* wsrep_read_log_event(
goto
err
;
}
res
=
Log_event
::
read_log_event
(
buf
,
data_len
,
&
error
,
description_event
,
FALSE
);
res
=
Log_event
::
read_log_event
(
buf
,
data_len
,
&
error
,
description_event
,
false
);
err:
if
(
!
res
)
...
...
sql/sql_acl.cc
View file @
745239fd
...
...
@@ -1926,7 +1926,7 @@ bool change_password(THD *thd, const char *host, const char *user,
Rpl_filter
*
rpl_filter
=
thd
->
rpl_filter
;
/* Buffer should be extended when password length is extended. */
char
buff
[
512
];
ulong
query_length
;
ulong
query_length
=
0
;
enum_binlog_format
save_binlog_format
;
uint
new_password_len
=
(
uint
)
strlen
(
new_password
);
bool
result
=
1
;
...
...
sql/sql_admin.cc
View file @
745239fd
...
...
@@ -1116,6 +1116,9 @@ bool Sql_cmd_analyze_table::execute(THD *thd)
FALSE
,
UINT_MAX
,
FALSE
))
goto
error
;
thd
->
enable_slow_log
=
opt_log_slow_admin_statements
;
#ifdef WITH_WSREP
WSREP_TO_ISOLATION_BEGIN
(
first_table
->
db
,
first_table
->
table_name
,
NULL
);
#endif
res
=
mysql_admin_table
(
thd
,
first_table
,
&
m_lex
->
check_opt
,
"analyze"
,
lock_type
,
1
,
0
,
0
,
0
,
&
handler
::
ha_analyze
,
0
);
...
...
@@ -1171,7 +1174,6 @@ bool Sql_cmd_optimize_table::execute(THD *thd)
FALSE
,
UINT_MAX
,
FALSE
))
goto
error
;
/* purecov: inspected */
thd
->
enable_slow_log
=
opt_log_slow_admin_statements
;
WSREP_TO_ISOLATION_BEGIN
(
first_table
->
db
,
first_table
->
table_name
,
NULL
)
res
=
(
specialflag
&
SPECIAL_NO_NEW_FUNC
)
?
mysql_recreate_table
(
thd
,
first_table
)
:
...
...
sql/sql_parse.cc
View file @
745239fd
...
...
@@ -972,7 +972,7 @@ bool do_command(THD *thd)
}
if
((
WSREP
(
thd
)
&&
packet_length
==
packet_error
)
||
(
!
WSREP
(
thd
)
&&
(
packet_length
=
my_net_read
(
net
))
==
packet_error
))
(
!
WSREP
(
thd
)
&&
(
packet_length
==
packet_error
)
))
#else
if
(
packet_length
==
packet_error
)
#endif
/* WITH_WSREP */
...
...
@@ -3240,6 +3240,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
)
{
...
...
@@ -3249,13 +3255,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
);
...
...
storage/innobase/lock/lock0lock.cc
View file @
745239fd
This diff is collapsed.
Click to expand it.
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