--- sql/mini_client.cc	Mon Aug 19 15:47:00 2002
+++ sql/mini_client.cc	Mon Aug 19 15:48:44 2002
@@ -318,7 +318,7 @@
    */
 
   s_err=0;
-  if (getsockopt(s, SOL_SOCKET, SO_ERROR, (char*) &s_err, &s_err_size) != 0)
+  if (getsockopt(s, SOL_SOCKET, SO_ERROR, (char*) &s_err, (socklen_t *)&s_err_size) != 0)
     return(-1);
 
   if (s_err)
--- sql/mysqld.cc	Mon Aug 19 15:47:01 2002
+++ sql/mysqld.cc	Mon Aug 19 15:49:01 2002
@@ -2407,7 +2407,7 @@
     {
       size_socket length=sizeof(struct sockaddr_in);
       new_sock = accept(sock, my_reinterpret_cast(struct sockaddr *) (&cAddr),
-			&length);
+			(socklen_t *)&length);
       if (new_sock != INVALID_SOCKET ||
 	  (socket_errno != SOCKET_EINTR && socket_errno != SOCKET_EAGAIN))
 	break;
@@ -2473,7 +2473,7 @@
       size_socket dummyLen;
       struct sockaddr dummy;
       dummyLen = sizeof(struct sockaddr);
-      if (getsockname(new_sock,&dummy, &dummyLen) < 0)
+      if (getsockname(new_sock,&dummy, (socklen_t *)&dummyLen) < 0)
       {
 	sql_perror("Error on new connection socket");
 	(void) shutdown(new_sock,2);
--- scripts/mysql_install_db.sh    Mon Dec  2 17:40:15 2002
+++ scripts/mysql_install_db.sh Mon Dec  2 17:41:41 2002
@@ -133,14 +133,13 @@
   fi
 fi
 
-# Create database directories mysql & test
+# Create database directories mysql
 if test "$IN_RPM" -eq 0
 then
   if test ! -d $ldata; then mkdir $ldata; chmod 700 $ldata ; fi
   if test ! -d $ldata/mysql; then mkdir $ldata/mysql;  chmod 700 $ldata/mysql ; fi
-  if test ! -d $ldata/test; then mkdir $ldata/test;  chmod 700 $ldata/test ; fi
   if test -w / -a ! -z "$user"; then
-    chown $user $ldata $ldata/mysql $ldata/test;
+    chown $user $ldata $ldata/mysql
   fi
 fi
 
@@ -176,8 +175,6 @@
   c_d="$c_d )"
   c_d="$c_d comment='Database privileges';"
   
-  i_d="INSERT INTO db VALUES ('%','test','','Y','Y','Y','Y','Y','Y','N','Y','Y','Y');
-  INSERT INTO db VALUES ('%','test\_%','','Y','Y','Y','Y','Y','Y','N','Y','Y','Y');"
 fi
 
 if test ! -f $mdata/host.frm
@@ -232,10 +229,8 @@
   INSERT INTO user VALUES ('$hostname','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y');
   
   REPLACE INTO user VALUES ('localhost','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y');
-  REPLACE INTO user VALUES ('$hostname','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y');
+  REPLACE INTO user VALUES ('$hostname','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y');"
   
-  INSERT INTO user VALUES ('localhost','','','N','N','N','N','N','N','N','N','N','N','N','N','N','N');
-  INSERT INTO user VALUES ('$hostname','','','N','N','N','N','N','N','N','N','N','N','N','N','N','N');"
 fi
 
 if test ! -f $mdata/func.frm
@@ -333,10 +328,8 @@
   if test "$IN_RPM" -eq 0
   then
     echo "You can start the MySQL daemon with:"
-    echo "cd @prefix@ ; $bindir/safe_mysqld &"
+    echo "@l_prefix@/etc/rc mysql start"
     echo
-    echo "You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:"
-    echo "cd sql-bench ; run-all-tests"
     echo
   fi
   echo "Please report any problems with the @scriptdir@/mysqlbug script!"
