summaryrefslogtreecommitdiff
path: root/mysql-test/t/trigger-compat.test
diff options
context:
space:
mode:
authormsvensson@pilot.mysql.com <>2007-12-12 18:19:24 +0100
committermsvensson@pilot.mysql.com <>2007-12-12 18:19:24 +0100
commitd918988baa943a18b17468f7cf2aa73833217f83 (patch)
treed8f656e22aba024da4a03e6e02e35d33d6f184a8 /mysql-test/t/trigger-compat.test
parent601cb9f96b01f34da27084f6039b752a4f28c35d (diff)
downloadmariadb-git-d918988baa943a18b17468f7cf2aa73833217f83.tar.gz
WL#4189
- dynamic configuration support - safe process - cleanups - create new suite for fedarated
Diffstat (limited to 'mysql-test/t/trigger-compat.test')
-rw-r--r--mysql-test/t/trigger-compat.test5
1 files changed, 3 insertions, 2 deletions
diff --git a/mysql-test/t/trigger-compat.test b/mysql-test/t/trigger-compat.test
index 9f7fd8bc505..bf119cd89e6 100644
--- a/mysql-test/t/trigger-compat.test
+++ b/mysql-test/t/trigger-compat.test
@@ -60,8 +60,9 @@ CREATE TRIGGER wl2818_trg1 BEFORE INSERT ON t1
--echo
--echo ---> patching t1.TRG...
---exec grep -v 'definers=' $MYSQLTEST_VARDIR/master-data/mysqltest_db1/t1.TRG > $MYSQLTEST_VARDIR/tmp/t1.TRG
---exec mv $MYSQLTEST_VARDIR/tmp/t1.TRG $MYSQLTEST_VARDIR/master-data/mysqltest_db1/t1.TRG
+let $MYSQLD_DATADIR= `select @@datadir`;
+--exec grep -v 'definers=' $MYSQLD_DATADIR/mysqltest_db1/t1.TRG > $MYSQLTEST_VARDIR/tmp/t1.TRG
+--exec mv $MYSQLTEST_VARDIR/tmp/t1.TRG $MYSQLD_DATADIR/mysqltest_db1/t1.TRG
#
# Create a new trigger.