MySQL Lists are EOL. Please join:

List:Internals« Previous MessageNext Message »
From:Jim Winstead Date:April 13 2005 10:43pm
Subject:bk commit into 4.1 tree (jimw:1.2181) BUG#9833
View as plain text  
Below is the list of changes that have just been committed into a local
4.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.2181 05/04/13 15:43:29 jimw@stripped +1 -0
  Don't allow the server to start up when an invalid user is
  specified via --user or in configuration. (Bug #9833)

  sql/mysqld.cc
    1.571 05/04/13 15:43:26 jimw@stripped +1 -0
    Actually die if we an invalid user is specified.

# 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-4.1-9833

--- 1.570/sql/mysqld.cc	2005-04-13 05:05:50 -07:00
+++ 1.571/sql/mysqld.cc	2005-04-13 15:43:26 -07:00
@@ -1165,6 +1165,7 @@
 
 err:
   sql_print_error("Fatal error: Can't change to run as user '%s' ;  Please check that the user exists!\n",user);
+  unireg_abort(1);
 #endif
   return NULL;
 }
Thread
bk commit into 4.1 tree (jimw:1.2181) BUG#9833Jim Winstead14 Apr