From: Guilhem Bichot Date: November 24 2008 2:24pm Subject: bzr commit into MySQL/Maria:mysql-maria branch (guilhem:2705) List-Archive: http://lists.mysql.com/maria/307 Message-Id: <20081124142400.CCB631EFD6@gbichot4.local> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit #At bzr+ssh://bk-internal.mysql.com/bzrroot/server/mysql-maria/ based on revid:guilhem@stripped 2705 Guilhem Bichot 2008-11-24 In pushbuild2 when testing Maria's recovery, it can happen that a page was not entirely written (i.e. file's size % 8192 != 0). Don't assert on this, Recovery is supposed to fix it. modified: storage/maria/ma_recovery.c per-file messages: storage/maria/ma_recovery.c In pushbuild2 when testing Maria's recovery, it can happen that a page was not entirely written (i.e. file's size % 8192 != 0). Don't assert on this, Recovery is supposed to fix it. === modified file 'storage/maria/ma_recovery.c' --- a/storage/maria/ma_recovery.c 2008-11-24 07:48:21 +0000 +++ b/storage/maria/ma_recovery.c 2008-11-24 14:23:48 +0000 @@ -171,7 +171,8 @@ int maria_recover_error_handler_hook(uin return (*save_error_handler_hook)(error, str, flags); } -#define ALERT_USER() DBUG_ASSERT(0) +/* Define this if you want gdb to break in some interesting situations */ +#define ALERT_USER() static void print_preamble() {