Menu

#2944 (ok 3.2.4) Empty default value not set properly

3.2.3
fixed
1
2013-06-11
2009-11-11
No

phpMyAdmin 3.2.3, Apache/2.2.13 (Unix), PHP/5.2.11

When editing VARCHAR field's structure that has empty string set as a default value the Default menu has 'None' preselected instead of 'As defined:'. The 'As defined:' should be preselected if the field has default value set, even if it is an empty sting.

If the default value is anything else than an empty string the 'As defined:' is correctly preselected with the correct string in the value field below.

Discussion

  • Marc Delisle

    Marc Delisle - 2009-11-11
    • assigned_to: nobody --> lem9
     
  • Marc Delisle

    Marc Delisle - 2009-11-13
    • priority: 5 --> 1
    • summary: VARCHAR default value not set properly --> (ok 3.2.4) Empty default value not set properly
    • status: open --> open-fixed
     
  • Marc Delisle

    Marc Delisle - 2009-11-13

    Fixed in subversion, thanks for reporting.

     
  • Marc Delisle

    Marc Delisle - 2009-12-02
    • status: open-fixed --> closed-fixed
     
  • Michal Čihař

    Michal Čihař - 2013-06-11
    • Status: closed-fixed --> fixed