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
374ff97c
Commit
374ff97c
authored
Nov 10, 2007
by
ramil/ram@mysql.com/ramil.myoffice.izhnet.ru
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
compiler warnings fixed.
parent
4764ffa3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
sql/ha_myisam.cc
sql/ha_myisam.cc
+1
-1
sql/unireg.cc
sql/unireg.cc
+1
-1
No files found.
sql/ha_myisam.cc
View file @
374ff97c
...
...
@@ -173,7 +173,7 @@ int table2myisam(TABLE *table_arg, MI_KEYDEF **keydef_out,
pos
=
table_arg
->
key_info
;
for
(
i
=
0
;
i
<
share
->
keys
;
i
++
,
pos
++
)
{
keydef
[
i
].
flag
=
(
pos
->
flags
&
(
HA_NOSAME
|
HA_FULLTEXT
|
HA_SPATIAL
));
keydef
[
i
].
flag
=
(
(
uint16
)
pos
->
flags
&
(
HA_NOSAME
|
HA_FULLTEXT
|
HA_SPATIAL
));
keydef
[
i
].
key_alg
=
pos
->
algorithm
==
HA_KEY_ALG_UNDEF
?
(
pos
->
flags
&
HA_SPATIAL
?
HA_KEY_ALG_RTREE
:
HA_KEY_ALG_BTREE
)
:
pos
->
algorithm
;
...
...
sql/unireg.cc
View file @
374ff97c
...
...
@@ -394,7 +394,7 @@ static uint pack_keys(uchar *keybuff, uint key_count, KEY *keyinfo,
pos
[
6
]
=
pos
[
7
]
=
0
;
// For the future
pos
+=
8
;
key_parts
+=
key
->
key_parts
;
DBUG_PRINT
(
"loop"
,
(
"flags: %
d
key_parts: %d at 0x%lx"
,
DBUG_PRINT
(
"loop"
,
(
"flags: %
lu
key_parts: %d at 0x%lx"
,
key
->
flags
,
key
->
key_parts
,
(
long
)
key
->
key_part
));
for
(
key_part
=
key
->
key_part
,
key_part_end
=
key_part
+
key
->
key_parts
;
...
...
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