diff options
| author | the_systech <the_systech@users.sourceforge.net> | 2002-02-01 15:07:42 +0000 |
|---|---|---|
| committer | the_systech <the_systech@users.sourceforge.net> | 2002-02-01 15:07:42 +0000 |
| commit | fb4c1719efa9a745016bbcc25c1633f0feb6eff9 (patch) | |
| tree | 1e6f515e3002885dea4e999c1b2b92406435f65e | |
| parent | a10203e49f9faca5704476d525ec0cc4199e45ff (diff) | |
| download | forums-fb4c1719efa9a745016bbcc25c1633f0feb6eff9.tar forums-fb4c1719efa9a745016bbcc25c1633f0feb6eff9.tar.gz forums-fb4c1719efa9a745016bbcc25c1633f0feb6eff9.tar.bz2 forums-fb4c1719efa9a745016bbcc25c1633f0feb6eff9.tar.xz forums-fb4c1719efa9a745016bbcc25c1633f0feb6eff9.zip | |
Added some checking for mysql4 SQL_LAYER
git-svn-id: file:///svn/phpbb/trunk@2033 89ea8834-ac86-4346-8a33-228a782c2dd0
| -rw-r--r-- | phpBB/admin/admin_db_utilities.php | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/phpBB/admin/admin_db_utilities.php b/phpBB/admin/admin_db_utilities.php index 753802bc69..179109e89e 100644 --- a/phpBB/admin/admin_db_utilities.php +++ b/phpBB/admin/admin_db_utilities.php @@ -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') { |
