Closed
Bug 577557
Opened 15 years ago
Closed 15 years ago
PostgreSQL cannot test injection with integer or date columns, for xt/search.t
Categories
(Bugzilla :: Testing Suite, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 4.2
People
(Reporter: mkanat, Assigned: mkanat)
References
Details
Attachments
(1 file)
|
3.07 KB,
patch
|
mkanat
:
review+
|
Details | Diff | Splinter Review |
If you try to run the injection tests in xt/search.t on PostgreSQL, the integer fields throw errors like:
ERROR: invalid input syntax for integer: ";SEMICOLON_TEST"
Unfortunately, under PostgreSQL, no other statements can run within a transaction once one has thrown an error. So this prevents the test from continuing effectively.
| Assignee | ||
Comment 1•15 years ago
|
||
Same is true for the TIMESTAMP (datetime) fields.
Summary: PostgreSQL cannot test injection with integer columns, for xt/search.t → PostgreSQL cannot test injection with integer or date columns, for xt/search.t
| Assignee | ||
Comment 2•15 years ago
|
||
Okay, this fixes it for all the fields that I can test right now (but I think that's all the fields).
| Assignee | ||
Comment 3•15 years ago
|
||
Committing to: bzr+ssh://bzr.mozilla.org/bugzilla/trunk/
modified xt/lib/Bugzilla/Test/Search/Constants.pm
modified xt/lib/Bugzilla/Test/Search/InjectionTest.pm
Committed revision 7308.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Flags: approval+
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•