mariadb/mysql-test/suite/maria/r
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
..
maria-autozerofill.result Maria tests moved to separate suite. The suite made default for execution. 2008-10-01 15:13:39 +03:00
maria-big.result Maria tests moved to separate suite. The suite made default for execution. 2008-10-01 15:13:39 +03:00
maria-big2.result Maria tests moved to separate suite. The suite made default for execution. 2008-10-01 15:13:39 +03:00
maria-connect.result Maria tests moved to separate suite. The suite made default for execution. 2008-10-01 15:13:39 +03:00
maria-gis-rtree-dynamic.result Maria tests moved to separate suite. The suite made default for execution. 2008-10-01 15:13:39 +03:00
maria-gis-rtree-trans.result Maria tests moved to separate suite. The suite made default for execution. 2008-10-01 15:13:39 +03:00
maria-gis-rtree.result Maria tests moved to separate suite. The suite made default for execution. 2008-10-01 15:13:39 +03:00
maria-mvcc.result Maria tests moved to separate suite. The suite made default for execution. 2008-10-01 15:13:39 +03:00
maria-no-logging.result Maria tests moved to separate suite. The suite made default for execution. 2008-10-01 15:13:39 +03:00
maria-page-checksum.result Maria tests moved to separate suite. The suite made default for execution. 2008-10-01 15:13:39 +03:00
maria-partitioning.result Adde new tests for maria and partitioning 2008-12-22 02:19:43 +02:00
maria-preload.result Merge of 5.1-main into 5.1-maria. There were no changes to storage/myisam, mysys/mf_keycache.c, mysql-test/t/*myisam* 2008-12-10 10:02:25 +01:00
maria-purge.result Maria tests moved to separate suite. The suite made default for execution. 2008-10-01 15:13:39 +03:00
maria-recover.result Maria tests moved to separate suite. The suite made default for execution. 2008-10-01 15:13:39 +03:00
maria-recovery-big.result Maria tests moved to separate suite. The suite made default for execution. 2008-10-01 15:13:39 +03:00
maria-recovery-bitmap.result Maria tests moved to separate suite. The suite made default for execution. 2008-10-01 15:13:39 +03:00
maria-recovery-rtree-ft.result Maria tests moved to separate suite. The suite made default for execution. 2008-10-01 15:13:39 +03:00
maria-recovery.result Maria tests moved to separate suite. The suite made default for execution. 2008-10-01 15:13:39 +03:00
maria-recovery2.result Maria tests moved to separate suite. The suite made default for execution. 2008-10-01 15:13:39 +03:00
maria-recovery3.result Fix for BUG#41037 "Maria: recovery failure (pushbuild2)" (checkpoint bug). 2008-12-05 22:11:46 +01:00
maria.result Fixed bugs found by pushbuild 2008-12-27 04:05:16 +02:00
maria2.result Maria tests moved to separate suite. The suite made default for execution. 2008-10-01 15:13:39 +03:00
maria3.result Fix for BUG#39697 "Maria: hang when failing to insert due to UNIQUE (seen in pushbuild2 too)" 2008-10-09 22:03:54 +02:00
maria_notembedded.result Fix for BUG#40661 "Maria: crash in embedded server (when detecting deadlock?)" 2008-11-27 16:13:02 +01:00
maria_partition.result Small fixes for pushbuild: compiler warnings, checking that partitioning is enabled when testing it. 2008-10-15 14:44:31 +02:00
maria_showlog_error.result Do not use MY_WME in the stat call which errors we process on high level. 2008-12-01 15:21:37 +02:00
ps_maria.result Merged 5.1 maria with 5.1 maria team tree. Automerge. 2008-10-11 11:27:03 +03:00