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
9c69f3c0
Commit
9c69f3c0
authored
Nov 09, 2005
by
jimw@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid setting DB_NOOVERWRITE flag on hidden primary keys in tables
using the BDB storage engine. (Bug #14809)
parent
ee3cd794
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
sql/ha_berkeley.cc
sql/ha_berkeley.cc
+1
-1
No files found.
sql/ha_berkeley.cc
View file @
9c69f3c0
...
@@ -665,7 +665,7 @@ int ha_berkeley::open(const char *name, int mode, uint test_if_locked)
...
@@ -665,7 +665,7 @@ int ha_berkeley::open(const char *name, int mode, uint test_if_locked)
/* Open other keys; These are part of the share structure */
/* Open other keys; These are part of the share structure */
key_file
[
primary_key
]
=
file
;
key_file
[
primary_key
]
=
file
;
key_type
[
primary_key
]
=
DB_NOOVERWRITE
;
key_type
[
primary_key
]
=
hidden_primary_key
?
0
:
DB_NOOVERWRITE
;
DB
**
ptr
=
key_file
;
DB
**
ptr
=
key_file
;
for
(
uint
i
=
0
,
used_keys
=
0
;
i
<
table_share
->
keys
;
i
++
,
ptr
++
)
for
(
uint
i
=
0
,
used_keys
=
0
;
i
<
table_share
->
keys
;
i
++
,
ptr
++
)
...
...
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