1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-27 01:57:48 +03:00
Michael Widenius d77e3cde5f When one does a drop table, the indexes are not flushed to disk before drop anymore (with MyISAM/Maria)
myisam-recover options changed from OFF to 'DEFAULT' to get less change of data loss when using MyISAM.
(The disadvantage is that changed MyISAM tables will be checked at access time; Use --myisam-recover=OFF for old behavior)
Don't call extra(HA_EXTRA_FORCE_REOPEN) in ALTER TABLE if table is locked as this will mark table as crashed!
Added assert to detect if we accidently would use MyISAM versioning in MySQL

include/my_base.h:
  Mark NOT_USED as USED, as we now use this as a flag to not call extra()
mysql-test/mysql-test-run.pl:
  Don't write all options when there is something wrong with the arguments
mysql-test/r/sp-destruct.result:
  Add missing flush of mysql.proc (as the test copied live tables)
mysql-test/r/variables.result:
  myisam-recover options changed to 'default'
mysql-test/r/view.result:
  Don't show create time in result
mysql-test/suite/maria/t/maria-recovery2-master.opt:
  Don't run test with myisam-recover (as this produces extra warnings during simulated death)
mysql-test/t/sp-destruct.test:
  Add missing flush of mysql.proc (as the test copied live tables)
mysql-test/t/view.test:
  Don't show create time in result
sql/lock.cc:
  Added marker if table was deleted to argument list
sql/mysql_priv.h:
  Added marker if table was deleted to argument list
sql/mysqld.cc:
  myisam-recover options changed from OFF to 'DEFAULT' to get less change of data loss when using MyISAM
  Allow one to specify OFF as argument to myisam-recover (was default before but one couldn't specify it)
sql/sql_base.cc:
  Mark if table is going to be deleted
sql/sql_delete.cc:
  Mark if table is going to be deleted
sql/sql_table.cc:
  Mark if table is going to be deleted
  Don't call extra(HA_EXTRA_FORCE_REOPEN) in ALTER TABLE if table is locked as this will mark table as crashed!
sql/table.cc:
  Signal to handler if table is getting deleted as part of getting droped from table cache.
sql/table.h:
  Added marker if table is going to be deleted.
storage/maria/ha_maria.cc:
  Don't search for transaction handler if file is not transactional or outside of transaction
  (Fixed possible core dump)
storage/maria/ma_blockrec.c:
  Don't write changed information if table is going to be deleted.
storage/maria/ma_close.c:
  Don't write changed information if table is going to be deleted.
storage/maria/ma_extra.c:
  Mark tables that are deleted as crased, to ensure good behavior on restart if we suddenly crash.
storage/maria/ma_locking.c:
  Cleanup
storage/maria/ma_recovery.c:
  We need trnman to be inited during redo phase (to be able to open tables checked with maria_chk)
storage/maria/maria_def.h:
  Added marker if table is going to be deleted.
storage/myisam/mi_close.c:
  Don't write changed information if table is going to be deleted.
storage/myisam/mi_extra.c:
  Mark tables that are deleted as crased, to ensure good behavior on restart if we suddenly crash.
storage/myisam/mi_open.c:
  Added assert to detect if we accidently would use MyISAM versioning in MySQL
storage/myisam/myisamdef.h:
  Added marker if table is going to be deleted.
2010-02-10 21:06:24 +02:00
..
2009-09-29 17:38:40 +02:00
2009-09-08 00:50:10 +04:00
2010-01-15 17:27:55 +02:00
2010-01-15 17:27:55 +02:00
2010-01-06 23:27:53 +02:00
2010-01-14 18:51:00 +02:00
2010-01-15 17:27:55 +02:00
2010-01-15 17:27:55 +02:00
2010-01-15 17:27:55 +02:00
2010-01-15 17:27:55 +02:00
2010-01-15 17:27:55 +02:00
2010-01-15 17:27:55 +02:00
2009-09-08 00:50:10 +04:00
2010-01-15 17:27:55 +02:00
2010-01-15 17:27:55 +02:00
2010-01-15 17:27:55 +02:00
2010-01-15 17:27:55 +02:00
2010-01-15 17:27:55 +02:00
2009-02-07 16:50:31 +01:00
2010-01-15 17:27:55 +02:00
2010-01-15 17:27:55 +02:00
2009-09-08 00:50:10 +04:00
2010-01-15 17:27:55 +02:00
2010-01-15 17:27:55 +02:00
2010-01-15 17:27:55 +02:00
2008-11-22 01:10:38 +01:00
2008-11-22 01:10:38 +01:00
2010-01-15 17:27:55 +02:00
2009-09-02 12:40:18 +04:00
2009-09-08 00:50:10 +04:00
2009-09-08 00:50:10 +04:00
2009-09-08 00:50:10 +04:00
2010-01-15 17:27:55 +02:00
2009-05-19 12:28:05 +03:00
2010-01-14 18:32:41 +02:00
2010-01-15 17:27:55 +02:00
2010-01-15 17:27:55 +02:00
2009-04-29 07:59:10 +05:00
2009-04-29 07:59:10 +05:00
2008-01-23 13:26:41 -07:00
2009-06-17 16:56:44 +02:00
2010-01-15 17:27:55 +02:00
2009-06-17 16:56:44 +02:00
2009-08-13 02:34:21 +04:00
2010-01-15 17:27:55 +02:00
2009-09-08 00:50:10 +04:00
2009-09-08 00:50:10 +04:00
2008-12-10 18:16:21 +04:00
2009-09-17 17:25:52 +02:00
2009-06-17 16:56:44 +02:00
2010-01-15 17:27:55 +02:00
2010-01-15 17:27:55 +02:00
2010-01-15 17:27:55 +02:00
2010-01-15 17:27:55 +02:00
2010-01-15 17:27:55 +02:00
2009-10-13 19:57:36 +03:00
2009-09-08 00:50:10 +04:00
2009-01-14 18:50:51 +04:00
2009-09-08 00:50:10 +04:00
2009-11-03 20:45:52 +03:00
2009-06-29 16:00:47 +02:00
2009-06-17 16:56:44 +02:00
2009-06-17 16:56:44 +02:00
2009-09-08 00:50:10 +04:00