|
From: Jonathan H. <the...@us...> - 2002-02-01 15:07:46
|
Update of /cvsroot/phpbb/phpBB2/admin
In directory usw-pr-cvs1:/tmp/cvs-serv17587
Modified Files:
admin_db_utilities.php
Log Message:
Added some checking for mysql4 SQL_LAYER
Index: admin_db_utilities.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/admin/admin_db_utilities.php,v
retrieving revision 1.33
retrieving revision 1.34
diff -C2 -r1.33 -r1.34
*** admin_db_utilities.php 2002/01/24 15:31:18 1.33
--- admin_db_utilities.php 2002/02/01 15:07:42 1.34
***************
*** 819,824 ****
{
$table_name = $tables[$i];
! $table_def_function = "get_table_def_" . SQL_LAYER;
! $table_content_function = "get_table_content_" . SQL_LAYER;
if($backup_type != 'data')
--- 819,832 ----
{
$table_name = $tables[$i];
! if(SQL_LAYER != 'mysql4')
! {
! $table_def_function = "get_table_def_" . SQL_LAYER;
! $table_content_function = "get_table_content_" . SQL_LAYER;
! }
! else
! {
! $table_def_function = "get_table_def_mysql";
! $table_content_function = "get_table_content_mysql";
! }
if($backup_type != 'data')
|