History | Log In     View a printable version of the current page.  
We are currently focused especially on Moodle 2.0, Moodle 1.9.x bugs and Moodle 1.9.x testing.    Confused? Lost? Please read this introduction to the Tracker.
Issue Details (XML | Word | Printable)

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

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
Component/s: Database SQL/XMLDB
Affects Version/s: 2.0
Fix Version/s: 2.0

Participants: Eloy Lafuente (stronk7) and Petr Škoda
Security Level: None


 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 Škoda - 17/May/08 08:01 PM
grrrrr, silly adodb

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