From 8b2efea84b1174c38dc7cab6f99954c2846d1c21 Mon Sep 17 00:00:00 2001 From: Venkatesh Duggirala Date: Fri, 1 Mar 2013 15:01:32 +0530 Subject: BUG#11753923-SQL THREAD CRASHES ON DISK FULL Fixing post push issue Simulator name used needs to be changed to make it work properly. Analysis: Debug control list addition (ListAddDel function dbug.c file) code was written in such a way that if new element is subset of already existing element, then the new element is not added. i.e., set @@global.debug = '+d,abcd', is existing in the list then you cannot add "a" or "ab" or "abc" in the list. --- mysys/errors.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mysys/errors.c') diff --git a/mysys/errors.c b/mysys/errors.c index b518b442d6b..ddd65836b30 100644 --- a/mysys/errors.c +++ b/mysys/errors.c @@ -1,4 +1,4 @@ -/* Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved. +/* Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -117,7 +117,7 @@ void wait_for_free_space(const char *filename, int errors) MY_WAIT_FOR_USER_TO_FIX_PANIC, MY_WAIT_GIVE_USER_A_MESSAGE * MY_WAIT_FOR_USER_TO_FIX_PANIC ); } - DBUG_EXECUTE_IF("simulate_file_write_error_once", + DBUG_EXECUTE_IF("simulate_no_free_space_error", { (void) sleep(1); return; -- cgit v1.2.1