Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
93a16a17
Commit
93a16a17
authored
Jun 12, 2011
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
a couple of fixes for pbxt tests
parent
54fcd3b8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
0 deletions
+14
-0
mysql-test/suite/pbxt/t/grant_cache.test
mysql-test/suite/pbxt/t/grant_cache.test
+13
-0
mysql-test/suite/pbxt/t/mysqlshow.test
mysql-test/suite/pbxt/t/mysqlshow.test
+1
-0
No files found.
mysql-test/suite/pbxt/t/grant_cache.test
View file @
93a16a17
...
...
@@ -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
...
...
mysql-test/suite/pbxt/t/mysqlshow.test
View file @
93a16a17
# 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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment