mariadb/storage/ndb
unknown 7968c44c0e Bug #19148 Backup causes cluster down if _really_ early abort happens
Early abort, failing to allocate buffers, would go down the abort track and
 end up trying to sendDropTriggers (as the standard stop backup does). 
However, it is possible to not have any tables yet defined in the backup 
(due to allocating buffers is before this). Simple check in sendDropTrig 
(and continue to next step). Files may be open, so we continue to close them.

Also updated ERROR_Codes (and added one to test this bug).


storage/ndb/src/kernel/blocks/ERROR_codes.txt:
  update BACKUP error insert codes to reflect current reality.
storage/ndb/src/kernel/blocks/backup/Backup.cpp:
  Allow for early abort when no tables have been included in backup.
  
  Allow for abort when file records have been seized but not yet allocated
  to specific uses (is the case when buffer allocation fails)
storage/ndb/src/kernel/blocks/backup/Backup.hpp:
  initialize BackupRecord file Ptrs
storage/ndb/test/src/NdbBackup.cpp:
  Add extra failure codes for buffer allocation failure in backup
2006-10-18 18:19:16 +10:00
..
bin Changes to create storage directory for storage engines. 2005-04-26 18:19:54 -07:00
config Many files: 2006-08-21 15:34:29 +02:00
demos Changes to create storage directory for storage engines. 2005-04-26 18:19:54 -07:00
docs Merge a193-229-222-105.elisa-laajakaista.fi:/home/my/bk/mysql-5.0 2005-11-23 14:57:00 +02:00
include Merge perch.ndb.mysql.com:/home/jonas/src/mysql-5.1 2006-10-10 11:25:24 +02:00
lib Changes to create storage directory for storage engines. 2005-04-26 18:19:54 -07:00
ndbapi-examples Fixed ndbapi-examples, and added tests for mysql-test-run.pl 2006-09-01 15:14:50 +02:00
src Bug #19148 Backup causes cluster down if _really_ early abort happens 2006-10-18 18:19:16 +10:00
test Bug #19148 Backup causes cluster down if _really_ early abort happens 2006-10-18 18:19:16 +10:00
tools Merge perch.ndb.mysql.com:/home/jonas/src/51-work 2006-10-10 15:27:47 +02:00
Makefile.am Bug#22417 2006-09-18 19:31:08 -07:00
plug.in Major changes are plug.in files created for almost all storage engines. A few stray BDB references removed. 2006-08-18 21:19:19 -07:00