|
From: Paul S. O. <ps...@us...> - 2001-12-24 14:45:50
|
Update of /cvsroot/phpbb/phpBB2/db
In directory usw-pr-cvs1:/tmp/cvs-serv29564/db
Modified Files:
msaccess.php mssql-odbc.php mssql.php
Log Message:
Removed 'global' str_replace for \'
Index: msaccess.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/db/msaccess.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** msaccess.php 2001/12/18 01:13:37 1.2
--- msaccess.php 2001/12/24 14:45:47 1.3
***************
*** 155,159 ****
else if( eregi("^INSERT ", $query) )
{
! $this->result = odbc_exec($this->db_connect_id, str_replace("\'", "''", $query));
if( $this->result )
--- 155,159 ----
else if( eregi("^INSERT ", $query) )
{
! $this->result = odbc_exec($this->db_connect_id, $query);
if( $this->result )
***************
*** 172,176 ****
else
{
! $this->result = odbc_exec($this->db_connect_id, str_replace("\'", "''", $query));
if( $this->result )
--- 172,176 ----
else
{
! $this->result = odbc_exec($this->db_connect_id, $query);
if( $this->result )
Index: mssql-odbc.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/db/mssql-odbc.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** mssql-odbc.php 2001/12/18 01:13:37 1.3
--- mssql-odbc.php 2001/12/24 14:45:47 1.4
***************
*** 152,156 ****
else if( eregi("^INSERT ", $query) )
{
! $this->result = odbc_exec($this->db_connect_id, str_replace("\'", "''", $query));
if( $this->result )
--- 152,156 ----
else if( eregi("^INSERT ", $query) )
{
! $this->result = odbc_exec($this->db_connect_id, $query);
if( $this->result )
***************
*** 169,173 ****
else
{
! $this->result = odbc_exec($this->db_connect_id, str_replace("\'", "''", $query));
if( $this->result )
--- 169,173 ----
else
{
! $this->result = odbc_exec($this->db_connect_id, $query);
if( $this->result )
Index: mssql.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/db/mssql.php,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -r1.19 -r1.20
*** mssql.php 2001/12/20 00:12:42 1.19
--- mssql.php 2001/12/24 14:45:47 1.20
***************
*** 151,155 ****
else if( eregi("^INSERT ", $query) )
{
! if( mssql_query(str_replace("\'", "''", $query), $this->db_connect_id) )
{
$this->result = time() + microtime();
--- 151,155 ----
else if( eregi("^INSERT ", $query) )
{
! if( mssql_query($query, $this->db_connect_id) )
{
$this->result = time() + microtime();
***************
*** 168,172 ****
else
{
! if( mssql_query(str_replace("\'", "''", $query), $this->db_connect_id) )
{
$this->result = time() + microtime();
--- 168,172 ----
else
{
! if( mssql_query($query, $this->db_connect_id) )
{
$this->result = time() + microtime();
|