List:Commits« Previous MessageNext Message »
From:msvensson Date:November 10 2006 10:08am
Subject:bk commit into 4.1 tree (msvensson:1.2556) BUG#20166
View as plain text  
Below is the list of changes that have just been committed into a local
4.1 repository of msvensson. When msvensson 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@stripped, 2006-11-10 11:08:30+01:00, msvensson@neptunus.(none) +3 -0
  Bug#20166 mysql-test-run.pl does not test system privilege tables creation
   - Build lib/init-db.sql from the output of mysql_create_system_tables
   - Remove mysql-test/init_db.sql and mysql-test/lib/init_db.sql
   - Leave netware/init_db.sql until 5.0 where we should soon have possibility
     to test with mysql-test-run.pl

  BitKeeper/deleted/.del-init_db.sql@stripped, 2006-11-09 16:31:56+01:00, msvensson@neptunus.(none) +0 -0
    Delete: mysql-test/lib/init_db.sql

  BitKeeper/deleted/.del-init_db.sql~af2dfeabaa348dd7@stripped, 2006-11-09 16:31:59+01:00, msvensson@neptunus.(none) +0 -0
    Delete: mysql-test/init_db.sql

  mysql-test/Makefile.am@stripped, 2006-11-10 11:08:29+01:00, msvensson@neptunus.(none) +6 -1
    Build lib/init_db.sql from the output of mysql_create_system_tables

# 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:	msvensson
# Host:	neptunus.(none)
# Root:	/home/msvensson/mysql/bug20166/my41-bug20166

--- 1.55/mysql-test/Makefile.am	2006-11-10 11:08:33 +01:00
+++ 1.56/mysql-test/Makefile.am	2006-11-10 11:08:33 +01:00
@@ -34,7 +34,7 @@ benchdir_root=		$(prefix)
 testdir =	        $(benchdir_root)/mysql-test
 EXTRA_SCRIPTS = 	mysql-test-run.sh install_test_db.sh $(PRESCRIPTS)
 EXTRA_DIST = 		$(EXTRA_SCRIPTS) 
-GENSCRIPTS =		mysql-test-run install_test_db mtr
+GENSCRIPTS =		mysql-test-run install_test_db mtr lib/init_db.sql
 PRESCRIPTS =		mysql-test-run.pl
 test_SCRIPTS = 		$(GENSCRIPTS) $(PRESCRIPTS)
 test_DATA = std_data/client-key.pem std_data/client-cert.pem std_data/cacert.pem \
@@ -109,6 +109,11 @@ std_data/server-key.pem:
 mtr:
 	$(RM) -f mtr
 	$(LN_S) mysql-test-run.pl mtr
+
+# Build init_db.sql by executing mysql_create_system_tables
+lib/init_db.sql:
+	$(top_builddir)/scripts/mysql_create_system_tables \
+          test . \@HOSTNAME\@ > lib/init_db.sql
 
 SUFFIXES = .sh
 
Thread
bk commit into 4.1 tree (msvensson:1.2556) BUG#20166msvensson10 Nov