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
fce7fc43
Commit
fce7fc43
authored
May 21, 2013
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixes for buildbot
parent
639a7660
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
4 deletions
+6
-4
mysql-test/r/empty_user_table.result
mysql-test/r/empty_user_table.result
+1
-1
mysql-test/suite/maria/r/distinct.result
mysql-test/suite/maria/r/distinct.result
+1
-1
mysql-test/suite/maria/t/distinct.test
mysql-test/suite/maria/t/distinct.test
+1
-1
mysql-test/t/empty_user_table.test
mysql-test/t/empty_user_table.test
+3
-1
No files found.
mysql-test/r/empty_user_table.result
View file @
fce7fc43
...
@@ -2,7 +2,7 @@ create table t1 as select * from mysql.user;
...
@@ -2,7 +2,7 @@ create table t1 as select * from mysql.user;
truncate table mysql.user;
truncate table mysql.user;
flush privileges;
flush privileges;
connect(localhost,u1,,test,MASTER_PORT,MASTER_SOCKET);
connect(localhost,u1,,test,MASTER_PORT,MASTER_SOCKET);
ERROR 28000: Access denied for user 'u1'@'localhost' (using password: NO)
Got one of the listed errors
insert mysql.user select * from t1;
insert mysql.user select * from t1;
drop table t1;
drop table t1;
flush privileges;
flush privileges;
mysql-test/suite/maria/r/distinct.result
View file @
fce7fc43
...
@@ -17,7 +17,7 @@ GROUP_CONCAT(a)
...
@@ -17,7 +17,7 @@ GROUP_CONCAT(a)
DROP TABLE t1;
DROP TABLE t1;
CREATE TABLE t1 (a INT, b VARCHAR(1)) ENGINE=MyISAM;
CREATE TABLE t1 (a INT, b VARCHAR(1)) ENGINE=MyISAM;
INSERT INTO t1 VALUES (7,'q'),(2,NULL),(7,'g'),(6,'x');
INSERT INTO t1 VALUES (7,'q'),(2,NULL),(7,'g'),(6,'x');
SELECT DISTINCT MAX( a ) FROM t1 GROUP BY b ORDER BY
DES_DECRYPT
( b );
SELECT DISTINCT MAX( a ) FROM t1 GROUP BY b ORDER BY
MD5
( b );
MAX( a )
MAX( a )
2
2
7
7
...
...
mysql-test/suite/maria/t/distinct.test
View file @
fce7fc43
...
@@ -21,5 +21,5 @@ DROP TABLE t1;
...
@@ -21,5 +21,5 @@ DROP TABLE t1;
CREATE
TABLE
t1
(
a
INT
,
b
VARCHAR
(
1
))
ENGINE
=
MyISAM
;
CREATE
TABLE
t1
(
a
INT
,
b
VARCHAR
(
1
))
ENGINE
=
MyISAM
;
INSERT
INTO
t1
VALUES
(
7
,
'q'
),(
2
,
NULL
),(
7
,
'g'
),(
6
,
'x'
);
INSERT
INTO
t1
VALUES
(
7
,
'q'
),(
2
,
NULL
),(
7
,
'g'
),(
6
,
'x'
);
SELECT
DISTINCT
MAX
(
a
)
FROM
t1
GROUP
BY
b
ORDER
BY
DES_DECRYPT
(
b
);
SELECT
DISTINCT
MAX
(
a
)
FROM
t1
GROUP
BY
b
ORDER
BY
MD5
(
b
);
DROP
TABLE
t1
;
DROP
TABLE
t1
;
mysql-test/t/empty_user_table.test
View file @
fce7fc43
...
@@ -8,8 +8,10 @@ create table t1 as select * from mysql.user;
...
@@ -8,8 +8,10 @@ create table t1 as select * from mysql.user;
truncate
table
mysql
.
user
;
truncate
table
mysql
.
user
;
flush
privileges
;
flush
privileges
;
# connecting via unix socket gives ER_ACCESS_DENIED_ERROR
# connecting via tcp/ip gives ER_HOST_NOT_PRIVILEGED
--
replace_result
$MASTER_MYSOCK
MASTER_SOCKET
$MASTER_MYPORT
MASTER_PORT
--
replace_result
$MASTER_MYSOCK
MASTER_SOCKET
$MASTER_MYPORT
MASTER_PORT
--
error
ER_ACCESS_DENIED_ERROR
--
error
ER_ACCESS_DENIED_ERROR
,
ER_HOST_NOT_PRIVILEGED
connect
(
fail
,
localhost
,
u1
);
connect
(
fail
,
localhost
,
u1
);
insert
mysql
.
user
select
*
from
t1
;
insert
mysql
.
user
select
*
from
t1
;
...
...
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