diff options
author | Alexey Shchepin <alexey@process-one.net> | 2020-01-13 03:36:52 +0300 |
---|---|---|
committer | Alexey Shchepin <alexey@process-one.net> | 2020-02-04 04:53:54 +0300 |
commit | b2f536ec8b40adca1e7c619507116155d6a8497a (patch) | |
tree | 0c3c429bea87d6a43e9985a979d7297c5a925b0b /include | |
parent | Add missing oauth_client table declaration in lite.new.sql (diff) |
Use SQL ESCAPE statement only with MSSQL and SQLite, improve compatibility with CockroachDB (#3074)
Diffstat (limited to 'include')
-rw-r--r-- | include/ejabberd_sql.hrl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/ejabberd_sql.hrl b/include/ejabberd_sql.hrl index 83d70c982..9d297d212 100644 --- a/include/ejabberd_sql.hrl +++ b/include/ejabberd_sql.hrl @@ -38,4 +38,5 @@ -record(sql_escape, {string :: fun((binary()) -> binary()), integer :: fun((integer()) -> binary()), boolean :: fun((boolean()) -> binary()), - in_array_string :: fun((binary()) -> binary())}). + in_array_string :: fun((binary()) -> binary()), + like_escape :: fun(() -> binary())}). |