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
d7946bb3
Commit
d7946bb3
authored
Jun 03, 2005
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
after merge fixes
parent
2826245b
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 @
d7946bb3
...
...
@@ -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 @
d7946bb3
...
...
@@ -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