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
efd20661
Commit
efd20661
authored
Nov 25, 2005
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mikaels fix for compiling without partition storage engine
parent
70596536
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
3 deletions
+14
-3
sql/table.cc
sql/table.cc
+14
-3
No files found.
sql/table.cc
View file @
efd20661
...
...
@@ -539,17 +539,28 @@ static int open_binary_frm(THD *thd, TABLE_SHARE *share, uchar *head,
}
if
(
next_chunk
+
4
<
buff_end
)
{
if
((
share
->
partition_info_len
=
uint4korr
(
next_chunk
)))
uint32
partition_info_len
=
uint4korr
(
next_chunk
);
#ifdef WITH_PARTITION_STORAGE_ENGINE
if
((
share
->
partition_info_len
=
partition_info_len
))
{
if
(
!
(
share
->
partition_info
=
(
uchar
*
)
memdup_root
(
&
share
->
mem_root
,
next_chunk
+
4
,
share
->
partition_info_len
+
1
)))
partition_info_len
+
1
)))
{
my_free
(
buff
,
MYF
(
0
));
goto
err
;
}
next_chunk
+=
share
->
partition_info_len
+
5
;
next_chunk
++
;
}
#else
if
(
partition_info_len
)
{
DBUG_PRINT
(
"info"
,
(
"WITH_PARTITION_STORAGE_ENGINE is not defined"
));
my_free
(
buff
,
MYF
(
0
));
goto
err
;
}
#endif
next_chunk
+=
4
+
partition_info_len
;
}
keyinfo
=
share
->
key_info
;
for
(
i
=
0
;
i
<
keys
;
i
++
,
keyinfo
++
)
...
...
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