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
5b810bc6
Commit
5b810bc6
authored
Jun 03, 2005
by
serg@serg.mylan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
after merge fixes
parent
e4d4baed
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
5 deletions
+16
-5
mysql-test/r/create.result
mysql-test/r/create.result
+11
-3
mysql-test/t/create.test
mysql-test/t/create.test
+5
-2
No files found.
mysql-test/r/create.result
View file @
5b810bc6
...
...
@@ -497,9 +497,9 @@ drop database mysqltest;
select database();
database()
NULL
select database();
database()
NULL
select database()
, user()
;
database()
user()
NULL
mysqltest_1@localhost
use test;
create table t1 (a int, index `primary` (a));
ERROR 42000: Incorrect index name 'primary'
...
...
@@ -563,3 +563,11 @@ select * from t2;
b
1
drop table t1,t2;
create table t1 (a int);
create table t1 select * from t1;
ERROR HY000: You can't specify target table 't1' for update in FROM clause
create table t2 union = (t1) select * from t1;
ERROR HY000: You can't specify target table 't1' for update in FROM clause
flush tables with read lock;
unlock tables;
drop table t1;
mysql-test/t/create.test
View file @
5b810bc6
...
...
@@ -403,8 +403,11 @@ drop database mysqltest;
select
database
();
# Connect without a database
connect
(
user4
,
localhost
,
mysqltest_1
,,
*
NO
-
ONE
*
);
select
database
();
connect
(
user1
,
localhost
,
mysqltest_1
,,
*
NO
-
ONE
*
);
connection
user1
;
select
database
(),
user
();
connection
default
;
disconnect
user1
;
#
# Test for Bug 856 'Naming a key "Primary" causes trouble'
...
...
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