瀏覽代碼

! Fix another issue caused by Postgres being case-sensitive

Signed-off-by: Michael Eshom <[email protected]>
Michael Eshom 10 年之前
父節點
當前提交
d3d8fc7571
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      Sources/DbSearch-postgresql.php

+ 4 - 0
Sources/DbSearch-postgresql.php

@@ -74,10 +74,14 @@ function smf_db_search_query($identifier, $db_string, $db_values = array(), $con
 			'~IF\sEXISTS~i' => '',
 		),
 		'insert_into_log_messages_fulltext' => array(
+			'~LIKE~i' => 'iLIKE',
+			'~NOT\sLIKE~i' => '~NOT iLIKE',
 			'~NOT\sRLIKE~i' => '!~*',
 			'~RLIKE~i' => '~*',
 		),
 		'insert_log_search_results_subject' => array(
+			'~LIKE~i' => 'iLIKE',
+			'~NOT\sLIKE~i' => 'NOT iLIKE',
 			'~NOT\sRLIKE~i' => '!~*',
 			'~RLIKE~i' => '~*',
 		),