[Tickets #6751] Re: Issue with bitwise comparisons in native SQL share drivers (with postgres db-backend)

bugs at horde.org bugs at horde.org
Sat May 24 17:20:21 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/6751
-----------------------------------------------------------------------
 Ticket             | 6751
 Updated By         | josef at netzagentur.at
 Summary            | Issue with bitwise comparisons in native SQL share
drivers (with
                    | postgres db-backend)
 Queue              | Horde Framework Packages
 Version            | HEAD
 Type               | Bug
 State              | Feedback
 Priority           | 2. Medium
 Milestone          | Horde 3.2
 Patch              |
 Owners             | Michael Rubinsky
-----------------------------------------------------------------------


josef at netzagentur.at (2008-05-24 13:20) wrote:

> Instead of casting it, can you see if the following will work on your
DB:
>
> $where .= 'OR (s.perm_creator & ' . $perm . ') <> 0';
>
> for all the boolean comparisons?
>
YES - it work's this way. So I suppose, You will apply this to CVS, since
this seems to be ANSI-SQL.




More information about the bugs mailing list