MySQL Forums
Forum List  »  General

Re: What is happening with mySQL?
Posted by: Felix Geerinckx
Date: June 20, 2005 07:33AM

Er Abbott wrote:

> "If the column does not accept NULL, it will insert a value based on the column type, in our
> case VARCHAR so we get blank space."

So your "2) NOT NULL? Don't think so..." issue is solved: You and your students don't know the difference between NULL and the empty string.


> mySQL is the only DB I know that applies this absurd rule.
> Sorry if I sound rude, but this rule that mySQL enforces don't make any sense at all.

The MySQL developers have realised that this is not always the wanted behaviour, so from MySQL 5.0.2 onwards you have the option to turning it off.
(See http://dev.mysql.com/doc/mysql/en/constraint-invalid-data.html).

Onto your 1) "Even using InnoDB tables mySQL didn't took care of referential integrity AT ALL. It was a Bug-Fest:" issues.

Would you care to post the exact statements (including create table and insert) that lead you to the behaviour you described in your original post?

--
felix
Please use BBCode to format your messages in this forum.

Options: ReplyQuote


Subject
Written By
Posted
Re: What is happening with mySQL?
June 20, 2005 07:33AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.