Changeset 702 for trunk/forum/includes/db/mysql.php
- Timestamp:
- Mar 31, 2010, 6:32:40 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/forum/includes/db/mysql.php
r400 r702 3 3 * 4 4 * @package dbal 5 * @version $Id : mysql.php 8815 2008-09-04 13:37:01Z acydburn$5 * @version $Id$ 6 6 * @copyright (c) 2005 phpBB Group 7 7 * @license http://opensource.org/licenses/gpl-license.php GNU Public License … … 45 45 $this->sql_layer = 'mysql4'; 46 46 47 $this->db_connect_id = ($this->persistency) ? @mysql_pconnect($this->server, $this->user, $sqlpassword , $new_link) : @mysql_connect($this->server, $this->user, $sqlpassword, $new_link);47 $this->db_connect_id = ($this->persistency) ? @mysql_pconnect($this->server, $this->user, $sqlpassword) : @mysql_connect($this->server, $this->user, $sqlpassword, $new_link); 48 48 49 49 if ($this->db_connect_id && $this->dbname != '') … … 52 52 { 53 53 // Determine what version we are using and if it natively supports UNICODE 54 if (version_compare($this->sql_server_info(true), '4.1. 3', '>='))54 if (version_compare($this->sql_server_info(true), '4.1.0', '>=')) 55 55 { 56 56 @mysql_query("SET NAMES 'utf8'", $this->db_connect_id); … … 342 342 return $data; 343 343 } 344 344 345 345 /** 346 346 * return sql error array
Note:
See TracChangeset
for help on using the changeset viewer.