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
bcd56c6d
Commit
bcd56c6d
authored
Jan 05, 2006
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WL#2985 "Partition pruning": Make compilable without partitioning engine.
parent
de69ff3d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
sql/sql_partition.cc
sql/sql_partition.cc
+4
-3
No files found.
sql/sql_partition.cc
View file @
bcd56c6d
...
@@ -3481,7 +3481,7 @@ void set_key_field_ptr(KEY *key_info, const byte *new_buf,
...
@@ -3481,7 +3481,7 @@ void set_key_field_ptr(KEY *key_info, const byte *new_buf,
DBUG_VOID_RETURN
;
DBUG_VOID_RETURN
;
}
}
#ifdef WITH_PARTITION_STORAGE_ENGINE
/*
/*
Return comma-separated list of used partitions in the provided given string
Return comma-separated list of used partitions in the provided given string
...
@@ -3544,7 +3544,7 @@ void make_used_partitions_str(partition_info *part_info, String *parts_str)
...
@@ -3544,7 +3544,7 @@ void make_used_partitions_str(partition_info *part_info, String *parts_str)
}
}
}
}
}
}
#endif
/****************************************************************************
/****************************************************************************
* Partition interval analysis support
* Partition interval analysis support
...
@@ -3582,7 +3582,7 @@ void make_used_partitions_str(partition_info *part_info, String *parts_str)
...
@@ -3582,7 +3582,7 @@ void make_used_partitions_str(partition_info *part_info, String *parts_str)
this criteria, and also sets some auxilary fields that the function
this criteria, and also sets some auxilary fields that the function
uses.
uses.
*/
*/
#ifdef WITH_PARTITION_STORAGE_ENGINE
static
void
set_up_range_analysis_info
(
partition_info
*
part_info
)
static
void
set_up_range_analysis_info
(
partition_info
*
part_info
)
{
{
enum_monotonicity_info
minfo
;
enum_monotonicity_info
minfo
;
...
@@ -3978,4 +3978,5 @@ static uint32 get_next_subpartition_via_walking(PARTITION_ITERATOR *part_iter)
...
@@ -3978,4 +3978,5 @@ static uint32 get_next_subpartition_via_walking(PARTITION_ITERATOR *part_iter)
part_iter
->
start_val
++
;
part_iter
->
start_val
++
;
return
part_iter
->
part_info
->
get_subpartition_id
(
part_iter
->
part_info
);
return
part_iter
->
part_info
->
get_subpartition_id
(
part_iter
->
part_info
);
}
}
#endif
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