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
11669921
Commit
11669921
authored
Nov 11, 2005
by
jimw@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Support full list of BDB deadlock detection methods. (Bug #14876)
parent
eeaecbc2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
sql/ha_berkeley.cc
sql/ha_berkeley.cc
+5
-2
No files found.
sql/ha_berkeley.cc
View file @
11669921
...
...
@@ -89,9 +89,12 @@ static DB_ENV *db_env;
static
HASH
bdb_open_tables
;
const
char
*
berkeley_lock_names
[]
=
{
"DEFAULT"
,
"OLDEST"
,
"RANDOM"
,
"YOUNGEST"
,
0
};
{
"DEFAULT"
,
"OLDEST"
,
"RANDOM"
,
"YOUNGEST"
,
"EXPIRE"
,
"MAXLOCKS"
,
"MAXWRITE"
,
"MINLOCKS"
,
"MINWRITE"
,
0
};
u_int32_t
berkeley_lock_types
[]
=
{
DB_LOCK_DEFAULT
,
DB_LOCK_OLDEST
,
DB_LOCK_RANDOM
};
{
DB_LOCK_DEFAULT
,
DB_LOCK_OLDEST
,
DB_LOCK_RANDOM
,
DB_LOCK_YOUNGEST
,
DB_LOCK_EXPIRE
,
DB_LOCK_MAXLOCKS
,
DB_LOCK_MAXWRITE
,
DB_LOCK_MINLOCKS
,
DB_LOCK_MINWRITE
};
TYPELIB
berkeley_lock_typelib
=
{
array_elements
(
berkeley_lock_names
)
-
1
,
""
,
berkeley_lock_names
,
NULL
};
...
...
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