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
6473c104
Commit
6473c104
authored
Apr 21, 2006
by
mikael@c-870ae253.1238-1-64736c10.cust.bredbandsbolaget.se
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WL 2826: Error handling of ALTER TABLE for partitioning
Final review fixes
parent
14d75e5b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
12 deletions
+6
-12
sql/mysql_priv.h
sql/mysql_priv.h
+0
-6
sql/sql_table.cc
sql/sql_table.cc
+6
-6
No files found.
sql/mysql_priv.h
View file @
6473c104
...
...
@@ -1282,9 +1282,6 @@ typedef struct st_ddl_log_memory_entry
}
DDL_LOG_MEMORY_ENTRY
;
#define DDL_LOG_HANDLER_TYPE_LEN 32
bool
write_ddl_log_entry
(
DDL_LOG_ENTRY
*
ddl_log_entry
,
DDL_LOG_MEMORY_ENTRY
**
active_entry
);
bool
write_execute_ddl_log_entry
(
uint
first_entry
,
...
...
@@ -1474,9 +1471,6 @@ extern ulong delayed_insert_timeout;
extern
ulong
delayed_insert_limit
,
delayed_queue_size
;
extern
ulong
delayed_insert_threads
,
delayed_insert_writes
;
extern
ulong
delayed_rows_in_use
,
delayed_insert_errors
;
#ifdef ERROR_INJECT_SUPPORT
extern
ulong
error_inject_value
;
#endif
extern
ulong
slave_open_temp_tables
;
extern
ulong
query_cache_size
,
query_cache_min_res_unit
;
extern
ulong
slow_launch_threads
,
slow_launch_time
;
...
...
sql/sql_table.cc
View file @
6473c104
...
...
@@ -764,20 +764,20 @@ bool write_ddl_log_entry(DDL_LOG_ENTRY *ddl_log_entry,
int4store
(
&
global_ddl_log
.
file_entry_buf
[
DDL_LOG_NEXT_ENTRY_POS
],
ddl_log_entry
->
next_entry
);
DBUG_ASSERT
(
strlen
(
ddl_log_entry
->
name
)
<
FN_LEN
);
str
ncpy
(
&
global_ddl_log
.
file_entry_buf
[
DDL_LOG_NAME_POS
],
ddl_log_entry
->
name
,
FN_LEN
);
str
make
(
&
global_ddl_log
.
file_entry_buf
[
DDL_LOG_NAME_POS
],
ddl_log_entry
->
name
,
FN_LEN
-
1
);
if
(
ddl_log_entry
->
action_type
==
DDL_LOG_RENAME_ACTION
||
ddl_log_entry
->
action_type
==
DDL_LOG_REPLACE_ACTION
)
{
DBUG_ASSERT
(
strlen
(
ddl_log_entry
->
from_name
)
<
FN_LEN
);
str
ncpy
(
&
global_ddl_log
.
file_entry_buf
[
DDL_LOG_NAME_POS
+
FN_LEN
],
ddl_log_entry
->
from_name
,
FN_LEN
);
str
make
(
&
global_ddl_log
.
file_entry_buf
[
DDL_LOG_NAME_POS
+
FN_LEN
],
ddl_log_entry
->
from_name
,
FN_LEN
-
1
);
}
else
global_ddl_log
.
file_entry_buf
[
DDL_LOG_NAME_POS
+
FN_LEN
]
=
0
;
DBUG_ASSERT
(
strlen
(
ddl_log_entry
->
handler_name
)
<
FN_LEN
);
str
ncpy
(
&
global_ddl_log
.
file_entry_buf
[
DDL_LOG_NAME_POS
+
(
2
*
FN_LEN
)],
ddl_log_entry
->
handler_name
,
FN_LEN
);
str
make
(
&
global_ddl_log
.
file_entry_buf
[
DDL_LOG_NAME_POS
+
(
2
*
FN_LEN
)],
ddl_log_entry
->
handler_name
,
FN_LEN
-
1
);
if
(
get_free_ddl_log_entry
(
active_entry
,
&
write_header
))
{
DBUG_RETURN
(
TRUE
);
...
...
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