• unknown's avatar
    bug #20691 (INSERT (DEFAULT) may insert garbage with NO DEFAULT NOT NULL field) · 07f36668
    unknown authored
    Some fields (GEOMETRY first of all) can't be handled properly in this
    case at all. So we return an error in this case
    
    
    mysql-test/r/default.result:
      result fixed
    mysql-test/r/gis.result:
      result fixed
    mysql-test/t/default.test:
      VIEW test added
    mysql-test/t/gis.test:
      testcase added
    sql/item.cc:
      set_defaults() changed with the 'reset()'
    07f36668
default.test 5.31 KB