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
601b5bca
Commit
601b5bca
authored
May 31, 2005
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug#10224 - ANALYZE TABLE crashing with simultaneous CREATE ... SELECT statement.
After merge fix.
parent
57d4adf6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
mysql-test/r/create.result
mysql-test/r/create.result
+3
-2
mysql-test/t/create.test
mysql-test/t/create.test
+2
-0
No files found.
mysql-test/r/create.result
View file @
601b5bca
...
@@ -563,11 +563,12 @@ select * from t2;
...
@@ -563,11 +563,12 @@ select * from t2;
b
b
1
1
drop table t1,t2;
drop table t1,t2;
use test;
create table t1 (a int);
create table t1 (a int);
create table t1 select * from t1;
create table t1 select * from t1;
INSERT TABLE 't1' isn't allowed in FROM table list
ERROR HY000: You can't specify target table 't1' for update in FROM clause
create table t2 union = (t1) select * from t1;
create table t2 union = (t1) select * from t1;
INSERT TABLE 't1' isn't allowed in FROM table list
ERROR HY000: You can't specify target table 't1' for update in FROM clause
flush tables with read lock;
flush tables with read lock;
unlock tables;
unlock tables;
drop table t1;
drop table t1;
mysql-test/t/create.test
View file @
601b5bca
...
@@ -467,6 +467,8 @@ drop table t1,t2;
...
@@ -467,6 +467,8 @@ drop table t1,t2;
# This tests two additional possible errors and a hang if
# This tests two additional possible errors and a hang if
# an improper fix is present.
# an improper fix is present.
#
#
connection
default
;
use
test
;
create
table
t1
(
a
int
);
create
table
t1
(
a
int
);
--
error
1093
--
error
1093
create
table
t1
select
*
from
t1
;
create
table
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