[Mahara-contributors] [Bug 1827445] Re: Improve efficiency when checking if a table field exists

2019-10-30 Thread Cecilia Vela Gurovic
** Changed in: mahara Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org

[Mahara-contributors] [Bug 1827445] Re: Improve efficiency when checking if a table field exists

2019-09-22 Thread Kristina Hoeppner
To test the latest patch (see comment 6): On a new instance, go to Admin menu -> Institutions -> Settings Expected result: You see a list of institutions. Actual result: You see the error message. -- You received this bug notification because you are a member of Mahara Contributors, which is

[Mahara-contributors] [Bug 1827445] Re: Improve efficiency when checking if a table field exists

2019-09-19 Thread Cecilia Vela Gurovic
** Changed in: mahara Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org

[Mahara-contributors] [Bug 1827445] Re: Improve efficiency when checking if a table field exists

2019-05-03 Thread Kristina Hoeppner
** This bug is no longer a duplicate of bug 1827390 Latency smarty header_logo_small - IMPORTANT -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask

[Mahara-contributors] [Bug 1827445] Re: Improve efficiency when checking if a table field exists

2019-05-02 Thread Robert Lyon
*** This bug is a duplicate of bug 1827390 *** https://bugs.launchpad.net/bugs/1827390 ** This bug has been marked a duplicate of bug 1827390 Latency smarty header_logo_small - IMPORTANT -- You received this bug notification because you are a member of Mahara Contributors, which is

[Mahara-contributors] [Bug 1827445] Re: Improve efficiency when checking if a table field exists

2019-05-02 Thread Robert Lyon
Ok, have made patch https://reviews.mahara.org/#/c/9950/ And tested in the following way: // Old way $stime = time(); log_debug('start: ' . $stime); for ($i = 1; $i <= 1; $i++) { require_once('ddl.php'); $table = new XMLDBTable('view_access'); $field =

[Mahara-contributors] [Bug 1827445] Re: Improve efficiency when checking if a table field exists

2019-05-02 Thread Robert Lyon
** Description changed: When upgrading we use a field_exists() check to see if a table has a certain column or not which is fine there as upgrade chunks are a one- time execution run when users are all logged out. However we have begun to use field_exists() within other parts of the