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
164a9e35
Commit
164a9e35
authored
Mar 15, 2004
by
hf@deer.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WL#1163 (To make spatial code optional)
a couple of lines added to make code easier to read
parent
ec457a96
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
myisam/mi_key.c
myisam/mi_key.c
+2
-0
myisam/mi_open.c
myisam/mi_open.c
+2
-0
No files found.
myisam/mi_key.c
View file @
164a9e35
...
...
@@ -48,6 +48,8 @@ uint _mi_make_key(register MI_INFO *info, uint keynr, uchar *key,
*/
#ifdef HAVE_SPATIAL
return
sp_make_key
(
info
,
keynr
,
key
,
record
,
filepos
);
#else
DBUG_ASSERT
(
0
);
/* mi_open should check that this never happens*/
#endif
}
...
...
myisam/mi_open.c
View file @
164a9e35
...
...
@@ -734,6 +734,8 @@ static void setup_key_functions(register MI_KEYDEF *keyinfo)
#ifdef HAVE_RTREE_KEYS
keyinfo
->
ck_insert
=
rtree_insert
;
keyinfo
->
ck_delete
=
rtree_delete
;
#else
DBUG_ASSERT
(
0
);
/* mi_open should check it never happens */
#endif
}
else
...
...
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