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
6e7a37d3
Commit
6e7a37d3
authored
Oct 19, 2009
by
Mikael Ronstrom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for non-partition builds
parent
29b7a0aa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
sql/partition_info.cc
sql/partition_info.cc
+20
-0
No files found.
sql/partition_info.cc
View file @
6e7a37d3
...
@@ -1615,5 +1615,25 @@ id_err:
...
@@ -1615,5 +1615,25 @@ id_err:
return
1
;
return
1
;
}
}
#else
/* WITH_PARTITION_STORAGE_ENGINE */
/*
For builds without partitioning we need to define these functions
since we they are called from the parser. The parser cannot
remove code parts using ifdef, but the code parts cannot be called
so we simply need to add empty functions to make the linker happy.
*/
part_column_list_val
*
partition_info
::
add_column_value
()
{
return
NULL
;
}
bool
partition_info
::
set_part_expr
(
char
*
start_token
,
Item
*
item_ptr
,
char
*
end_token
,
bool
is_subpart
)
{
(
void
)
start_token
;
(
void
)
item_ptr
;
(
void
)
end_token
;
(
void
)
is_subpart
;
return
FALSE
;
}
#endif
/* WITH_PARTITION_STORAGE_ENGINE */
#endif
/* WITH_PARTITION_STORAGE_ENGINE */
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