Issue Details (XML | Word | Printable)

Key: MDL-14878
Type: Sub-task Sub-task
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Petr Skoda
Reporter: Eloy Lafuente (stronk7)
Votes: 0
Watchers: 0
Operations

Add/Edit UI Mockup to this issue
If you were logged in you would be able to see more operations.
Moodle
MDL-14679

preconfigure_dbconnection() stuff must be implemented in some way

Created: 17/May/08 07:36 AM   Updated: 22/May/08 08:27 AM
Return to search
Component/s: Database SQL/XMLDB
Affects Version/s: 2.0
Fix Version/s: 2.0

Participants: Eloy Lafuente (stronk7) and Petr Skoda
Security Level: None
Resolved date: 22/May/08
Affected Branches: MOODLE_20_STABLE
Fixed Branches: MOODLE_20_STABLE


 Description  « Hide
Some libraries, like ADOdb require to perform some DEFINEs before loading the adodb stuff, for example:

http://phplens.com/adodb/reference.constants.adodb_assoc_case.html

This was performed by preconfigure_dbconnection() function under Moodle 1.9.

And that code has been moved to configure_dbconnection() that is executed after the connection is performed so, that stuff defines haven't effect.

This can be solved by simply harcoding them at the beginning of each driver, before adodb is required (in moodle_adodb_database).



 All   Comments   Change History   Version Control      Sort Order: Ascending order - Click to sort in descending order
Petr Skoda added a comment - 17/May/08 08:01 PM
grrrrr, silly adodb

Eloy Lafuente (stronk7) added a comment - 22/May/08 08:27 AM
Committed some days ago in MDL-14864. Resolving as fixed.