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
c61e8a65
Commit
c61e8a65
authored
Mar 24, 2019
by
Chris Calender
Committed by
Sergey Vojtovich
Mar 24, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for MDEV-17449, typo in error message (#1146)
parent
d8b7e76c
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
54 additions
and
54 deletions
+54
-54
mysql-test/suite/storage_engine/vcol.result
mysql-test/suite/storage_engine/vcol.result
+8
-8
mysql-test/suite/vcol/r/vcol_ins_upd_innodb.result
mysql-test/suite/vcol/r/vcol_ins_upd_innodb.result
+10
-10
mysql-test/suite/vcol/r/vcol_ins_upd_myisam.result
mysql-test/suite/vcol/r/vcol_ins_upd_myisam.result
+10
-10
mysql-test/suite/vcol/r/vcol_misc.result
mysql-test/suite/vcol/r/vcol_misc.result
+6
-6
mysql-test/suite/vcol/r/vcol_select_myisam.result
mysql-test/suite/vcol/r/vcol_select_myisam.result
+3
-3
sql/share/errmsg-utf8.txt
sql/share/errmsg-utf8.txt
+1
-1
storage/innobase/mysql-test/storage_engine/vcol.rdiff
storage/innobase/mysql-test/storage_engine/vcol.rdiff
+8
-8
storage/myisammrg/mysql-test/storage_engine/vcol.rdiff
storage/myisammrg/mysql-test/storage_engine/vcol.rdiff
+8
-8
No files found.
mysql-test/suite/storage_engine/vcol.result
View file @
c61e8a65
...
...
@@ -7,8 +7,8 @@ b int(11) # # VIRTUAL
INSERT INTO t1 (a) VALUES (1),(2);
INSERT INTO t1 (a,b) VALUES (3,3),(4,4);
Warnings:
Warning 1906 The value specified for computed column 'b' in table 't1' ignored
Warning 1906 The value specified for computed column 'b' in table 't1' ignored
Warning 1906 The value specified for computed column 'b' in table 't1'
has been
ignored
Warning 1906 The value specified for computed column 'b' in table 't1'
has been
ignored
SELECT a,b FROM t1;
a b
1 2
...
...
@@ -24,8 +24,8 @@ b int(11) # # PERSISTENT
INSERT INTO t1 (a) VALUES (1),(2);
INSERT INTO t1 (a,b) VALUES (3,3),(4,4);
Warnings:
Warning 1906 The value specified for computed column 'b' in table 't1' ignored
Warning 1906 The value specified for computed column 'b' in table 't1' ignored
Warning 1906 The value specified for computed column 'b' in table 't1'
has been
ignored
Warning 1906 The value specified for computed column 'b' in table 't1'
has been
ignored
SELECT a,b FROM t1;
a b
1 2
...
...
@@ -41,8 +41,8 @@ b int(11) # # VIRTUAL
INSERT INTO t1 (a) VALUES (1),(2);
INSERT INTO t1 (a,b) VALUES (3,3),(4,4);
Warnings:
Warning 1906 The value specified for computed column 'b' in table 't1' ignored
Warning 1906 The value specified for computed column 'b' in table 't1' ignored
Warning 1906 The value specified for computed column 'b' in table 't1'
has been
ignored
Warning 1906 The value specified for computed column 'b' in table 't1'
has been
ignored
SELECT a,b FROM t1;
a b
1 2
...
...
@@ -58,8 +58,8 @@ b int(11) # # PERSISTENT
INSERT INTO t1 (a) VALUES (1),(2);
INSERT INTO t1 (a,b) VALUES (3,3),(4,4);
Warnings:
Warning 1906 The value specified for computed column 'b' in table 't1' ignored
Warning 1906 The value specified for computed column 'b' in table 't1' ignored
Warning 1906 The value specified for computed column 'b' in table 't1'
has been
ignored
Warning 1906 The value specified for computed column 'b' in table 't1'
has been
ignored
SELECT a,b FROM t1;
a b
1 2
...
...
mysql-test/suite/vcol/r/vcol_ins_upd_innodb.result
View file @
c61e8a65
...
...
@@ -25,8 +25,8 @@ a b c
# INSERT INTO tbl_name VALUES... a non-NULL value is specified against vcols
insert into t1 values (1,2,3);
Warnings:
Warning 1906 The value specified for computed column 'b' in table 't1' ignored
Warning 1906 The value specified for computed column 'c' in table 't1' ignored
Warning 1906 The value specified for computed column 'b' in table 't1'
has been
ignored
Warning 1906 The value specified for computed column 'c' in table 't1'
has been
ignored
select * from t1;
a b c
1 -1 -1
...
...
@@ -65,8 +65,8 @@ a b c
# against vcols
insert into t1 (a,b) values (1,3), (2,4);
Warnings:
Warning 1906 The value specified for computed column 'b' in table 't1' ignored
Warning 1906 The value specified for computed column 'b' in table 't1' ignored
Warning 1906 The value specified for computed column 'b' in table 't1'
has been
ignored
Warning 1906 The value specified for computed column 'b' in table 't1'
has been
ignored
select * from t1;
a b c
1 -1 -1
...
...
@@ -107,8 +107,8 @@ a b c
create table t2 like t1;
insert into t2 select * from t1;
Warnings:
Warning 1906 The value specified for computed column 'b' in table 't2' ignored
Warning 1906 The value specified for computed column 'c' in table 't2' ignored
Warning 1906 The value specified for computed column 'b' in table 't2'
has been
ignored
Warning 1906 The value specified for computed column 'c' in table 't2'
has been
ignored
select * from t1;
a b c
2 -2 -2
...
...
@@ -123,8 +123,8 @@ a b c
create table t2 like t1;
insert into t2 (a,b) select a,b from t1;
Warnings:
Warning 1906 The value specified for computed column 'b' in table 't2' ignored
Warning 1906 The value specified for computed column 'b' in table 't2' ignored
Warning 1906 The value specified for computed column 'b' in table 't2'
has been
ignored
Warning 1906 The value specified for computed column 'b' in table 't2'
has been
ignored
select * from t2;
a b c
2 -2 -2
...
...
@@ -159,7 +159,7 @@ a b c
2 -2 -2
update t1 set c=3 where a=2;
Warnings:
Warning 1906 The value specified for computed column 'c' in table 't1' ignored
Warning 1906 The value specified for computed column 'c' in table 't1'
has been
ignored
select * from t1;
a b c
1 -1 -1
...
...
@@ -189,7 +189,7 @@ a b c
2 -2 -2
update t1 set c=3 where b=-2;
Warnings:
Warning 1906 The value specified for computed column 'c' in table 't1' ignored
Warning 1906 The value specified for computed column 'c' in table 't1'
has been
ignored
select * from t1;
a b c
1 -1 -1
...
...
mysql-test/suite/vcol/r/vcol_ins_upd_myisam.result
View file @
c61e8a65
...
...
@@ -25,8 +25,8 @@ a b c
# INSERT INTO tbl_name VALUES... a non-NULL value is specified against vcols
insert into t1 values (1,2,3);
Warnings:
Warning 1906 The value specified for computed column 'b' in table 't1' ignored
Warning 1906 The value specified for computed column 'c' in table 't1' ignored
Warning 1906 The value specified for computed column 'b' in table 't1'
has been
ignored
Warning 1906 The value specified for computed column 'c' in table 't1'
has been
ignored
select * from t1;
a b c
1 -1 -1
...
...
@@ -65,8 +65,8 @@ a b c
# against vcols
insert into t1 (a,b) values (1,3), (2,4);
Warnings:
Warning 1906 The value specified for computed column 'b' in table 't1' ignored
Warning 1906 The value specified for computed column 'b' in table 't1' ignored
Warning 1906 The value specified for computed column 'b' in table 't1'
has been
ignored
Warning 1906 The value specified for computed column 'b' in table 't1'
has been
ignored
select * from t1;
a b c
1 -1 -1
...
...
@@ -107,8 +107,8 @@ a b c
create table t2 like t1;
insert into t2 select * from t1;
Warnings:
Warning 1906 The value specified for computed column 'b' in table 't2' ignored
Warning 1906 The value specified for computed column 'c' in table 't2' ignored
Warning 1906 The value specified for computed column 'b' in table 't2'
has been
ignored
Warning 1906 The value specified for computed column 'c' in table 't2'
has been
ignored
select * from t1;
a b c
2 -2 -2
...
...
@@ -123,8 +123,8 @@ a b c
create table t2 like t1;
insert into t2 (a,b) select a,b from t1;
Warnings:
Warning 1906 The value specified for computed column 'b' in table 't2' ignored
Warning 1906 The value specified for computed column 'b' in table 't2' ignored
Warning 1906 The value specified for computed column 'b' in table 't2'
has been
ignored
Warning 1906 The value specified for computed column 'b' in table 't2'
has been
ignored
select * from t2;
a b c
2 -2 -2
...
...
@@ -159,7 +159,7 @@ a b c
2 -2 -2
update t1 set c=3 where a=2;
Warnings:
Warning 1906 The value specified for computed column 'c' in table 't1' ignored
Warning 1906 The value specified for computed column 'c' in table 't1'
has been
ignored
select * from t1;
a b c
1 -1 -1
...
...
@@ -189,7 +189,7 @@ a b c
2 -2 -2
update t1 set c=3 where b=-2;
Warnings:
Warning 1906 The value specified for computed column 'c' in table 't1' ignored
Warning 1906 The value specified for computed column 'c' in table 't1'
has been
ignored
select * from t1;
a b c
1 -1 -1
...
...
mysql-test/suite/vcol/r/vcol_misc.result
View file @
c61e8a65
...
...
@@ -108,10 +108,10 @@ DROP TABLE t1,t2;
CREATE TABLE t1 (p int, a double NOT NULL, v double AS (ROUND(a,p)) VIRTUAL);
INSERT INTO t1 VALUES (0,1,0);
Warnings:
Warning 1906 The value specified for computed column 'v' in table 't1' ignored
Warning 1906 The value specified for computed column 'v' in table 't1'
has been
ignored
INSERT INTO t1 VALUES (NULL,0,0);
Warnings:
Warning 1906 The value specified for computed column 'v' in table 't1' ignored
Warning 1906 The value specified for computed column 'v' in table 't1'
has been
ignored
SELECT a, p, v, ROUND(a,p), ROUND(a,p+NULL) FROM t1;
a p v ROUND(a,p) ROUND(a,p+NULL)
1 0 1 1 NULL
...
...
@@ -306,15 +306,15 @@ d varchar(5) latin1_swedish_ci YES NULL PERSISTENT #
INSERT INTO `test`.`t1`(`a`,`b`,`c`,`d`) VALUES ( '1','a',NULL,NULL);
UPDATE `test`.`t1` SET `d`='b' WHERE `a`='1' AND `b`='a' AND `c`='1' AND `d`='a';
Warnings:
Warning 1906 The value specified for computed column 'd' in table 't1' ignored
Warning 1906 The value specified for computed column 'd' in table 't1'
has been
ignored
INSERT INTO `test`.`t1`(`a`,`b`,`c`,`d`) VALUES ( '1','a',NULL,'a');
Warnings:
Warning 1906 The value specified for computed column 'd' in table 't1' ignored
Warning 1906 The value specified for computed column 'd' in table 't1'
has been
ignored
set sql_mode='strict_all_tables';
UPDATE `test`.`t1` SET `d`='b' WHERE `a`='1' AND `b`='a' AND `c`='1' AND `d`='a';
ERROR HY000: The value specified for computed column 'd' in table 't1' ignored
ERROR HY000: The value specified for computed column 'd' in table 't1'
has been
ignored
INSERT INTO `test`.`t1`(`a`,`b`,`c`,`d`) VALUES ( '1','a',NULL,'a');
ERROR HY000: The value specified for computed column 'd' in table 't1' ignored
ERROR HY000: The value specified for computed column 'd' in table 't1'
has been
ignored
drop table t1;
#
# MDEV-5611: self-referencing virtual column
...
...
mysql-test/suite/vcol/r/vcol_select_myisam.result
View file @
c61e8a65
...
...
@@ -273,9 +273,9 @@ INSERT INTO t1 VALUES (NULL),( 78), (185), (0), (154);
CREATE TABLE t2 (a int, b int AS (a) VIRTUAL);
INSERT INTO t2 VALUES (187,187), (9,9), (187,187);
Warnings:
Warning 1906 The value specified for computed column 'b' in table 't2' ignored
Warning 1906 The value specified for computed column 'b' in table 't2' ignored
Warning 1906 The value specified for computed column 'b' in table 't2' ignored
Warning 1906 The value specified for computed column 'b' in table 't2'
has been
ignored
Warning 1906 The value specified for computed column 'b' in table 't2'
has been
ignored
Warning 1906 The value specified for computed column 'b' in table 't2'
has been
ignored
EXPLAIN EXTENDED
SELECT * FROM t1 JOIN t2 USING (b);
id select_type table type possible_keys key key_len ref rows filtered Extra
...
...
sql/share/errmsg-utf8.txt
View file @
c61e8a65
...
...
@@ -6511,7 +6511,7 @@ ER_KEY_BASED_ON_GENERATED_VIRTUAL_COLUMN
ER_WRONG_FK_OPTION_FOR_VIRTUAL_COLUMN
eng "Cannot define foreign key with %s clause on a computed column"
ER_WARNING_NON_DEFAULT_VALUE_FOR_VIRTUAL_COLUMN
eng "The value specified for computed column '%s' in table '%s' ignored"
eng "The value specified for computed column '%s' in table '%s'
has been
ignored"
ER_UNSUPPORTED_ACTION_ON_VIRTUAL_COLUMN
eng "This is not yet supported for computed columns"
ER_CONST_EXPR_IN_VCOL
...
...
storage/innobase/mysql-test/storage_engine/vcol.rdiff
View file @
c61e8a65
...
...
@@ -10,8 +10,8 @@
-INSERT INTO t1 (a) VALUES (1),(2);
-INSERT INTO t1 (a,b) VALUES (3,3),(4,4);
-Warnings:
-Warning 1906 The value specified for computed column 'b' in table 't1' ignored
-Warning 1906 The value specified for computed column 'b' in table 't1' ignored
-Warning 1906 The value specified for computed column 'b' in table 't1'
has been
ignored
-Warning 1906 The value specified for computed column 'b' in table 't1'
has been
ignored
-SELECT a,b FROM t1;
-a b
-1 2
...
...
@@ -27,8 +27,8 @@
-INSERT INTO t1 (a) VALUES (1),(2);
-INSERT INTO t1 (a,b) VALUES (3,3),(4,4);
-Warnings:
-Warning 1906 The value specified for computed column 'b' in table 't1' ignored
-Warning 1906 The value specified for computed column 'b' in table 't1' ignored
-Warning 1906 The value specified for computed column 'b' in table 't1'
has been
ignored
-Warning 1906 The value specified for computed column 'b' in table 't1'
has been
ignored
-SELECT a,b FROM t1;
-a b
-1 2
...
...
@@ -44,8 +44,8 @@
-INSERT INTO t1 (a) VALUES (1),(2);
-INSERT INTO t1 (a,b) VALUES (3,3),(4,4);
-Warnings:
-Warning 1906 The value specified for computed column 'b' in table 't1' ignored
-Warning 1906 The value specified for computed column 'b' in table 't1' ignored
-Warning 1906 The value specified for computed column 'b' in table 't1'
has been
ignored
-Warning 1906 The value specified for computed column 'b' in table 't1'
has been
ignored
-SELECT a,b FROM t1;
-a b
-1 2
...
...
@@ -61,8 +61,8 @@
-INSERT INTO t1 (a) VALUES (1),(2);
-INSERT INTO t1 (a,b) VALUES (3,3),(4,4);
-Warnings:
-Warning 1906 The value specified for computed column 'b' in table 't1' ignored
-Warning 1906 The value specified for computed column 'b' in table 't1' ignored
-Warning 1906 The value specified for computed column 'b' in table 't1'
has been
ignored
-Warning 1906 The value specified for computed column 'b' in table 't1'
has been
ignored
-SELECT a,b FROM t1;
-a b
-1 2
...
...
storage/myisammrg/mysql-test/storage_engine/vcol.rdiff
View file @
c61e8a65
...
...
@@ -10,8 +10,8 @@
-INSERT INTO t1 (a) VALUES (1),(2);
-INSERT INTO t1 (a,b) VALUES (3,3),(4,4);
-Warnings:
-Warning 1906 The value specified for computed column 'b' in table 't1' ignored
-Warning 1906 The value specified for computed column 'b' in table 't1' ignored
-Warning 1906 The value specified for computed column 'b' in table 't1'
has been
ignored
-Warning 1906 The value specified for computed column 'b' in table 't1'
has been
ignored
-SELECT a,b FROM t1;
-a b
-1 2
...
...
@@ -27,8 +27,8 @@
-INSERT INTO t1 (a) VALUES (1),(2);
-INSERT INTO t1 (a,b) VALUES (3,3),(4,4);
-Warnings:
-Warning 1906 The value specified for computed column 'b' in table 't1' ignored
-Warning 1906 The value specified for computed column 'b' in table 't1' ignored
-Warning 1906 The value specified for computed column 'b' in table 't1'
has been
ignored
-Warning 1906 The value specified for computed column 'b' in table 't1'
has been
ignored
-SELECT a,b FROM t1;
-a b
-1 2
...
...
@@ -44,8 +44,8 @@
-INSERT INTO t1 (a) VALUES (1),(2);
-INSERT INTO t1 (a,b) VALUES (3,3),(4,4);
-Warnings:
-Warning 1906 The value specified for computed column 'b' in table 't1' ignored
-Warning 1906 The value specified for computed column 'b' in table 't1' ignored
-Warning 1906 The value specified for computed column 'b' in table 't1'
has been
ignored
-Warning 1906 The value specified for computed column 'b' in table 't1'
has been
ignored
-SELECT a,b FROM t1;
-a b
-1 2
...
...
@@ -61,8 +61,8 @@
-INSERT INTO t1 (a) VALUES (1),(2);
-INSERT INTO t1 (a,b) VALUES (3,3),(4,4);
-Warnings:
-Warning 1906 The value specified for computed column 'b' in table 't1' ignored
-Warning 1906 The value specified for computed column 'b' in table 't1' ignored
-Warning 1906 The value specified for computed column 'b' in table 't1'
has been
ignored
-Warning 1906 The value specified for computed column 'b' in table 't1'
has been
ignored
-SELECT a,b FROM t1;
-a b
-1 2
...
...
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