Below is the list of changes that have just been committed into a local
5.1 repository of gkodinov. When gkodinov does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html
ChangeSet@stripped, 2006-09-29 15:10:20+02:00, gkodinov@stripped +2 -0
merge fixes
mysql-test/t/view.test@stripped, 2006-09-29 15:09:52+02:00, gkodinov@stripped +10 -10
moved the new error message last
sql/share/errmsg.txt@stripped, 2006-09-29 15:09:52+02:00, gkodinov@stripped +2 -2
moved the new error message last
# This is a BitKeeper patch. What follows are the unified diffs for the
# set of deltas contained in the patch. The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User: gkodinov
# Host: dl145s.mysql.com
# Root: /data/bk/team_tree_merge/MERGE/mysql-5.1-opt
--- 1.126/sql/share/errmsg.txt 2006-09-29 15:10:29 +02:00
+++ 1.127/sql/share/errmsg.txt 2006-09-29 15:10:29 +02:00
@@ -5986,10 +5986,10 @@
eng "host name"
ER_WRONG_STRING_LENGTH
eng "String '%-.70s' is too long for %s (should be no longer than %d)"
-ER_NON_INSERTABLE_TABLE
- eng "The target table %-.100s of the %s is not insertable-into"
ER_UNSUPORTED_LOG_ENGINE
eng "This storage engine cannot be used for log tables""
ER_BAD_LOG_STATEMENT
eng "You cannot '%s' a log table if logging is enabled"
+ER_NON_INSERTABLE_TABLE
+ eng "The target table %-.100s of the %s is not insertable-into"
--- 1.164/mysql-test/t/view.test 2006-09-29 15:10:29 +02:00
+++ 1.165/mysql-test/t/view.test 2006-09-29 15:10:29 +02:00
@@ -347,13 +347,13 @@
create view v4 (x,y,z) as select c+1, b, a from t1;
create algorithm=temptable view v5 (x,y,z) as select c, b, a from t1;
# try insert to VIEW with fields duplicate
--- error 1471
+-- error 1573
insert into v3 values (-60,4,30);
# try insert to VIEW with expression in SELECT list
--- error 1471
+-- error 1573
insert into v4 values (-60,4,30);
# try insert to VIEW using temporary table algorithm
--- error 1471
+-- error 1573
insert into v5 values (-60,4,30);
insert into v1 values (-60,4,30);
insert into v1 (z,y,x) values (50,6,-100);
@@ -375,13 +375,13 @@
create view v4 (x,y,z) as select c+1, b, a from t1;
create algorithm=temptable view v5 (x,y,z) as select c, b, a from t1;
# try insert to VIEW with fields duplicate
--- error 1471
+-- error 1573
insert into v3 select c, b, a from t2;
# try insert to VIEW with expression in SELECT list
--- error 1471
+-- error 1573
insert into v4 select c, b, a from t2;
# try insert to VIEW using temporary table algorithm
--- error 1471
+-- error 1573
insert into v5 select c, b, a from t2;
insert into v1 select c, b, a from t2;
insert into v1 (z,y,x) select a+20,b+2,-100 from t2;
@@ -1249,14 +1249,14 @@
#
create table t1 (s1 smallint);
create view v1 as select * from t1 where 20 < (select (s1) from t1);
--- error 1471
+-- error 1573
insert into v1 values (30);
create view v2 as select * from t1;
create view v3 as select * from t1 where 20 < (select (s1) from v2);
--- error 1471
+-- error 1573
insert into v3 values (30);
create view v4 as select * from v2 where 20 < (select (s1) from t1);
--- error 1471
+-- error 1573
insert into v4 values (30);
drop view v4, v3, v2, v1;
drop table t1;
@@ -2861,7 +2861,7 @@
#
create table t1 (s1 int);
create view v1 as select s1 as a, s1 as b from t1;
---error 1471
+--error 1573
insert into v1 values (1,1);
update v1 set a = 5;
drop view v1;
| Thread |
|---|
| • bk commit into 5.1 tree (gkodinov:1.2332) | gkodinov | 29 Sep |