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