Commit 93a16a17 authored by Sergei Golubchik's avatar Sergei Golubchik

a couple of fixes for pbxt tests

parent 54fcd3b8
......@@ -4,6 +4,17 @@
--source include/add_anonymous_users.inc
#
# some statements have different results in ps-mode
#
let $actual1=4;
let $actual2=5;
if (`SELECT $PS_PROTOCOL + $SP_PROTOCOL + $CURSOR_PROTOCOL + $VIEW_PROTOCOL > 0`)
{
let $actual1=3;
let $actual2=4;
}
#
# Test grants with query cache
#
......@@ -112,6 +123,7 @@ select * from t2;
select mysqltest.t1.c from test.t1,mysqltest.t1;
show status like "Qcache_queries_in_cache";
show status like "Qcache_hits";
--replace_result $actual1 4
show status like "Qcache_not_cached";
# Connect without a database
......@@ -128,6 +140,7 @@ select a from mysqltest.t1;
select a from mysqltest.t1;
show status like "Qcache_queries_in_cache";
show status like "Qcache_hits";
--replace_result $actual2 5
show status like "Qcache_not_cached";
# Cleanup
......
# Can't run test of external client with embedded server
-- source include/not_embedded.inc
-- source include/have_innodb.inc
--disable_warnings
DROP TABLE IF EXISTS t1,t2,test1,test2;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment