Below is the list of changes that have just been committed into a local
5.0 repository of bell. When bell 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
1.1938 05/07/15 01:29:37 bell@stripped +2 -0
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-5.0
into sanja.is.com.ua:/home/bell/mysql/bk/work-bug4-5.0
mysql-test/t/view.test
1.86 05/07/15 01:29:32 bell@stripped +0 -0
Auto merged
mysql-test/r/view.result
1.91 05/07/15 01:29:32 bell@stripped +0 -0
Auto merged
# 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: bell
# Host: sanja.is.com.ua
# Root: /home/bell/mysql/bk/work-bug4-5.0/RESYNC
--- 1.90/mysql-test/r/view.result 2005-07-13 23:20:37 +03:00
+++ 1.91/mysql-test/r/view.result 2005-07-15 01:29:32 +03:00
@@ -1977,3 +1977,17 @@
B
DROP VIEW v1;
DROP TABLE t1;
+CREATE TABLE t1 ( bug_table_seq INTEGER NOT NULL);
+CREATE OR REPLACE VIEW v1 AS SELECT * from t1;
+DROP PROCEDURE IF EXISTS p1;
+Warnings:
+Note 1305 PROCEDURE p1 does not exist
+CREATE PROCEDURE p1 ( )
+BEGIN
+DO (SELECT @next := IFNULL(max(bug_table_seq),0) + 1 FROM v1);
+INSERT INTO t1 VALUES (1);
+END //
+CALL p1();
+DROP PROCEDURE p1;
+DROP VIEW v1;
+DROP TABLE t1;
--- 1.85/mysql-test/t/view.test 2005-07-13 23:20:37 +03:00
+++ 1.86/mysql-test/t/view.test 2005-07-15 01:29:32 +03:00
@@ -1804,7 +1804,6 @@
#
# Test for bug #11771: wrong query_id in SELECT * FROM <view>
#
-
CREATE TABLE t1 (f1 char) ENGINE = innodb;
INSERT INTO t1 VALUES ('A');
CREATE VIEW v1 AS SELECT * FROM t1;
@@ -1813,5 +1812,23 @@
SELECT * FROM v1;
SELECT * FROM t1;
+DROP VIEW v1;
+DROP TABLE t1;
+
+#
+# opening table in correct locking mode (BUG#9597)
+#
+CREATE TABLE t1 ( bug_table_seq INTEGER NOT NULL);
+CREATE OR REPLACE VIEW v1 AS SELECT * from t1;
+DROP PROCEDURE IF EXISTS p1;
+delimiter //;
+CREATE PROCEDURE p1 ( )
+BEGIN
+ DO (SELECT @next := IFNULL(max(bug_table_seq),0) + 1 FROM v1);
+ INSERT INTO t1 VALUES (1);
+END //
+delimiter ;//
+CALL p1();
+DROP PROCEDURE p1;
DROP VIEW v1;
DROP TABLE t1;
| Thread |
|---|
| • bk commit into 5.0 tree (bell:1.1938) | sanja | 15 Jul |