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
7afdb8ec
Commit
7afdb8ec
authored
Mar 31, 2004
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for bug #2160: Extra error message for CREATE TABLE LIKE with InnoDB
parent
8b7fe2b1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
1 deletion
+10
-1
mysql-test/r/innodb.result
mysql-test/r/innodb.result
+3
-0
mysql-test/t/innodb.test
mysql-test/t/innodb.test
+7
-0
sql/ha_innodb.h
sql/ha_innodb.h
+0
-1
No files found.
mysql-test/r/innodb.result
View file @
7afdb8ec
...
@@ -1440,3 +1440,6 @@ third
...
@@ -1440,3 +1440,6 @@ third
2
2
3
3
drop table t1;
drop table t1;
create table t1 (a int) engine=innodb;
create table t2 like t1;
drop table t1,t2;
mysql-test/t/innodb.test
View file @
7afdb8ec
...
@@ -1037,3 +1037,10 @@ create table t1 (id int, name char(10) not null, name2 char(10) not null) engi
...
@@ -1037,3 +1037,10 @@ create table t1 (id int, name char(10) not null, name2 char(10) not null) engi
insert
into
t1
values
(
1
,
'first'
,
'fff'
),(
2
,
'second'
,
'sss'
),(
3
,
'third'
,
'ttt'
);
insert
into
t1
values
(
1
,
'first'
,
'fff'
),(
2
,
'second'
,
'sss'
),(
3
,
'third'
,
'ttt'
);
select
name2
from
t1
union
all
select
name
from
t1
union
all
select
id
from
t1
;
select
name2
from
t1
union
all
select
name
from
t1
union
all
select
id
from
t1
;
drop
table
t1
;
drop
table
t1
;
#
# Bug2160
#
create
table
t1
(
a
int
)
engine
=
innodb
;
create
table
t2
like
t1
;
drop
table
t1
,
t2
;
sql/ha_innodb.h
View file @
7afdb8ec
...
@@ -95,7 +95,6 @@ class ha_innobase: public handler
...
@@ -95,7 +95,6 @@ class ha_innobase: public handler
HA_NOT_EXACT_COUNT
|
HA_NOT_EXACT_COUNT
|
HA_NO_WRITE_DELAYED
|
HA_NO_WRITE_DELAYED
|
HA_PRIMARY_KEY_IN_READ_INDEX
|
HA_PRIMARY_KEY_IN_READ_INDEX
|
HA_DROP_BEFORE_CREATE
|
HA_TABLE_SCAN_ON_INDEX
),
HA_TABLE_SCAN_ON_INDEX
),
last_dup_key
((
uint
)
-
1
),
last_dup_key
((
uint
)
-
1
),
start_of_scan
(
0
)
start_of_scan
(
0
)
...
...
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