• unknown's avatar
    Proposed fix for #615 · d00c0544
    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
    d00c0544
field_conv.cc 14 KB