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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
98ccc210
Commit
98ccc210
authored
Dec 31, 2004
by
sergefp@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make test results independent on who runs them
parent
849d1203
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
mysql-test/r/user_limits.result
mysql-test/r/user_limits.result
+1
-1
mysql-test/t/user_limits.test
mysql-test/t/user_limits.test
+1
-0
No files found.
mysql-test/r/user_limits.result
View file @
98ccc210
...
@@ -42,7 +42,7 @@ connect(localhost,mysqltest_1,,test,MYSQL_PORT,MYSQL_SOCK);
...
@@ -42,7 +42,7 @@ connect(localhost,mysqltest_1,,test,MYSQL_PORT,MYSQL_SOCK);
ERROR 42000: User 'mysqltest_1' has exceeded the 'max_connections' resource (current value: 2)
ERROR 42000: User 'mysqltest_1' has exceeded the 'max_connections' resource (current value: 2)
select * from t1;
select * from t1;
i
i
connect(localhost,mysqltest_1,,test,
9306,/home/dlenev/src/mysql-5.0-1339/mysql-test/var/tmp/master.sock
);
connect(localhost,mysqltest_1,,test,
MYSQL_PORT,MYSQL_SOCK
);
ERROR 42000: User 'mysqltest_1' has exceeded the 'max_connections' resource (current value: 2)
ERROR 42000: User 'mysqltest_1' has exceeded the 'max_connections' resource (current value: 2)
drop user mysqltest_1@localhost;
drop user mysqltest_1@localhost;
flush privileges;
flush privileges;
...
...
mysql-test/t/user_limits.test
View file @
98ccc210
...
@@ -72,6 +72,7 @@ select * from t1;
...
@@ -72,6 +72,7 @@ select * from t1;
# counters are not thrown away if there are no connections for this user.
# counters are not thrown away if there are no connections for this user.
disconnect
mcph1
;
disconnect
mcph1
;
disconnect
mcph2
;
disconnect
mcph2
;
--
replace_result
$MASTER_MYPORT
MYSQL_PORT
$MASTER_MYSOCK
MYSQL_SOCK
--
error
1226
--
error
1226
connect
(
mcph3
,
localhost
,
mysqltest_1
,,);
connect
(
mcph3
,
localhost
,
mysqltest_1
,,);
# Cleanup
# Cleanup
...
...
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