summaryrefslogtreecommitdiff
path: root/mysql-test/r
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2021-03-07 01:33:51 +0100
committerSergei Golubchik <serg@mariadb.org>2021-03-08 14:54:05 +0100
commitdc6667805dd4567693fcc01666da7d1277050097 (patch)
treeb1a3742e96820467a6921e47d09dfa26c48312e8 /mysql-test/r
parent2c0b3141f354be245881d7d112dd57bd6f061ee1 (diff)
downloadmariadb-git-dc6667805dd4567693fcc01666da7d1277050097.tar.gz
Correct the value of global memory_used
As a special hack global memory_used isn't SHOW_LONG_STATUS but still relies on calc_sum_of_all_status() being called. followup for 63f91927870
Diffstat (limited to 'mysql-test/r')
-rw-r--r--mysql-test/r/status2.result10
1 files changed, 9 insertions, 1 deletions
diff --git a/mysql-test/r/status2.result b/mysql-test/r/status2.result
index fa0fc4e1061..60309e14fe3 100644
--- a/mysql-test/r/status2.result
+++ b/mysql-test/r/status2.result
@@ -74,4 +74,12 @@ DROP TRIGGER trigg1;
DROP FUNCTION testQuestion;
DROP EVENT ev1;
DROP TABLE t1,t2;
-End of 6.0 tests
+#
+# End of 5.5 tests
+#
+select variable_value < 1024*1024*1024 from information_schema.global_status where variable_name='memory_used';
+variable_value < 1024*1024*1024
+1
+#
+# End of 10.2 tests
+#