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
6e4f383a
Commit
6e4f383a
authored
Jun 10, 2003
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test results updated
parent
dc5d1c87
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
12 deletions
+12
-12
mysql-test/r/grant.result
mysql-test/r/grant.result
+2
-2
mysql-test/r/isam.result
mysql-test/r/isam.result
+8
-8
mysql-test/r/replace.result
mysql-test/r/replace.result
+2
-2
No files found.
mysql-test/r/grant.result
View file @
6e4f383a
...
@@ -91,14 +91,14 @@ Grants for drop_user@localhost
...
@@ -91,14 +91,14 @@ Grants for drop_user@localhost
GRANT USAGE ON *.* TO 'drop_user'@'localhost'
GRANT USAGE ON *.* TO 'drop_user'@'localhost'
drop user drop_user@localhost;
drop user drop_user@localhost;
revoke all privileges, grant from drop_user@localhost;
revoke all privileges, grant from drop_user@localhost;
Can't revoke all privileges, grant for one or more of the requested users
ERROR HY000:
Can't revoke all privileges, grant for one or more of the requested users
grant select(a) on test.t1 to drop_user1@localhost;
grant select(a) on test.t1 to drop_user1@localhost;
grant select on test.t1 to drop_user2@localhost;
grant select on test.t1 to drop_user2@localhost;
grant select on test.* to drop_user3@localhost;
grant select on test.* to drop_user3@localhost;
grant select on *.* to drop_user4@localhost;
grant select on *.* to drop_user4@localhost;
drop user drop_user1@localhost, drop_user2@localhost, drop_user3@localhost,
drop user drop_user1@localhost, drop_user2@localhost, drop_user3@localhost,
drop_user4@localhost;
drop_user4@localhost;
Can't drop one or more of the requested users
ERROR HY000:
Can't drop one or more of the requested users
revoke all privileges, grant from drop_user1@localhost, drop_user2@localhost,
revoke all privileges, grant from drop_user1@localhost, drop_user2@localhost,
drop_user3@localhost, drop_user4@localhost;
drop_user3@localhost, drop_user4@localhost;
drop user drop_user1@localhost, drop_user2@localhost, drop_user3@localhost,
drop user drop_user1@localhost, drop_user2@localhost, drop_user3@localhost,
...
...
mysql-test/r/isam.result
View file @
6e4f383a
...
@@ -38,13 +38,13 @@ a b c
...
@@ -38,13 +38,13 @@ a b c
6 6 6
6 6 6
drop table t1;
drop table t1;
create table t1 (a int,b text, index(a)) type=isam;
create table t1 (a int,b text, index(a)) type=isam;
Column 'a' is used with UNIQUE or INDEX but is not defined as NOT NULL
ERROR 42000:
Column 'a' is used with UNIQUE or INDEX but is not defined as NOT NULL
create table t1 (a int,b text, index(b)) type=isam;
create table t1 (a int,b text, index(b)) type=isam;
BLOB column 'b' can't be used in key specification with the used table type
ERROR 42000:
BLOB column 'b' can't be used in key specification with the used table type
create table t1 (ordid int(8) not null auto_increment, ord varchar(50) not null, primary key (ord,ordid)) type=isam;
create table t1 (ordid int(8) not null auto_increment, ord varchar(50) not null, primary key (ord,ordid)) type=isam;
Incorrect table definition; There can only be one auto column and it must be defined as a key
ERROR 42000:
Incorrect table definition; There can only be one auto column and it must be defined as a key
create table t1 (ordid int(8), unique (ordid)) type=isam;
create table t1 (ordid int(8), unique (ordid)) type=isam;
Column 'ordid' is used with UNIQUE or INDEX but is not defined as NOT NULL
ERROR 42000:
Column 'ordid' is used with UNIQUE or INDEX but is not defined as NOT NULL
drop table if exists t1;
drop table if exists t1;
Warnings:
Warnings:
Note 1051 Unknown table 't1'
Note 1051 Unknown table 't1'
...
@@ -72,10 +72,10 @@ Table Op Msg_type Msg_text
...
@@ -72,10 +72,10 @@ Table Op Msg_type Msg_text
test.t2 check error Table 't2' was not locked with LOCK TABLES
test.t2 check error Table 't2' was not locked with LOCK TABLES
test.t1 check status OK
test.t1 check status OK
show columns from t1;
show columns from t1;
Field Type
Collation
Null Key Default Extra
Field Type Null Key Default Extra
a int(11)
NULL
PRI 0
a int(11) PRI 0
b int(11)
NULL
MUL 0
b int(11) MUL 0
c int(11)
NULL
0
c int(11) 0
show full columns from t1;
show full columns from t1;
Field Type Collation Null Key Default Extra Privileges Comment
Field Type Collation Null Key Default Extra Privileges Comment
a int(11) NULL PRI 0 select,insert,update,references
a int(11) NULL PRI 0 select,insert,update,references
...
...
mysql-test/r/replace.result
View file @
6e4f383a
...
@@ -15,9 +15,9 @@ drop table t1;
...
@@ -15,9 +15,9 @@ drop table t1;
create table t1 (a tinyint not null auto_increment primary key, b char(20) default "default_value");
create table t1 (a tinyint not null auto_increment primary key, b char(20) default "default_value");
insert into t1 values (126,"first"),(63, "middle"),(0,"last");
insert into t1 values (126,"first"),(63, "middle"),(0,"last");
insert into t1 values (0,"error");
insert into t1 values (0,"error");
Duplicate entry '127' for key 1
ERROR 23000:
Duplicate entry '127' for key 1
replace into t1 values (0,"error");
replace into t1 values (0,"error");
Duplicate entry '127' for key 1
ERROR 23000:
Duplicate entry '127' for key 1
replace into t1 values (126,"first updated");
replace into t1 values (126,"first updated");
replace into t1 values (63,default);
replace into t1 values (63,default);
select * from t1;
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