Hey guys... based on my understand about transactions in symfony the following should not result in the data in the table been modified... however it is... any ideas as to what i am doing wrong...??
$cdb_connection = Propel::getConnection('cdb'); $cdb_connection->beginTransaction(); $statement_cdb = $cdb_connection->prepare("TRUNCATE test"); $statement_cdb->execute(); $statement_cdb = $cdb_connection->prepare("INSERT INTO test (a) VALUES (".rand(0,99999).")"); $statement_cdb->execute(); $cdb_connection->rollback(); die(__file__.__line__); -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en