Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bestpractical/rt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorJim Brandt <jbrandt@bestpractical.com>2021-09-27 21:29:14 +0300
committerJim Brandt <jbrandt@bestpractical.com>2021-09-27 21:29:14 +0300
commitdcd729513d7d2846cd104b85eeea3b7ffbb427bf (patch)
tree68cd86712f47df9fa88ed6d14673f3f0c9aeca6f /etc
parentc9b681d3cd348bed5dbbc27d6f94d8df160d1240 (diff)
parentc122ada64b5090b917a1431ea3099adc4933f9af (diff)
Merge branch '5.0/use-bind-values' into 5.0-trunk
Diffstat (limited to 'etc')
-rw-r--r--etc/RT_Config.pm.in10
-rw-r--r--etc/cpanfile2
2 files changed, 11 insertions, 1 deletions
diff --git a/etc/RT_Config.pm.in b/etc/RT_Config.pm.in
index cbe6115468..b0b0c5cc65 100644
--- a/etc/RT_Config.pm.in
+++ b/etc/RT_Config.pm.in
@@ -1625,6 +1625,16 @@ Admin -> Tools menu for SuperUsers.
Set($StatementLog, undef);
+=item SQL bind parameters
+
+RT enables SQL bind parameters for all searches by default, which improves
+performance especially for Oracle. If you need to disable this for some
+reason, add this to config:
+
+ $ENV{SB_PREFER_BIND} = 0;
+
+See also L<DBIx::SearchBuilder/BuildSelectQuery>.
+
=back
diff --git a/etc/cpanfile b/etc/cpanfile
index a3c8324fe9..9932ccdea3 100644
--- a/etc/cpanfile
+++ b/etc/cpanfile
@@ -22,7 +22,7 @@ requires 'DateTime', '>= 0.44';
requires 'DateTime::Format::Natural', '>= 0.67';
requires 'DateTime::Locale', '>= 0.40, != 1.00, != 1.01';
requires 'DBI', '>= 1.37';
-requires 'DBIx::SearchBuilder', '>= 1.68';
+requires 'DBIx::SearchBuilder', '>= 1.71';
requires 'Devel::GlobalDestruction';
requires 'Devel::StackTrace', '>= 1.19, != 1.28, != 1.29';
requires 'Digest::base';