mirror of
https://github.com/silverstripe/silverstripe-mssql
synced 2024-10-22 08:05:53 +02:00
MINOR Removed incorrect Exception thrown from MSSQLDatabase::searchEngine() - it should still carry on if there's no records anyway
This commit is contained in:
parent
1157f3e0db
commit
3e04b42048
@ -1200,7 +1200,6 @@ class MSSQLDatabase extends SS_Database {
|
|||||||
|
|
||||||
//Get a list of all the tables and columns we'll be searching on:
|
//Get a list of all the tables and columns we'll be searching on:
|
||||||
$result=DB::query('EXEC sp_help_fulltext_columns');
|
$result=DB::query('EXEC sp_help_fulltext_columns');
|
||||||
if (!$result->numRecords()) throw Exception('there are no full text columns to search');
|
|
||||||
$tables= array();
|
$tables= array();
|
||||||
|
|
||||||
foreach($result as $row){
|
foreach($result as $row){
|
||||||
|
Loading…
Reference in New Issue
Block a user