Paul DuBois wrote:

I just tried this script:

[ ... ]

I don't see anything getting flipped.

Wow, I'm impressed :-). I've not actually tried this myself (as it has been a known bug in at least other db software). Good to know that MySQL has no such problem.

Now testing:

create table testenum (
val enum('false','true')
);
insert into testenum values ('true'),('true'),('false');
alter table testenum change val val enum('unknown','true','false');
select val from testenum;

> true
> true
> false

*is impressed* ... data consistency is good (remarks about it being a problem with MySQL withdrawn).

--
Michael T. Babcock
C.T.O., FibreSpeed Ltd.
http://www.fibrespeed.net/~mbabcock



---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to