[EMAIL PROTECTED] wrote:
>>Description:
>
> MySQL 4.1.1-alpha (binary package from www.mysql.com)
> does not accept negative number after DEFAULT.
>
>>How-To-Repeat:
>
> mysql> create table test (FileSize BIGINT NOT NULL DEFAULT -1);
> ERROR 1064: You have an error in your SQL syntax. Check the manual that corresponds
> to your MySQL server version for the right syntax to use near '-1)' at line 1
>
>>Fix:
> This works:
> create table test (FileSize BIGINT NOT NULL DEFAULT '-1');
>
> Anyway, IMHO it should work without apostrophes too so I think it is a bug.
> Mysql 3.23.55 worked well.
>
Thanks for report. It's a known bug:
http://bugs.mysql.com/bug.php?id=2075
--
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Victoria Reznichenko
/ /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED]
/_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net
<___/ www.mysql.com
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]