1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-23 19:45:10 +01:00

Added some checking for mysql4 SQL_LAYER

git-svn-id: file:///svn/phpbb/trunk@2033 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
the_systech 2002-02-01 15:07:42 +00:00
parent a10203e49f
commit fb4c1719ef

View File

@ -818,8 +818,16 @@ if( isset($HTTP_GET_VARS['perform']) || isset($HTTP_POST_VARS['perform']) )
for($i = 0; $i < count($tables); $i++)
{
$table_name = $tables[$i];
$table_def_function = "get_table_def_" . SQL_LAYER;
$table_content_function = "get_table_content_" . SQL_LAYER;
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')
{