From: Warren Young Date: August 14 2006 1:26pm Subject: Re: Problem with DELETE List-Archive: http://lists.mysql.com/plusplus/5878 Message-Id: <44E079E9.2050104@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Muller Gael wrote: > std::cout << row["type"]; Add " << endl" or " << flush" to the end of this statement. IOStreams will buffer output otherwise, making it difficult to determine which order things actually happen in. > catch (mysqlpp::EndOfResults& er) { > //on ne fait rien > } Add a cout statement in here (again, with a flush or newline). > query.reset(); > query << "DELETE FROM actions"; > query.execute(); Add one after this, too. Do all that and try it again. It may be that things are not happening in the order you think they are.