/ Published in: MySQL
You could start a transaction before running your queries and then rollback after running them. Note that to do this you'll require InnoDB or XtraDb tables (won't work on MyISAM).
Expand |
Embed | Plain Text
URL: http://stackoverflow.com/questions/7581584/simulate-mysql-queries