[Bb-trac] Re: [bbPress] #745: When using mysqli extension,
db connect fails
bbPress
bb-trac at lists.bbpress.org
Sun Sep 30 21:42:42 GMT 2007
#745: When using mysqli extension, db connect fails
----------------------------+-----------------------------------------------
Reporter: mdawaffe | Owner:
Type: defect | Status: new
Priority: high | Milestone: 0.8.4 & Pings
Component: Administration | Version: 0.8.3
Severity: major | Resolution:
Keywords: |
----------------------------+-----------------------------------------------
Comment (by mdawaffe):
I realized that BB_Query should be using {{{mysql(i)_get_server_info()}}}
instead of {{{mysql(i)_get_client_info()}}}, so I decided version info was
a useful enough thing to know that it should be in the DB class.
In 745c.diff
{{{$bbdb->db_version( $dbh )}}} where {{{$dbh}}} can either be a string
specifying the table name of a table in the database you're interested in,
or a mysql(i)_connect() resource.
I chose table name over DB name for future compatibility with WordPress
MU, HyperDB and BackPress.
Thoughts?
--
Ticket URL: <http://trac.bbpress.org/ticket/745#comment:6>
bbPress <http://bbpress.org/>
Innovative forum development
More information about the Bb-trac
mailing list