summaryrefslogtreecommitdiffstats
path: root/Bugzilla/DB
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-10-29 00:38:45 +0200
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-10-29 00:38:45 +0200
commit01a6545ec1a041e21f4a2542fc4c2c0eeeec52ba (patch)
tree4e1ca26b6b32c8f1795a3bf36fbcf78db24f1c83 /Bugzilla/DB
parent5ba4b1aff6564126b3d0b1e7741b992d178d8f66 (diff)
downloadbugzilla-01a6545ec1a041e21f4a2542fc4c2c0eeeec52ba.tar.gz
bugzilla-01a6545ec1a041e21f4a2542fc4c2c0eeeec52ba.tar.xz
Bug 602456: Make Search.pm not quote numeric input for numeric fields
when generating SQL. r=glob, a=mkanat
Diffstat (limited to 'Bugzilla/DB')
-rw-r--r--Bugzilla/DB/Schema.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/Bugzilla/DB/Schema.pm b/Bugzilla/DB/Schema.pm
index cfa1608f9..56e763d20 100644
--- a/Bugzilla/DB/Schema.pm
+++ b/Bugzilla/DB/Schema.pm
@@ -683,6 +683,8 @@ use constant ABSTRACT_SCHEMA => {
reverse_desc => {TYPE => 'TINYTEXT'},
is_mandatory => {TYPE => 'BOOLEAN', NOTNULL => 1,
DEFAULT => 'FALSE'},
+ is_numeric => {TYPE => 'BOOLEAN', NOTNULL => 1,
+ DEFAULT => 'FALSE'},
],
INDEXES => [
fielddefs_name_idx => {FIELDS => ['name'],