mariadb/storage
Guilhem Bichot 81d3d3ac42 - lifting a limit: INSERT|REPLACE SELECT and LOAD DATA always prevented versioning, now what do so is if
the table is empty.
- lifting another limit: versioning was disabled if table had more than one unique index
- correcting test of statement-based binlogging, when converting read locks to TL_READ_NO_INSERT

KNOWN_BUGS.txt:
  removing mostly fixed limitation (see ha_maria.cc)
mysql-test/r/maria-mvcc.result:
  result update
mysql-test/t/maria-mvcc.test:
  now when table is empty it does not do versioning, so test hung; inserting one row at start of the test,
  to enable versioning.
sql/sql_parse.cc:
  Maria team wrongly removed this "break", thanks Davi for noticing
storage/maria/ha_maria.cc:
  - We used to prevent versioning in INSERT/REPLACE SELECT and LOAD DATA, because the index rebuild done by
  bulk insert sometimes, is unsafe when versioning is on. Here we change that: in store_lock(), if the table is empty
  (which is required for index rebuild to be used), we disable versioning; in start_bulk_insert(), we don't do
  index rebuild if versioning is enabled.
  - Test for statement-based binlogging was incomplete: statement-based binlogging is on for this statement
  if binlog is open and statement has binlogging enabled and statement is not doing row-based binlogging
storage/maria/ma_open.c:
  Monty and I agreed that it's ok to have versioning on a table with more than one unique index: if an INSERT
  hits a duplicate key when inserting the second index' key, no other thread should be able to touch the 
  first index' just-inserted key, because that key has an uncommitted transaction id, so the first thread
  should have time to remove the first index' key.
2008-07-09 14:07:38 +02:00
..
archive Merge bk-internal.mysql.com:/home/bk/mysql-maria 2008-05-29 21:39:25 +03:00
blackhole Merge mysql1000.(none):/home/andrei/MySQL/MERGE/5.0-main2rpl 2008-03-29 15:00:12 +02:00
csv Merge bk-internal.mysql.com:/home/bk/mysql-maria 2008-05-29 21:39:25 +03:00
example Merge trift2.:/MySQL/M51/mysql-5.1 2008-03-14 14:41:08 +01:00
federated Merge bk-internal.mysql.com:/home/bk/mysql-maria 2008-05-29 21:39:25 +03:00
heap Added versioning of Maria index 2008-06-26 08:18:28 +03:00
innobase Merge debian.(none):/MySQL/M51/mysql-5.1 2008-03-28 17:07:56 +02:00
maria - lifting a limit: INSERT|REPLACE SELECT and LOAD DATA always prevented versioning, now what do so is if 2008-07-09 14:07:38 +02:00
myisam Fix for Bug #37007 Maria: different checksum for MyISAM table depending on CHECKSUM=0|1 2008-06-28 15:45:15 +03:00
myisammrg Merge mysql.com:/home/my/mysql-5.1 2008-04-28 19:24:05 +03:00
ndb Merge trift2.:/MySQL/M51/ndb-decl-5.1 2008-03-27 13:20:24 +01:00
Makefile.am fixes for make distclean, solaris, macosx, windows 2007-12-13 13:28:35 +01:00