ROLLBACK

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Frank Natoli

    #1

    ROLLBACK

    Any reason to suspect that ROLLBACK is not working for MySQL v4.1.10a?

    Have reduced code to a very simple test, START TRANSACTION followed by
    INSERT followed by ROLLBACK, but the INSERT remains.

    Tried substituting SET AUTOCOMMIT=0 for START TRANSACTION, no effect, no
    error.

    Thanks.


  • Frank Natoli

    #2
    Re: ROLLBACK

    Must also note that tables are type MyISAM, which some information on the
    web appears to indicate are "non-transactional" and always operate in
    "autocommit =1" mode. Is this true?

    "Frank Natoli" <franknatoli@wo rldnet.att.net. nospam> wrote in message
    news:RpMee.4902 $7F4.3378@newsr ead2.news.atl.e arthlink.net...
    Any reason to suspect that ROLLBACK is not working for MySQL v4.1.10a?

    Have reduced code to a very simple test, START TRANSACTION followed by
    INSERT followed by ROLLBACK, but the INSERT remains.

    Tried substituting SET AUTOCOMMIT=0 for START TRANSACTION, no effect, no
    error.

    Thanks.



    Comment

    • Bill Karwin

      #3
      Re: ROLLBACK

      Frank Natoli wrote:[color=blue]
      > Must also note that tables are type MyISAM, which some information on the
      > web appears to indicate are "non-transactional" and always operate in
      > "autocommit =1" mode. Is this true?[/color]

      Yes, this is true.

      Transaction statements have meaning only when you're using InnoDB tables
      or BDB tables.

      See http://dev.mysql.com/doc/mysql/en/storage-engines.html

      Regards,
      Bill K.

      Comment

      Working...