[Phpmyadmin-devel] {POLLURIEL?} Re: trunk and new Default dropdown

Marc Delisle Marc.Delisle at cegepsherbrooke.qc.ca
Sat May 17 22:54:21 CEST 2008


Sebastian Mendel a écrit :
> Marc Delisle schrieb:
>> Hi,
>> There is a problem with the behavior of this new dropdown. If I add a 
>> field of type INT and let this dropdown to its default value 
>> "User-defined" but forget to enter a value, I get an error. I suspect 
>> many people will get annoyed by this.
>>
>> Of course, it all depends on what the majority of users usually do: set 
>> a default value or not.
>>
>> For a VARCHAR, this results in setting a default value of ''.
> 
> yes, i also thought about this, possible we can automatically replace empty 
> string with 0 for numeric field types, what do you think?
> 

Yes this is a possibility. There are other cases like DATE, DATETIME, 
TIMESTAMP.




More information about the Developers mailing list