Update of /cvsroot/phpmp/phpMP/includes/db
In directory sc8-pr-cvs1:/tmp/cvs-serv4647/includes/db
Modified Files:
mysql.php postgresql.php
Log Message:
Some new files (just framework for error handling)
Index: mysql.php
===================================================================
RCS file: /cvsroot/phpmp/phpMP/includes/db/mysql.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** mysql.php 15 Oct 2003 03:53:09 -0000 1.2
--- mysql.php 15 Oct 2003 04:25:33 -0000 1.3
***************
*** 1,3 ****
--- 1,4 ----
<?php
+
/*
* phpMP - The PHP Modular Portal System
***************
*** 132,136 ****
if( !is_null($sql_explain) )
{
! $this->error_handler->sql_error($sql_explain, $line, $file, $this->sql_error($this->db_connection_id), $this->sql_errno($this->db_connection_id));
}
else
--- 133,137 ----
if( !is_null($sql_explain) )
{
! $this->error_handler->sql_error($this->db_query, $sql_explain, $line, $file, $this->sql_error($this->db_connection_id), $this->sql_errno($this->db_connection_id));
}
else
Index: postgresql.php
===================================================================
RCS file: /cvsroot/phpmp/phpMP/includes/db/postgresql.php,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** postgresql.php 15 Oct 2003 03:53:09 -0000 1.2
--- postgresql.php 15 Oct 2003 04:25:33 -0000 1.3
***************
*** 109,113 ****
if( !is_null($sql_explain) )
{
! $this->error_handler->sql_error($sql_explain, $line, $file, $this->sql_error($this->db_connection_id), $this->sql_errno($this->db_connection_id));
}
else
--- 109,113 ----
if( !is_null($sql_explain) )
{
! $this->error_handler->sql_error($this->db_query, $sql_explain, $line, $file, $this->sql_error($this->db_connection_id), $this->sql_errno($this->db_connection_id));
}
else
|