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
9171b5e4
Commit
9171b5e4
authored
Jul 25, 2002
by
serg@sergbook.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge work:/home/bk/mysql
into sergbook.mysql.com:/usr/home/serg/Abk/mysql
parents
07711a6e
0a270d65
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
myisam/mi_create.c
myisam/mi_create.c
+3
-0
No files found.
myisam/mi_create.c
View file @
9171b5e4
...
@@ -392,6 +392,9 @@ int mi_create(const char *name,uint keys,MI_KEYDEF *keydefs,
...
@@ -392,6 +392,9 @@ int mi_create(const char *name,uint keys,MI_KEYDEF *keydefs,
uniquedef
->
key
=
keys
+
i
;
uniquedef
->
key
=
keys
+
i
;
unique_key_parts
+=
uniquedef
->
keysegs
;
unique_key_parts
+=
uniquedef
->
keysegs
;
share
.
state
.
key_root
[
keys
+
i
]
=
HA_OFFSET_ERROR
;
share
.
state
.
key_root
[
keys
+
i
]
=
HA_OFFSET_ERROR
;
tot_length
+=
(
max_rows
/
(
ulong
)
(((
uint
)
myisam_block_size
-
5
)
/
((
MI_UNIQUE_HASH_LENGTH
+
pointer
)
*
2
)))
*
(
ulong
)
myisam_block_size
;
}
}
keys
+=
uniques
;
/* Each unique has 1 key */
keys
+=
uniques
;
/* Each unique has 1 key */
key_segs
+=
uniques
;
/* Each unique has 1 key seg */
key_segs
+=
uniques
;
/* Each unique has 1 key seg */
...
...
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