Version 3.2.3

This commit is contained in:
Neo committed 2025-12-19 00:34:03 -08:00
1 parent ae5c01cc78
commit 78706903a2
2641 files changed
+228363 -201264

No files matched your search

+17 -12
View File
@@ -3,19 +3,19 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.1.4
* IP.Board v3.2.3
* MySQL Database Driver :: MySQL client
* Last Updated: $Date: 2010-07-13 19:56:26 -0400 (Tue, 13 Jul 2010) $
* Last Updated: $Date: 2011-07-06 06:19:23 -0400 (Wed, 06 Jul 2011) $
* </pre>
*
* @author $Author: bfarber $
* @author $Author: ips_terabyte $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.invisionpower.com/community/board/license.html
* @license This is NULLED!
* @package IP.Board
* @subpackage Kernel
* @link http://www.invisionpower.com
* @link http://hatynka.in
* @since Monday 28th February 2005 16:46
* @version $Revision: 438 $
* @version $Revision: 9167 $
*/
class db_driver_mysql extends db_main_mysql implements interfaceDb
@@ -24,7 +24,7 @@ class db_driver_mysql extends db_main_mysql implements interfaceDb
* constructor
*
* @access public
* @return void
* @return @e void
*/
public function __construct()
{
@@ -64,6 +64,11 @@ class db_driver_mysql extends db_main_mysql implements interfaceDb
// Connect
//-----------------------------------------
if( $this->obj['sql_socket'] )
{
$this->obj['sql_host'] = $this->obj['sql_host'] . ':' . $this->obj['sql_socket'];
}
if ( $this->obj['persistent'] )
{
$this->connection_id = @mysql_pconnect( $this->obj['sql_host'] ,
@@ -149,7 +154,7 @@ class db_driver_mysql extends db_main_mysql implements interfaceDb
// Change the table prefix if needed
//-----------------------------------------
if ( $this->no_prefix_convert )
/*if ( $this->no_prefix_convert )
{
$bypass = 1;
}
@@ -160,7 +165,7 @@ class db_driver_mysql extends db_main_mysql implements interfaceDb
{
//$the_query = preg_replace("/\sibf_(\S+?)([\s\.,]|$)/", " ".$this->obj['sql_tbl_prefix']."\\1\\2", $the_query);
}
}
}*/
//-----------------------------------------
// Debug?
@@ -216,7 +221,7 @@ class db_driver_mysql extends db_main_mysql implements interfaceDb
// Reset array...
//-----------------------------------------
$this->force_data_type = array();
$this->resetDataTypes();
$this->allow_sub_select = false;
if (! $this->query_id )
@@ -253,7 +258,7 @@ class db_driver_mysql extends db_main_mysql implements interfaceDb
$_data .= "\n|Extra: ". $array['Extra'];
//$_data .= "\n+------------------------------------------------------------------------------+";
if ( ( $this->obj['use_bad_log'] AND $this->obj['bad_log'] ) AND stristr( $array['Extra'], 'filesort' ) OR stristr( $array['Extra'], 'temporary' ) )
if ( ( $this->obj['use_bad_log'] AND $this->obj['bad_log'] ) AND ( stristr( $array['Extra'], 'filesort' ) OR stristr( $array['Extra'], 'temporary' ) ) )
{
$this->writeDebugLog( $the_query, $_data, $endtime, $this->obj['bad_log'], TRUE );
}
@@ -419,7 +424,7 @@ class db_driver_mysql extends db_main_mysql implements interfaceDb
*
* @access public
* @param resource [Optional] Query id
* @return void
* @return @e void
*/
public function freeResult( $query_id=null )
{