SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot
    Join Date
    Dec 2004
    Location
    Canada
    Posts
    162
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    MDB2 transactions

    I am attempting to use the transaction functionality of MDB2. I'm using MySQL 5.0.22, default storage engine is InnoDB, but $mdb2->supports('transactions') returns false. Is this correct?

  2. #2
    Follow Me On Twitter: @djg gold trophysilver trophybronze trophy Dan Grossman's Avatar
    Join Date
    Aug 2000
    Location
    Philadephia, PA
    Posts
    20,580
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I have never used MDB2, but it would seem impossible for it to know if the database it's connected to supports transactions. The storage engine in MySQL is set per table, so a database abstraction package would need to inspect every table it might query against to know if it's really safe to use transactions.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •