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 developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to