[RDBO] Manipulating `bitfield'

2006-01-02 Thread Svilen Ivanov
Hi, I'm using a 2-bit `bitfield' column to store Boolean properties. I've read in docs [1] how to handle the conversion of BIT to TINYINT in mySQL. It worked fine, however I'm having troubles manipulating bitfield column. Intuitively, I try to change the flags this way: $this->flags->Bit_On(0)

Re: [RDBO] Manipulating `bitfield'

2006-01-02 Thread John Siracusa
On 1/2/06, Svilen Ivanov <[EMAIL PROTECTED]> wrote: > Am I missing something obvious? I can provide self-contained test upon > request. I don't think you're missing anything obvious, but please do send or post a self-contained test case and I'll investigate. -John -

Re: [RDBO] Manipulating `bitfield'

2006-01-02 Thread Svilen Ivanov
2006/1/2, John Siracusa: > On 1/2/06, Svilen Ivanov wrote: > > Am I missing something obvious? I can provide self-contained test upon > > request. > > I don't think you're missing anything obvious, but please do send or > post a self-contained test case and I'll investigate. The plot thickens - I

Re: [RDBO] Manipulating `bitfield'

2006-01-02 Thread Svilen Ivanov
2006/1/2, John Siracusa: > Turns out there were some very dumb bugs in the bitfield accessor > method maker. I fixed them all (I hope!) and added a test to confirm > the fix. It's checked into CVS now. > > I might wait for a few more bugs to spool up before I release 0.61, > but in the meantime a