Commit 3fd58153 authored by Alex Pott's avatar Alex Pott Committed by Thomas Seiber
Browse files

Issue #3091198 by alexpott, drunken monkey: Fixed problems on MySQL 5.6/5.7.

parent cd4fdd35
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
Search API 1.x, dev (xxxx-xx-xx):
---------------------------------
- #3091198 by alexpott, drunken monkey: Fixed problems on MySQL 5.6/5.7.
- #3249801 by paulocs, beatrizrodrigues, drunken monkey: Fixed failing tests
  against Drupal HEAD.
- #3249792 by kim.pepper, borisson_: Fixed deprecation warning "$modules 
+3 −2
Original line number Diff line number Diff line
@@ -2779,8 +2779,9 @@ class Database extends BackendPluginBase implements PluginFormInterface {
          ->condition('t.field_name', $field)
          ->condition('t.item_id', $all_results, 'IN');
        if ($pass == 1) {
          $field_query->condition('t.word', $incomplete_like, 'LIKE')
            ->condition('t.word', $keys, 'NOT IN');
          $field_query
            ->condition('t.word', $keys, 'NOT IN')
            ->condition('t.word', $incomplete_like, 'LIKE');
        }
        if (!isset($word_query)) {
          $word_query = $field_query;