From d47e087dec8295ef93b7ba1209f89d913af4e9ff Mon Sep 17 00:00:00 2001 From: Kevin Date: Wed, 13 Feb 2008 15:52:58 +0000 Subject: [PATCH] Report#68: MSSQL: Sorry, unsupported DBMS found --- root/install_portal/install.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/root/install_portal/install.php b/root/install_portal/install.php index 1440faed..b20c99f3 100644 --- a/root/install_portal/install.php +++ b/root/install_portal/install.php @@ -209,7 +209,7 @@ if( $user->data['is_registered'] && $auth->acl_get('a_board') ) break; default: - trigger_error('Sorry, unsupported DBMS found.'); + trigger_error('Sorry, unsupported DBMS found: ' . $db->sql_layer); break; } @@ -252,10 +252,10 @@ if( $user->data['is_registered'] && $auth->acl_get('a_board') ) } break; case 'mssql': - $sql = 'if exists (select * from sysobjects where name = ' . $table_prefix . 'portal_config) - drop table ' . $table_prefix . 'portal_config'; - $result = $db->sql_query($sql); - $db->sql_freeresult($result); + case 'mssql_odbc': + $db_schema = 'mssql'; + $delimiter = 'GO'; + $comments = 'remove_comments'; break; }