Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDEV-13209 Cross-database operation with virtual columns fails
if we don't need to print field's table name, we surely don't need to print field's db name either
- Loading branch information
Showing
3 changed files
with
30 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
create database mysqltest1; | ||
create table mysqltest1.t1 (i int, j int as (i) persistent); | ||
show create table mysqltest1.t1; | ||
Table Create Table | ||
t1 CREATE TABLE `t1` ( | ||
`i` int(11) DEFAULT NULL, | ||
`j` int(11) GENERATED ALWAYS AS (`i`) STORED | ||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 | ||
alter table mysqltest1.t1 add index (i); | ||
show create table mysqltest1.t1; | ||
Table Create Table | ||
t1 CREATE TABLE `t1` ( | ||
`i` int(11) DEFAULT NULL, | ||
`j` int(11) GENERATED ALWAYS AS (`i`) STORED, | ||
KEY `i` (`i`) | ||
) ENGINE=MyISAM DEFAULT CHARSET=latin1 | ||
drop database mysqltest1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# | ||
# MDEV-13209 Cross-database operation with virtual columns fails | ||
# | ||
create database mysqltest1; | ||
create table mysqltest1.t1 (i int, j int as (i) persistent); | ||
show create table mysqltest1.t1; | ||
alter table mysqltest1.t1 add index (i); | ||
show create table mysqltest1.t1; | ||
drop database mysqltest1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters