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
cacf708f
Commit
cacf708f
authored
Oct 30, 2008
by
Mattias Jonsson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
post-push fix for build warnings
parent
aebc974d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
sql/ha_partition.cc
sql/ha_partition.cc
+4
-5
No files found.
sql/ha_partition.cc
View file @
cacf708f
...
@@ -3824,8 +3824,7 @@ int ha_partition::common_index_read(uchar *buf, bool have_start_key)
...
@@ -3824,8 +3824,7 @@ int ha_partition::common_index_read(uchar *buf, bool have_start_key)
Need to set unordered scan ongoing since we can come here even when
Need to set unordered scan ongoing since we can come here even when
it isn't set.
it isn't set.
*/
*/
DBUG_PRINT
(
"info"
,
(
"key_len %lu (%lu), doing unordered scan"
,
DBUG_PRINT
(
"info"
,
(
"doing unordered scan"
));
key_len
,
m_curr_key_info
[
0
]
->
key_length
));
m_ordered_scan_ongoing
=
FALSE
;
m_ordered_scan_ongoing
=
FALSE
;
error
=
handle_unordered_scan_next_partition
(
buf
);
error
=
handle_unordered_scan_next_partition
(
buf
);
}
}
...
@@ -5806,7 +5805,7 @@ bool ha_partition::check_if_incompatible_data(HA_CREATE_INFO *create_info,
...
@@ -5806,7 +5805,7 @@ bool ha_partition::check_if_incompatible_data(HA_CREATE_INFO *create_info,
uint
table_changes
)
uint
table_changes
)
{
{
handler
**
file
;
handler
**
file
;
bool
ret
;
bool
ret
=
COMPATIBLE_DATA_YES
;
/*
/*
The check for any partitioning related changes have already been done
The check for any partitioning related changes have already been done
...
@@ -5828,7 +5827,7 @@ bool ha_partition::check_if_incompatible_data(HA_CREATE_INFO *create_info,
...
@@ -5828,7 +5827,7 @@ bool ha_partition::check_if_incompatible_data(HA_CREATE_INFO *create_info,
int
ha_partition
::
add_index
(
TABLE
*
table_arg
,
KEY
*
key_info
,
uint
num_of_keys
)
int
ha_partition
::
add_index
(
TABLE
*
table_arg
,
KEY
*
key_info
,
uint
num_of_keys
)
{
{
handler
**
file
;
handler
**
file
;
int
ret
;
int
ret
=
0
;
/*
/*
There has already been a check in fix_partition_func in mysql_alter_table
There has already been a check in fix_partition_func in mysql_alter_table
...
@@ -5846,7 +5845,7 @@ int ha_partition::prepare_drop_index(TABLE *table_arg, uint *key_num,
...
@@ -5846,7 +5845,7 @@ int ha_partition::prepare_drop_index(TABLE *table_arg, uint *key_num,
uint
num_of_keys
)
uint
num_of_keys
)
{
{
handler
**
file
;
handler
**
file
;
int
ret
;
int
ret
=
0
;
/*
/*
DROP INDEX does not affect partitioning.
DROP INDEX does not affect partitioning.
...
...
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