Debian Codegraph @

mysql-test/suite/ndb/t/ndbinfo_no_upgrade.test

raw
1 --source include/have_ndb.inc
2
3 # WL#11563 Flexible creation and versioning of ndbinfo tables
4 #
5
6 --let $mysqld_name=mysqld.1.1
7 --source include/restart_mysqld.inc
8
9 # Check in the server error log for the ER_NDBINFO_NOT_UPGRADING_SCHEMA message:
10 # "Installed ndbinfo schema is current. Not upgrading."
11 #
12 # Also check that the ER_NDBINFO_UPGRADING_SCHEMA message does *not* appear
13 # in the server error log.
14 #
15
16 --let $assert_file=$MYSQLTEST_VARDIR/log/mysqld.1.1.err
17 --let $assert_only_after=Shutdown complete
18 --let $assert_text=Require ER_NDBINFO_NOT_UPGRADING_SCHEMA message
19 --let $assert_select=Installed ndbinfo schema is current. Not upgrading.
20 --let $assert_count=1
21 --source include/assert_grep.inc
22
23 --let $assert_text=Check for ER_NDBINFO_UPGRADING_SCHEMA message
24 --let $assert_select=Installing ndbinfo schema version
25 --let $assert_count=0
26 --source include/assert_grep.inc