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
7802d282
Commit
7802d282
authored
Jul 25, 2002
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge work:/home/bk/mysql
into sergbook.mysql.com:/usr/home/serg/Abk/mysql
parents
18ff2626
31f12b30
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 @
7802d282
...
@@ -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