List:Commits« Previous MessageNext Message »
From:Chad MILLER Date:November 10 2006 9:36pm
Subject:bk commit into 4.1 tree (cmiller:1.2544) BUG#22860
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 repository of cmiller. When cmiller 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

ChangeSet@stripped, 2006-11-10 16:36:08-05:00, cmiller@stripped +2 -0
  Bug #22860: Option --memlock should be revisited
  Support says that memlock doesn't work on OSes other than Solaris.  
  Add a warning about --memlock to the crash monologue.

  BitKeeper/etc/collapsed@stripped, 2006-11-10 16:12:19-05:00, cmiller@stripped +2 -0

  sql/, 2006-11-10 16:36:07-05:00, cmiller@stripped +19 -8
    On a crash when --memlock was active, emit advice about the insta-
    bility of that parameter.

# 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:	cmiller
# Host:
# Root:	/home/cmiller/work/mysql/bug22860/my41-bug22860

--- 1.619/sql/	2006-11-10 16:36:11 -05:00
+++ 1.620/sql/	2006-11-10 16:36:11 -05:00
@@ -2015,6 +2015,17 @@ later when used with nscd), disable LDAP
 mysqld that is not statically linked.\n");
+  if (locked_in_memory)
+  {
+    fprintf(stderr, "\n\
+The \"--memlock\" argument, which was enabled, uses system calls that are\n\
+unreliable and unstable on some operating systems and operating-system\n\
+versions (notably, some versions of Linux).  This crash could be due to use\n\
+of those buggy OS calls.  You should consider whether you really need the\n\
+\"--memlock\" parameter and/or consult the OS distributer about \"mlockall\"\n\
+  }
  if (test_flags & TEST_CORE_ON_SIGNAL)
    fprintf(stderr, "Writing a core file\n");

--- 1.3/BitKeeper/etc/collapsed	2006-11-10 16:36:11 -05:00
+++ 1.4/BitKeeper/etc/collapsed	2006-11-10 16:36:11 -05:00
@@ -1,3 +1,5 @@
bk commit into 4.1 tree (cmiller:1.2544) BUG#22860Chad MILLER10 Nov