aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db/driver/sqlite3.php
diff options
context:
space:
mode:
authorGeolim4 <contact@geolim4.com>2014-08-09 19:11:21 +0200
committerGeolim4 <contact@geolim4.com>2014-08-09 19:11:21 +0200
commitdb0815f680d4ed9da845facb6e8e3975ac14621e (patch)
tree1a99d0d6feffddb9e366bc9f704f6ac692674c34 /phpBB/phpbb/db/driver/sqlite3.php
parent635cde218c786f76397c3354e59f96a8a151c132 (diff)
downloadforums-db0815f680d4ed9da845facb6e8e3975ac14621e.tar
forums-db0815f680d4ed9da845facb6e8e3975ac14621e.tar.gz
forums-db0815f680d4ed9da845facb6e8e3975ac14621e.tar.bz2
forums-db0815f680d4ed9da845facb6e8e3975ac14621e.tar.xz
forums-db0815f680d4ed9da845facb6e8e3975ac14621e.zip
[ticket/12671] Possibility to use NOT LIKE expression
PHPBB3-12671
Diffstat (limited to 'phpBB/phpbb/db/driver/sqlite3.php')
-rw-r--r--phpBB/phpbb/db/driver/sqlite3.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/phpbb/db/driver/sqlite3.php b/phpBB/phpbb/db/driver/sqlite3.php
index 2bf4ed51aa..4e3e0d3329 100644
--- a/phpBB/phpbb/db/driver/sqlite3.php
+++ b/phpBB/phpbb/db/driver/sqlite3.php
@@ -260,11 +260,11 @@ class sqlite3 extends \phpbb\db\driver\driver
/**
* {@inheritDoc}
*
- * For SQLite an underscore is a not-known character...
+ * For SQLite an underscore is an unknown character.
*/
public function sql_like_expression($expression)
{
- // Unlike LIKE, GLOB is case sensitive (unfortunatly). SQLite users need to live with it!
+ // Unlike LIKE, GLOB is unfortunately case sensitive.
// We only catch * and ? here, not the character map possible on file globbing.
$expression = str_replace(array(chr(0) . '_', chr(0) . '%'), array(chr(0) . '?', chr(0) . '*'), $expression);
@@ -277,11 +277,11 @@ class sqlite3 extends \phpbb\db\driver\driver
/**
* {@inheritDoc}
*
- * For SQLite an underscore is a not-known character...
+ * For SQLite an underscore is an unknown character.
*/
public function sql_not_like_expression($expression)
{
- // Unlike NOT LIKE,NOT GLOB is case sensitive (unfortunatly). SQLite users need to live with it!
+ // Unlike NOT LIKE, NOT GLOB is unfortunately case sensitive
// We only catch * and ? here, not the character map possible on file globbing.
$expression = str_replace(array(chr(0) . '_', chr(0) . '%'), array(chr(0) . '?', chr(0) . '*'), $expression);