aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/db/driver/driver_interface.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/phpbb/db/driver/driver_interface.php')
-rw-r--r--phpBB/phpbb/db/driver/driver_interface.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/phpBB/phpbb/db/driver/driver_interface.php b/phpBB/phpbb/db/driver/driver_interface.php
index 6722d059a5..8b487c5d42 100644
--- a/phpBB/phpbb/db/driver/driver_interface.php
+++ b/phpBB/phpbb/db/driver/driver_interface.php
@@ -419,6 +419,16 @@ interface driver_interface
public function sql_like_expression($expression);
/**
+ * Correctly adjust NOT LIKE expression for special characters
+ * Some DBMS are handling them in a different way
+ *
+ * @param string $expression The expression to use. Every wildcard is
+ * escaped, except $this->any_char and $this->one_char
+ * @return string A SQL statement like: "NOT LIKE 'bertie_%'"
+ */
+ public function sql_not_like_expression($expression);
+
+ /**
* Explain queries
*
* @param string $mode Available modes: display, start, stop,