List:Internals« Previous MessageNext Message »
From:Jim Winstead Date:November 12 2005 1:36am
Subject:bk commit into 5.1 tree (jimw:1.1957) BUG#14876
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of jimw. When jimw does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet
  1.1957 05/11/11 16:36:26 jimw@stripped +1 -0
  Support full list of BDB deadlock detection methods. (Bug #14876)

  sql/ha_berkeley.cc
    1.160 05/11/11 16:36:22 jimw@stripped +5 -2
    Add full list of BDB lock detection types.

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	jimw
# Host:	rama.(none)
# Root:	/home/jimw/my/mysql-5.1-14876

--- 1.159/sql/ha_berkeley.cc	2005-11-07 07:24:36 -08:00
+++ 1.160/sql/ha_berkeley.cc	2005-11-11 16:36:22 -08:00
@@ -89,9 +89,12 @@
 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};
 
Thread
bk commit into 5.1 tree (jimw:1.1957) BUG#14876Jim Winstead12 Nov