Closed
Bug 288051
Opened 20 years ago
Closed 19 years ago
simple boolean checking of get_index_def's return value is error-prone
Categories
(Bugzilla :: Bugzilla-General, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.20
People
(Reporter: myk, Assigned: mkanat)
References
Details
Simple boolean checking of get_index_def's return value is error-prone, since
multi-column indexes are listed one column at a time, so an index on columns
(foo, bar) of table "baz" will cause get_index_def("baz","bar") to return a true
value even though that index may not satisfy the need for which get_index_def
was called, since if you are searching just "bar" instead of both columns you
won't be able to use that multi-column index.
Updated•20 years ago
|
Flags: blocking2.20+
Target Milestone: --- → Bugzilla 2.20
| Assignee | ||
Comment 1•20 years ago
|
||
Oh, definitely known. All the old schema-checking functions have logical errors in them, pretty much. They are all going away as part of bug 285722, and being replaced with much nicer functions that work sanely. :-)
Depends on: 285722
Whiteboard: [blocker will fix]
| Reporter | ||
Comment 2•20 years ago
|
||
"If it's not a regression from 2.18 and it's not a critical problem with something that's already landed, let's push it off." - Dave
Flags: blocking2.20+
| Reporter | ||
Updated•20 years ago
|
Flags: blocking2.20-
Comment 3•19 years ago
|
||
mkanat, is this bug fixed now?
| Assignee | ||
Comment 4•19 years ago
|
||
Yeah. Fixed by blocker.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Whiteboard: [blocker will fix]
Updated•19 years ago
|
Assignee: general → mkanat
You need to log in
before you can comment on or make changes to this bug.
Description
•