summaryrefslogtreecommitdiff
path: root/mysql-test/r/bootstrap.result
diff options
context:
space:
mode:
authorunknown <msvensson@pilot.blaudden>2007-02-20 12:48:15 +0100
committerunknown <msvensson@pilot.blaudden>2007-02-20 12:48:15 +0100
commitaafe189af0b5333ba6c2a9b891a0e736144ea758 (patch)
tree922846f67c49ea77b05035332ec2c467d5958a28 /mysql-test/r/bootstrap.result
parentdcd3b8d4b6277efeb90bc585e8407c7718dfc80b (diff)
downloadmariadb-git-aafe189af0b5333ba6c2a9b891a0e736144ea758.tar.gz
Bug#20166 mysql-test-run.pl does not test system privilege tables creation
- Add test of bootstrap mode - Make mysqld return error if bootstrap failed mysql-test/mysql-test-run.pl: Remove options --skip-grant-tables as that is always turned on by --bootstrap Remove options --console as that does not affect --bootstrap mode at all Add environment variable MYSQLD_BOOTSTRAP_CMD containing path to mysqld and the arguments used for bootstrap sql/sql_parse.cc: Abort bootstrap if execution fails Report error to stderr/log mysql-test/r/bootstrap.result: New BitKeeper file ``mysql-test/r/bootstrap.result'' mysql-test/t/bootstrap.test: New BitKeeper file ``mysql-test/t/bootstrap.test''
Diffstat (limited to 'mysql-test/r/bootstrap.result')
-rw-r--r--mysql-test/r/bootstrap.result8
1 files changed, 8 insertions, 0 deletions
diff --git a/mysql-test/r/bootstrap.result b/mysql-test/r/bootstrap.result
new file mode 100644
index 00000000000..3301ca74324
--- /dev/null
+++ b/mysql-test/r/bootstrap.result
@@ -0,0 +1,8 @@
+drop table if exists t1;
+drop table t1;
+drop table t1;
+ERROR 42S02: Unknown table 't1'
+set @my_max_allowed_packet= @@max_allowed_packet;
+set global max_allowed_packet=100*@@max_allowed_packet;
+set global max_allowed_packet=@my_max_allowed_packet;
+drop table t1;