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
e3edfcb4
Commit
e3edfcb4
authored
Dec 08, 2008
by
Mattias Jonsson
Browse files
Options
Browse Files
Download
Plain Diff
merge
parents
e2fb6dc1
b708aaae
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
11 deletions
+16
-11
CMakeLists.txt
CMakeLists.txt
+4
-0
sql/sql_partition.cc
sql/sql_partition.cc
+11
-11
win/configure.js
win/configure.js
+1
-0
No files found.
CMakeLists.txt
View file @
e3edfcb4
...
...
@@ -98,6 +98,10 @@ IF(CYBOZU)
ADD_DEFINITIONS
(
-DCYBOZU
)
ENDIF
(
CYBOZU
)
IF
(
EXTRA_DEBUG
)
ADD_DEFINITIONS
(
-D EXTRA_DEBUG
)
ENDIF
(
EXTRA_DEBUG
)
# in some places we use DBUG_OFF
SET
(
CMAKE_CXX_FLAGS_RELEASE
"
${
CMAKE_CXX_FLAGS_RELEASE
}
-DDBUG_OFF"
)
SET
(
CMAKE_CXX_FLAGS_RELWITHDEBINFO
"
${
CMAKE_CXX_FLAGS_RELWITHDEBINFO
}
-DDBUG_OFF"
)
...
...
sql/sql_partition.cc
View file @
e3edfcb4
...
...
@@ -5304,8 +5304,8 @@ static bool write_log_changed_partitions(ALTER_PARTITION_PARAM_TYPE *lpt,
DDL_LOG_ENTRY
ddl_log_entry
;
partition_info
*
part_info
=
lpt
->
part_info
;
DDL_LOG_MEMORY_ENTRY
*
log_entry
;
char
tmp_path
[
FN_LEN
];
char
normal_path
[
FN_LEN
];
char
tmp_path
[
FN_
REF
LEN
];
char
normal_path
[
FN_
REF
LEN
];
List_iterator
<
partition_element
>
part_it
(
part_info
->
partitions
);
uint
temp_partitions
=
part_info
->
temp_partitions
.
elements
;
uint
no_elements
=
part_info
->
partitions
.
elements
;
...
...
@@ -5516,7 +5516,7 @@ static bool write_log_drop_shadow_frm(ALTER_PARTITION_PARAM_TYPE *lpt)
partition_info
*
part_info
=
lpt
->
part_info
;
DDL_LOG_MEMORY_ENTRY
*
log_entry
;
DDL_LOG_MEMORY_ENTRY
*
exec_log_entry
=
NULL
;
char
shadow_path
[
FN_LEN
];
char
shadow_path
[
FN_
REF
LEN
];
DBUG_ENTER
(
"write_log_drop_shadow_frm"
);
build_table_shadow_filename
(
shadow_path
,
sizeof
(
shadow_path
),
lpt
);
...
...
@@ -5559,8 +5559,8 @@ static bool write_log_rename_frm(ALTER_PARTITION_PARAM_TYPE *lpt)
partition_info
*
part_info
=
lpt
->
part_info
;
DDL_LOG_MEMORY_ENTRY
*
log_entry
;
DDL_LOG_MEMORY_ENTRY
*
exec_log_entry
=
part_info
->
exec_log_entry
;
char
path
[
FN_LEN
];
char
shadow_path
[
FN_LEN
];
char
path
[
FN_
REF
LEN
];
char
shadow_path
[
FN_
REF
LEN
];
DDL_LOG_MEMORY_ENTRY
*
old_first_log_entry
=
part_info
->
first_log_entry
;
DBUG_ENTER
(
"write_log_rename_frm"
);
...
...
@@ -5610,8 +5610,8 @@ static bool write_log_drop_partition(ALTER_PARTITION_PARAM_TYPE *lpt)
partition_info
*
part_info
=
lpt
->
part_info
;
DDL_LOG_MEMORY_ENTRY
*
log_entry
;
DDL_LOG_MEMORY_ENTRY
*
exec_log_entry
=
part_info
->
exec_log_entry
;
char
tmp_path
[
FN_LEN
];
char
path
[
FN_LEN
];
char
tmp_path
[
FN_
REF
LEN
];
char
path
[
FN_
REF
LEN
];
uint
next_entry
=
0
;
DDL_LOG_MEMORY_ENTRY
*
old_first_log_entry
=
part_info
->
first_log_entry
;
DBUG_ENTER
(
"write_log_drop_partition"
);
...
...
@@ -5669,8 +5669,8 @@ static bool write_log_add_change_partition(ALTER_PARTITION_PARAM_TYPE *lpt)
partition_info
*
part_info
=
lpt
->
part_info
;
DDL_LOG_MEMORY_ENTRY
*
log_entry
;
DDL_LOG_MEMORY_ENTRY
*
exec_log_entry
=
NULL
;
char
tmp_path
[
FN_LEN
];
char
path
[
FN_LEN
];
char
tmp_path
[
FN_
REF
LEN
];
char
path
[
FN_
REF
LEN
];
uint
next_entry
=
0
;
DBUG_ENTER
(
"write_log_add_change_partition"
);
...
...
@@ -5723,8 +5723,8 @@ static bool write_log_final_change_partition(ALTER_PARTITION_PARAM_TYPE *lpt)
partition_info
*
part_info
=
lpt
->
part_info
;
DDL_LOG_MEMORY_ENTRY
*
log_entry
;
DDL_LOG_MEMORY_ENTRY
*
exec_log_entry
=
part_info
->
exec_log_entry
;
char
path
[
FN_LEN
];
char
shadow_path
[
FN_LEN
];
char
path
[
FN_
REF
LEN
];
char
shadow_path
[
FN_
REF
LEN
];
DDL_LOG_MEMORY_ENTRY
*
old_first_log_entry
=
part_info
->
first_log_entry
;
uint
next_entry
=
0
;
DBUG_ENTER
(
"write_log_final_change_partition"
);
...
...
win/configure.js
View file @
e3edfcb4
...
...
@@ -48,6 +48,7 @@ try
case
"
__NT__
"
:
case
"
CYBOZU
"
:
case
"
EMBED_MANIFESTS
"
:
case
"
EXTRA_DEBUG
"
:
case
"
WITH_EMBEDDED_SERVER
"
:
configfile
.
WriteLine
(
"
SET (
"
+
args
.
Item
(
i
)
+
"
TRUE)
"
);
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