summaryrefslogtreecommitdiff
path: root/mysql-test/t/grant.test
diff options
context:
space:
mode:
authorunknown <monty@mashka.mysql.fi>2003-08-15 09:54:19 +0300
committerunknown <monty@mashka.mysql.fi>2003-08-15 09:54:19 +0300
commitccd828900b1d7cbb4e68562b06e1d8d7455eea5e (patch)
tree8af6b315e91238a5e5102bbf069129cfc58554b0 /mysql-test/t/grant.test
parent5c9e0cdc5309a7f16aa57a9a99e11f0c7740e7ec (diff)
downloadmariadb-git-ccd828900b1d7cbb4e68562b06e1d8d7455eea5e.tar.gz
Cleanups to recent patches
Fix packet error when using wrong GRANT command include/config-win.h: Changed back to test for HAVE_SETFILEPOINTER instead of operating system mysql-test/r/grant.result: Extra test to catch wrong packet bug mysql-test/t/grant.test: Extra test to catch wrong packet bug mysys/my_chsize.c: Cleanup sql/opt_range.cc: Fix to recent BETWEEN patch sql/sql_acl.cc: Fix packet error when using wrong GRANT command sql/sql_select.cc: Cleanups Added not critical out-of-memory check
Diffstat (limited to 'mysql-test/t/grant.test')
-rw-r--r--mysql-test/t/grant.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/t/grant.test b/mysql-test/t/grant.test
index 5b20354336c..4433c9cbffc 100644
--- a/mysql-test/t/grant.test
+++ b/mysql-test/t/grant.test
@@ -72,5 +72,10 @@ delete from mysql.tables_priv where user='mysqltest_1';
delete from mysql.columns_priv where user='mysqltest_1';
flush privileges;
drop table t1;
+
+#
+# Test some error conditions
+#
--error 1221
GRANT FILE on mysqltest.* to mysqltest_1@localhost;
+select 1; -- To test that the previous command didn't cause problems