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
4148bec1
Commit
4148bec1
authored
Dec 01, 2012
by
Mattias Jonsson
Browse files
Options
Browse Files
Download
Plain Diff
merge mysql-5.1 -> mysql-5.5
parents
63b0cbe3
b6249e51
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
sql/sql_table.cc
sql/sql_table.cc
+4
-2
No files found.
sql/sql_table.cc
View file @
4148bec1
...
...
@@ -857,6 +857,7 @@ static void set_ddl_log_entry_from_buf(uint read_entry,
{
uint
inx
;
uchar
single_char
;
DBUG_ENTER
(
"set_ddl_log_entry_from_buf"
);
ddl_log_entry
->
entry_pos
=
read_entry
;
single_char
=
file_entry_buf
[
DDL_LOG_ENTRY_TYPE_POS
];
ddl_log_entry
->
entry_type
=
(
enum
ddl_log_entry_code
)
single_char
;
...
...
@@ -869,6 +870,7 @@ static void set_ddl_log_entry_from_buf(uint read_entry,
ddl_log_entry
->
from_name
=
(
char
*
)
&
file_entry_buf
[
inx
];
inx
+=
global_ddl_log
.
name_len
;
ddl_log_entry
->
handler_name
=
(
char
*
)
&
file_entry_buf
[
inx
];
DBUG_VOID_RETURN
;
}
...
...
@@ -1431,7 +1433,7 @@ bool execute_ddl_log_entry(THD *thd, uint first_entry)
{
if
(
read_ddl_log_file_entry
(
file_entry_buf
,
read_entry
,
IO_SIZE
))
{
/*
Write to error
log and continue with next log entry */
/*
Print the error to the
log and continue with next log entry */
sql_print_error
(
"Failed to read entry = %u from ddl log"
,
read_entry
);
break
;
...
...
@@ -1442,7 +1444,7 @@ bool execute_ddl_log_entry(THD *thd, uint first_entry)
if
(
execute_ddl_log_action
(
thd
,
&
ddl_log_entry
))
{
/*
Write to error
log and continue with next log entry */
/*
Print the error to the
log and continue with next log entry */
sql_print_error
(
"Failed to execute action for entry = %u from ddl log"
,
read_entry
);
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