The current version of the 4.6.0 code passes an integer value to a boolean comparison, which isn't valid. MySQL will ignore that and automatically cast to bool, but Postgres will not. The attached patch fixes this.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | taxonomy_dhtml_bool.patch | 1.32 KB | Zed Pobre |
| taxonomy_dhtml_boolean.patch | 773 bytes | Zed Pobre |
Comments
Comment #1
moshe weitzman commentedcan anyone confirm that mysql doesn't compain about this?
Comment #2
Zed Pobre commentedWell, this bug is still there, and I found a new location as well which actually has to be solved by an explicit cast. New patch attached which corrects both.
Comment #3
meba commentedThat CAST() is not working in MySQL. But "WHERE true" works everywhere i think. However, this will be fixed in 5.x-2.x release
Comment #4
(not verified) commented