• unknown's avatar
    Proposed fix for #615 · 83dc6b10
    unknown authored
    So now for the CREATE TABLE foo (id integer NOT NULL default 9)
    INSERT INTO foo VALUES (NULL); we get an error
    INSERT INTO foo VALUES (1), (NULL), (2); we get one warning
              and second record is set to 9
    
    Is that what we want?
    
    
    sql/field_conv.cc:
      field->set_default() calls added
    83dc6b10
field_conv.cc 14 KB