Report#68: MSSQL: Sorry, unsupported DBMS found (had the wrong change, sorry!)

This commit is contained in:
Kevin
2008-02-13 15:57:00 +00:00
parent d47e087dec
commit 62befad295

View File

@@ -179,6 +179,7 @@ if( $user->data['is_registered'] && $auth->acl_get('a_board') )
break;
case 'mssql':
case 'mssql_odbc':
$db_schema = 'mssql';
$delimiter = 'GO';
$comments = 'remove_comments';
@@ -252,10 +253,10 @@ if( $user->data['is_registered'] && $auth->acl_get('a_board') )
}
break;
case 'mssql':
case 'mssql_odbc':
$db_schema = 'mssql';
$delimiter = 'GO';
$comments = 'remove_comments';
$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);
break;
}