Muller Gael wrote:
Quote:
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.
Quote:
catch (mysqlpp::EndOfResults& er) {
//on ne fait rien
} |
Add a cout statement in here (again, with a flush or newline).
Quote:
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.
--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw