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
188a47e5
Commit
188a47e5
authored
Nov 10, 2007
by
ramil/ram@ramil.myoffice.izhnet.ru
Browse files
Options
Browse Files
Download
Plain Diff
Merge mysql.com:/home/ram/work/mysql-5.0-maint
into mysql.com:/home/ram/work/mysql-5.1-maint
parents
2691d9b1
374ff97c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
sql/unireg.cc
sql/unireg.cc
+1
-1
storage/myisam/ha_myisam.cc
storage/myisam/ha_myisam.cc
+1
-1
No files found.
sql/unireg.cc
View file @
188a47e5
...
...
@@ -469,7 +469,7 @@ static uint pack_keys(uchar *keybuff, uint key_count, KEY *keyinfo,
int2store
(
pos
+
6
,
key
->
block_size
);
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
;
...
...
storage/myisam/ha_myisam.cc
View file @
188a47e5
...
...
@@ -149,7 +149,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
;
...
...
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