1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-28 13:01:41 +03:00
unknown 38b7ede9c6 BUG#5390 - problems with merge tables
Problem #1: INSERT...SELECT
INSERT ... SELECT with the same table on both sides (hidden
below a MERGE table) does now work by buffering the select result.
The duplicate detection works now after open_and_lock_tables() 
on the locks.
I did not find a test case that failed without the change in
sql_update.cc. I made the change anyway as it should in theory
fix a possible MERGE table problem with multi-table update.


mysql-test/r/create.result:
  BUG#5390 - problems with merge tables
  Removed a duplicate test.
mysql-test/r/merge.result:
  BUG#5390 - problems with merge tables
  Problem #1: INSERT...SELECT
  Added test results.
mysql-test/t/create.test:
  BUG#5390 - problems with merge tables
  Removed a duplicate test.
mysql-test/t/merge.test:
  BUG#5390 - problems with merge tables
  Problem #1: INSERT...SELECT
  Added tests.
sql/lock.cc:
  BUG#5390 - problems with merge tables
  Problem #1: INSERT...SELECT
  Added a new function to find a duplicate lock in a list of tables.
sql/mysql_priv.h:
  BUG#5390 - problems with merge tables
  Problem #1: INSERT...SELECT
  Added a declaration for the new function.
sql/sql_parse.cc:
  BUG#5390 - problems with merge tables
  Problem #1: INSERT...SELECT
  Changed the duplicate tables detection for INSERT ... SELECT
  to use the new function, which does also work for MERGE tables.
sql/sql_update.cc:
  BUG#5390 - problems with merge tables
  Changed the duplicate tables detection for UPDATE
  to use the new function, which does also work for MERGE tables.
2005-11-29 19:17:39 +01:00
..
2005-05-07 15:11:31 +02:00
2004-06-25 12:59:47 +02:00
2003-04-23 21:52:16 +03:00
2003-12-30 13:14:21 +02:00
2003-12-30 13:14:21 +02:00
2003-12-30 13:14:21 +02:00
2005-03-03 21:13:33 +01:00
2003-12-30 13:14:21 +02:00
2003-12-30 13:14:21 +02:00
2003-12-30 13:14:21 +02:00
2004-11-26 02:31:22 +02:00
2004-11-26 02:31:22 +02:00
2003-08-20 16:25:44 +03:00
2005-10-13 17:41:55 +03:00
2004-12-11 19:59:09 +03:00
2003-12-16 13:20:17 +02:00
2005-11-29 19:17:39 +01:00
2004-03-25 22:05:09 +02:00
2004-08-11 23:24:36 +01:00
2005-08-29 12:08:04 -05:00
2005-07-26 17:55:58 +03:00
2003-12-30 13:14:21 +02:00
2005-06-03 11:16:37 +02:00
2003-04-23 21:52:16 +03:00
2004-12-11 15:51:52 +03:00
2003-12-02 21:05:40 +03:00
2005-05-14 17:08:43 +03:00
2003-10-29 14:23:35 +01:00