• dlenev@brandersnatch.localdomain's avatar
    Fix for bug #10015 "Crash in InnoDB if stored routines are used". · 270b695f
    dlenev@brandersnatch.localdomain authored
    We should not allow explicit or implicit transaction commits inside
    of stored functions or triggers (so in autocommit mode we should not
    do commits after execution of sub-statement).
    Also since we don't support nested statement transactions in 5.0,
    we shouldn't commit or rollback stmt transactions while we are inside
    stored functions or triggers. This should be fixed in later (>=5.1)
    releases.
    270b695f
sp_trans.result 4.13 KB