Sources/RepairBoards.php 1 location
|
@@ 1592-1595 (lines=4) @@
|
| 1589 |
|
); |
| 1590 |
|
|
| 1591 |
|
// Does it need a fix? |
| 1592 |
|
if (!empty($test['check_type']) && $test['check_type'] == 'count') |
| 1593 |
|
list ($needs_fix) = $smcFunc['db_fetch_row']($request); |
| 1594 |
|
else |
| 1595 |
|
$needs_fix = $smcFunc['db_num_rows']($request); |
| 1596 |
|
|
| 1597 |
|
$total_queries++; |
| 1598 |
|
|
Sources/SearchAPI-Fulltext.php 1 location
|
@@ 105-112 (lines=8) @@
|
| 102 |
|
'fulltext_minimum_word_length' => 'ft_min_word_len', |
| 103 |
|
) |
| 104 |
|
); |
| 105 |
|
if ($request !== false && $smcFunc['db_num_rows']($request) == 1) |
| 106 |
|
{ |
| 107 |
|
list (, $min_word_length) = $smcFunc['db_fetch_row']($request); |
| 108 |
|
$smcFunc['db_free_result']($request); |
| 109 |
|
} |
| 110 |
|
// 4 is the MySQL default... |
| 111 |
|
else |
| 112 |
|
$min_word_length = 4; |
| 113 |
|
|
| 114 |
|
return $min_word_length; |
| 115 |
|
} |