aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/db/mysqli.php
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2007-02-19 04:12:13 +0000
committerDavid M <davidmj@users.sourceforge.net>2007-02-19 04:12:13 +0000
commit1d6fd8e1352d9ed4bfe3f91e9f2bf254920eb479 (patch)
tree25f60a7da04cd07ff1ea78c0e7b12a157766986e /phpBB/includes/db/mysqli.php
parent0350eb9f3ca0f7f239ae868afef4e7765a22833b (diff)
downloadforums-1d6fd8e1352d9ed4bfe3f91e9f2bf254920eb479.tar
forums-1d6fd8e1352d9ed4bfe3f91e9f2bf254920eb479.tar.gz
forums-1d6fd8e1352d9ed4bfe3f91e9f2bf254920eb479.tar.bz2
forums-1d6fd8e1352d9ed4bfe3f91e9f2bf254920eb479.tar.xz
forums-1d6fd8e1352d9ed4bfe3f91e9f2bf254920eb479.zip
- clean up mssql and mssql_odbc, mssql now uses a different method of dealing with IDENTITY
- clean up firebird, I will consider changing it to use fetch array instead of fetch object. it's identity code already uses this method as of right... now :D - fix a tiny bug in MySQL's driver (remember to pass the connect id to all DBAL functions) - add new_link as a new param for sql_connect. This allows you to make connections that are not dependant on each other. This is done for our friends mysql, mssql, postgresql and oracle. Now for everybody else.. (I said this was clever ;) MySQLi and SQLite should always spawn a new connection when you call it while mssql_odbc and firebird both will create new links if you give them different params (different creds) than the previous connection(s). Thus we can always promise new links :D - fixed a bug in the converter - cleaned up the dbal a little git-svn-id: file:///svn/phpbb/trunk@7009 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/db/mysqli.php')
-rw-r--r--phpBB/includes/db/mysqli.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/db/mysqli.php b/phpBB/includes/db/mysqli.php
index da6faa3983..3149349411 100644
--- a/phpBB/includes/db/mysqli.php
+++ b/phpBB/includes/db/mysqli.php
@@ -29,7 +29,7 @@ class dbal_mysqli extends dbal
/**
* Connect to server
*/
- function sql_connect($sqlserver, $sqluser, $sqlpassword, $database, $port = false, $persistency = false)
+ function sql_connect($sqlserver, $sqluser, $sqlpassword, $database, $port = false, $persistency = false , $new_link = false)
{
$this->persistency = $persistency;
$this->user = $sqluser;