Reviewed:  https://reviews.mahara.org/640
Committed: 
http://gitorious.org/mahara/mahara/commit/417077459037550239fe9b09bd20b50d4c19b57f
Submitter: Francois Marier ([email protected])
Branch:    master

commit 417077459037550239fe9b09bd20b50d4c19b57f
Author: Penny Leach <[email protected]>
Date:   Sun Aug 23 14:54:23 2009 +0200

    Bug #841711: ADODB modification: add __wakeup to connection object
    
    This reconnects to the db after wakeup, as resource types cannot be
    serialized and unserialized.
    
    This is necessary for unit tests, phpunit backups and restore globals
    between each test.
    
    Change-Id: I160b4c68ac1db0c3c0a3e1aec1b0dc8584763bf9
    Signed-off-by: Penny Leach <[email protected]>
    Signed-off-by: Andrew Robert Nicols <[email protected]>

-- 
You received this bug notification because you are a member of Mahara
Core, which is subscribed to Mahara.
https://bugs.launchpad.net/bugs/841711

Title:
  Add wakeup support to adodb

Status in Mahara ePortfolio:
  In Progress

Bug description:
  For phpunit testing, we need to reconnect to the database between unit
  tests because phpunit backs up and restores globals between tests.

  Bit of a pain to deviate (once again) from the adodb distribution but
  this is only required for the unit tests so packaging (e.g. debian)
  can probably ignore this change and use stock adodb

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/841711/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~mahara-core
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~mahara-core
More help   : https://help.launchpad.net/ListHelp

Reply via email to