Re: binary bug in mysql 3.23.30-gamma

2001-02-07 Thread Tommie Jones
'varchar(16) binary' works in 3.22 and tinyblob works in 3.23. by work I mean I can insert hexidecimal numbers into the field. I am basically treating it as an integer field. I can store 16 byte numbers in the field and in the case of varchar(16) binary on mysql 3.22 I could store a 32 character

Re: binary bug in mysql 3.23.30-gamma

2001-02-07 Thread Tommie Jones
gt; You are trying to insert a hex value of 0x1, right? I think this is an > > > illegal value and those two entries are set to NULL. MySQL behaves > > > differently from standard in that it inserts default values instead, if > > > there is an error, which in your cas

Re: binary bug in mysql 3.23.30-gamma

2001-02-07 Thread Rolf Hopkins
inserting 0x1 into a CHAR field? - Original Message - From: "Tommie Jones" <[EMAIL PROTECTED]> To: "Rolf Hopkins" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, February 07, 2001 22:18 Subject: Re: binary bug in mysql 3.23.30-gamma > Bina

RE: binary bug in mysql 3.23.30-gamma

2001-02-07 Thread Carsten H. Pedersen
s instead, if > > there is an error, which in your case, would be NULL. What you > want instead > > is an integer column. > > > > - Original Message ----- > > From: "Tommie Jones" <[EMAIL PROTECTED]> > > To: <[EMAIL PROTECTED]> > &g

Re: binary bug in mysql 3.23.30-gamma

2001-02-07 Thread Tommie Jones
- > From: "Tommie Jones" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, February 07, 2001 3:30 > Subject: binary bug in mysql 3.23.30-gamma > > > In the process of converting over to 3.23.30-gamma from 3.22 > > > > wheneve

Re: binary bug in mysql 3.23.30-gamma

2001-02-06 Thread Rolf Hopkins
L PROTECTED]> Sent: Wednesday, February 07, 2001 3:30 Subject: binary bug in mysql 3.23.30-gamma > In the process of converting over to 3.23.30-gamma from 3.22 > > whenever I set the field to a binary field to a value it stores it in > the database as zero. > > Does anyone ha

binary bug in mysql 3.23.30-gamma

2001-02-06 Thread Tommie Jones
In the process of converting over to 3.23.30-gamma from 3.22 whenever I set the field to a binary field to a value it stores it in the database as zero. Does anyone have any suggestions. I am having a problem with the binary data type... Here is the log to demonstrate. ---

binary bug in mysql 3.23.30-gamma

2001-02-06 Thread Tommie Jones
In the process of converting over to 3.23.30-gamma from 3.22 It appears that a table with field 'key varchar(16) binary' as a primary key. Whenever I write a record to this table and then do a select the value of the field seems to be zero. I do a 'select * from table where key=0x0' I get all t