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
651b7b7f
Commit
651b7b7f
authored
Mar 08, 2007
by
istruewing@chilla.local
Browse files
Options
Browse Files
Download
Plain Diff
Merge chilla.local:/home/mydev/mysql-5.0-bug25673
into chilla.local:/home/mydev/mysql-5.1-bug25673
parents
a44009fe
c029dbec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
storage/myisam/rt_index.c
storage/myisam/rt_index.c
+3
-3
No files found.
storage/myisam/rt_index.c
View file @
651b7b7f
...
@@ -632,14 +632,14 @@ static int rtree_insert_level(MI_INFO *info, uint keynr, uchar *key,
...
@@ -632,14 +632,14 @@ static int rtree_insert_level(MI_INFO *info, uint keynr, uchar *key,
if
((
old_root
=
info
->
s
->
state
.
key_root
[
keynr
])
==
HA_OFFSET_ERROR
)
if
((
old_root
=
info
->
s
->
state
.
key_root
[
keynr
])
==
HA_OFFSET_ERROR
)
{
{
if
((
old_root
=
_mi_new
(
info
,
keyinfo
,
DFLT_INIT_HITS
))
==
HA_OFFSET_ERROR
)
if
((
old_root
=
_mi_new
(
info
,
keyinfo
,
DFLT_INIT_HITS
))
==
HA_OFFSET_ERROR
)
return
-
1
;
DBUG_RETURN
(
-
1
)
;
info
->
buff_used
=
1
;
info
->
buff_used
=
1
;
mi_putint
(
info
->
buff
,
2
,
0
);
mi_putint
(
info
->
buff
,
2
,
0
);
res
=
rtree_add_key
(
info
,
keyinfo
,
key
,
key_length
,
info
->
buff
,
NULL
);
res
=
rtree_add_key
(
info
,
keyinfo
,
key
,
key_length
,
info
->
buff
,
NULL
);
if
(
_mi_write_keypage
(
info
,
keyinfo
,
old_root
,
DFLT_INIT_HITS
,
info
->
buff
))
if
(
_mi_write_keypage
(
info
,
keyinfo
,
old_root
,
DFLT_INIT_HITS
,
info
->
buff
))
return
1
;
DBUG_RETURN
(
1
)
;
info
->
s
->
state
.
key_root
[
keynr
]
=
old_root
;
info
->
s
->
state
.
key_root
[
keynr
]
=
old_root
;
return
res
;
DBUG_RETURN
(
res
)
;
}
}
switch
((
res
=
rtree_insert_req
(
info
,
keyinfo
,
key
,
key_length
,
switch
((
res
=
rtree_insert_req
(
info
,
keyinfo
,
key
,
key_length
,
...
...
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