summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2012-11-12 19:56:51 +0100
committerSergei Golubchik <sergii@pisem.net>2012-11-12 19:56:51 +0100
commite679dfcafc630e2dbe506d0001322055d7684e03 (patch)
treeff91792a431ee14dff68d7e584827ab32bd6ec02 /mysql-test
parent353130204dead31c311cfc2877278640df84a5ee (diff)
downloadmariadb-git-e679dfcafc630e2dbe506d0001322055d7684e03.tar.gz
followup fixes for MySQL Bug #13889741: HANDLE_FATAL_SIGNAL IN _DB_ENTER_ | HANDLE_FATAL_SIGNAL IN STRNLEN
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/r/information_schema.result4
-rw-r--r--mysql-test/t/information_schema.test7
2 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/r/information_schema.result b/mysql-test/r/information_schema.result
index 2d26850808a..cacb18ba728 100644
--- a/mysql-test/r/information_schema.result
+++ b/mysql-test/r/information_schema.result
@@ -1675,4 +1675,8 @@ length(CAST(b AS CHAR))
DROP TABLE ubig;
select 1 from information_schema.tables where table_schema=repeat('a', 2000);
1
+grant usage on *.* to mysqltest_1@localhost;
+select 1 from information_schema.tables where table_schema=repeat('a', 2000);
+1
+drop user mysqltest_1@localhost;
End of 5.1 tests.
diff --git a/mysql-test/t/information_schema.test b/mysql-test/t/information_schema.test
index a6b07f379ec..ae733443479 100644
--- a/mysql-test/t/information_schema.test
+++ b/mysql-test/t/information_schema.test
@@ -1442,6 +1442,13 @@ DROP TABLE ubig;
# Bug #13889741: HANDLE_FATAL_SIGNAL IN _DB_ENTER_ | HANDLE_FATAL_SIGNAL IN STRNLEN
#
select 1 from information_schema.tables where table_schema=repeat('a', 2000);
+grant usage on *.* to mysqltest_1@localhost;
+connect (con1, localhost, mysqltest_1,,);
+connection con1;
+select 1 from information_schema.tables where table_schema=repeat('a', 2000);
+connection default;
+disconnect con1;
+drop user mysqltest_1@localhost;
--echo End of 5.1 tests.