MariaDB server is a community developed fork of MySQL server. Started by core members of the original MySQL team, MariaDB actively works with outside developers to deliver the most featureful, stable, and sanely licensed open SQL server in the industry.
Find a file
unknown 9c2ff270fa WL#3072 Maria Recovery
* recovery from ha_maria now skips replaying DDLs (too dangerous)
* maria_read_log still replays DDLs, print warning about issues
* fixes to replaying of REDO_RENAME
* don't replay DDLs on corrupted tables (safer)
* print a one-line message when really doing a recovery (applies to
ha_maria, not maria_read_log) i.e. some REDOs or UNDOs are read.


storage/maria/ma_checkpoint.c:
  fix for assertion failure
storage/maria/ma_recovery.c:
  * Recovery from ha_maria now skips replaying DDLs (as the initial
  plan said) as this is unsafe in case of crashes during the DDL;
  applying the records may do harm (destroy important files)
  so we prefer to leave the "mess" of files untouched. A proper
  recovery of DDLs requires very careful thinking, probably testing
  separately the existence of the data and index file instead of
  using maria_open() which tests the existence of both, and maybe
  storing create_rename_lsn in the data file too.
  * maria_read_log still replays DDLs, we print a warning about dangers
  (due to ALTER TABLE not logging insertions into the tmp table; we
  will maybe need an option to have logging of those insertions).
  * fixes to replaying of REDO_RENAME (test create_rename_lsn of 'new_name'
  table if it exists; if that table exists and is more recent than the
  record, remove the 'old_name' table).
  * don't replay DDLs on corrupted tables (play safe)
  * fail also in non-debug builds if table is open when it should not be
  (when creating it for example, it should not be already open).
  * when the trace file is not stdout (i.e. when this is ha_maria),
  if really doing a recovery (reading REDOs or UNDOs), print a one-line
  message to stderr to inform about start and end of recovery
  (useful to know what mysqld is doing, especially if it takes long
  or crashes).
storage/maria/ma_recovery.h:
  parameter to replay DDLs or not
storage/maria/maria_read_log.c:
  replay DDLs in maria_read_log, to be able to recreate tables from
  scratch.
2007-09-15 14:45:26 +02:00
BitKeeper propagation to maria_repair_by_sort() and maria_repair_parallel() 2007-08-08 11:36:41 +02:00
BUILD Merge bk-internal.mysql.com:/home/bk/mysql-maria 2007-09-11 01:59:40 +03:00
client code of the "mysqltest --global-subst" hack made a bit less horrible. 2007-08-10 15:53:41 +02:00
cmd-line-utils
config/ac-macros
dbug
debian
Docs
extra
include Fixed some bugs when using undo of VARCHAR fields 2007-09-11 01:58:15 +03:00
libmysql Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.1 2007-07-07 18:33:43 +03:00
libmysql_r
libmysqld Merge trift2.:/MySQL/M50/push-5.0 2007-06-18 20:22:18 +02:00
man
mysql-test fix for pushbuild test failures 2007-09-12 15:10:41 +02:00
mysys Merge gbichot@bk-internal.mysql.com:/home/bk/mysql-maria 2007-08-29 17:53:54 +02:00
netware
plugin Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.1 2007-06-27 17:49:12 +03:00
pstack
regex
scripts Patch for the following bugs: 2007-06-28 21:34:54 +04:00
server-tools
sql Bugfix: --pagecache* options were ignored; with --key-cache*=# --pagecache*=#, 2007-09-13 21:05:17 +02:00
sql-bench Fixed REPAIR/CHECK/ANALYZE TABLE for tables with new BLOCK-ROW format. 2007-07-01 16:20:57 +03:00
sql-common Merge bk@192.168.21.1:mysql-5.1-opt 2007-06-29 10:51:42 +05:00
storage WL#3072 Maria Recovery 2007-09-15 14:45:26 +02:00
strings Merge mysql.com:/home/bar/mysql-work/mysql-5.0.b27345 2007-07-03 14:06:57 +05:00
support-files Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-maria 2007-07-04 12:20:53 +03:00
tests Merge bodhi.(none):/opt/local/work/mysql-5.0-runtime 2007-07-02 01:55:01 +04:00
unittest Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.1 2007-06-27 17:49:12 +03:00
vio
win
zlib
.bzrignore Added maria_commit() and maria_begin() to be used with external tests 2007-08-29 09:03:10 +03:00
.cvsignore
.tree-is-private - WL#3239 "log CREATE TABLE in Maria" 2007-06-22 14:49:37 +02:00
CMakeLists.txt
configure.in Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.1 2007-07-07 22:13:36 +03:00
COPYING
EXCEPTIONS-CLIENT
Makefile.am Merge jamppa@bk-internal.mysql.com:/home/bk/mysql-5.1 2007-06-27 17:49:12 +03:00
README

This is a release of MySQL, a dual-license SQL database server.
MySQL is brought to you by the MySQL team at MySQL AB.

License information can be found in these files:
- For GPL (free) distributions, see the COPYING file and
  the EXCEPTIONS-CLIENT file.
- For commercial distributions, see the LICENSE.mysql file.


For further information about MySQL or additional documentation, see:
- The latest information about MySQL: http://www.mysql.com
- The current MySQL documentation: http://dev.mysql.com/doc

Some manual sections of special interest:

- If you are migrating from an older version of MySQL, please read the
  "Upgrading from..." section first!
- To see what MySQL can do, take a look at the features section.
- For installation instructions, see the Installing and Upgrading chapter.
- For the new features/bugfix history, see the Change History appendix.
- For the currently known bugs/misfeatures (known errors) see the Problems
  and Common Errors appendix.
- For a list of developers and other contributors, see the Credits
  appendix.

A local copy of the MySQL Reference Manual can be found in the Docs
directory in GNU Info format.  You can also browse the manual online or
download it in any of several formats at the URL given earlier in this
file.

************************************************************

IMPORTANT:

Bug or error reports should be sent to http://bugs.mysql.com.