* Marco Andriolo-Stagno > One of my friend, with MySQL v. 3.22.32 and with this commands : > > CREATE TABLE phpgw_chat_channel (con int(11) auto_increment, name > varchar(10) NOT NULL, title char(50) NOT NULL, UNIQUE(con)) > > have this error: > > MySQL complains: > Column 'con' is used with UNIQUE or INDEX but is not defined as NOT > NULL > > > I have v. 3.23.53-log and with the same statment I have no error; I > guess because the new version add 'not null' automagically. > > Is it right?
Yes. > Can someone tell me from which version is it true? >From 3.23.0: <URL: http://www.mysql.com/doc/en/News-3.23.0.html > -- Roger --------------------------------------------------------------------- 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