1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Install Transaction

Discussion in 'General XenForo Discussion and Feedback' started by ragtek, Jun 16, 2011.

  1. ragtek

    ragtek Guest

    Doesn't this transaction include own queries from the install callback??
        $db $this->_getDb();

            if (
    $addOnData['install_callback_class'] && $addOnData['install_callback_method'])
    $addOnData['install_callback_class'], $addOnData['install_callback_method']),

    $addOnDw XenForo_DataWriter::create('XenForo_DataWriter_AddOn');
    i'm creating some tables in the callback class and even the install goes wrong, they are created.
  2. Mike

    Mike XenForo Developer Staff Member

    DDLs aren't part of a transaction. Only DMLs. Just a limitation/design of MySQL/InnoDB.
  3. ragtek

    ragtek Guest

    Oh, didn't know this.

Share This Page