1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-06 05:42:06 +03:00
Files
mariadb/mysql-test/t
Michael Widenius 910284e6e6 Fixed bugs found by pushbuild
Added code to detect and give error when doing an insert into a view where we accessed fields in a not yet read table
Disabled test in subselect.test as the CHECK_OPTION for views doesn't work for insert.
This needs to be fixed properly later.

The problem with views are described in Bug #41760 Inserting into multiple-table views is not working

mysql-test/r/insert.result:
  Fixed wrong usage of insert into view.
mysql-test/r/subselect.result:
  Disabled wrong test (temporary)
mysql-test/suite/maria/r/maria.result:
  Added test of size of table
mysql-test/suite/maria/t/maria.test:
  Added test of size of table
mysql-test/t/insert.test:
  Fixed wrong usage of insert into view
  The bug is that during insert/update we currently don't read any of the referenced tables of the view.
  This means that we can't get a value from another table to use as part of the update.
mysql-test/t/subselect.test:
  Disabled not working test until someone has time to fix insert into view properly
  Here we where refering to last used value in t2, which is wrong.
sql/sql_insert.cc:
  Detect if we are trying to update one table in a view based on value in another, not yet read, table.
  This fixes the problem discovered in insert.test
storage/maria/ma_blockrec.c:
  Don't ignore not critical changes to the last page in the table.
  We need to write the last page as otherwise we can during aborting of a row with a duplicate key get
  state.data_file_length and the real length of file out of sync
storage/maria/ma_check.c:
  Flush the page cache even if we got an error during zerofill.
  (This fixes a call to assert() in case of a too short data file)
storage/maria/ma_pagecache.c:
  Mark page as read when we do a write of a full page.
  This fixes a bug when we got an error during read and then used direct write to page to update it
storage/maria/ma_state.c:
  Restore info->lock.type after call to maria_versioning.
  Fixed crash in maria_recover.test
storage/maria/maria_read_log.c:
  Don't write thread id in debug log. (Not needed as maria_read_log is a single treaded program)
2008-12-27 04:05:16 +02:00
..
2008-07-18 15:00:45 +03:00
2008-03-17 14:26:00 +03:00
2008-02-06 17:55:04 +01:00
2008-11-21 17:32:45 +04:00
2008-11-14 13:48:01 +04:00
2008-09-05 13:36:02 +05:00
2008-12-27 04:05:16 +02:00
2008-10-06 08:37:52 -04:00
2008-09-18 11:32:54 +02:00
2008-04-30 14:49:37 +02:00
2008-10-10 18:28:41 +03:00
2008-11-14 13:48:01 +04:00
2008-07-21 11:20:03 +02:00
2008-02-25 21:18:50 +01:00
2008-02-25 21:18:50 +01:00
2008-01-25 16:05:15 -08:00
2008-04-08 20:01:20 +04:00
2008-07-03 23:41:22 +04:00
2008-12-09 12:29:33 +02:00
2008-08-15 16:42:29 -04:00
2008-09-30 10:41:30 +05:00
2008-12-27 04:05:16 +02:00
2008-10-10 18:28:41 +03:00
2008-07-15 18:43:25 +02:00
2008-07-15 18:43:25 +02:00
2008-04-08 20:01:20 +04:00
2008-08-28 12:54:50 +03:00
2008-09-09 20:52:38 +05:00
2008-11-17 19:43:10 +04:00
2008-12-09 12:29:33 +02:00
2008-06-27 20:56:41 +05:00
2008-10-17 11:49:23 +03:00