• unknown's avatar
    BUG#21699 DROP last DATAFILE from TABLESPACE even though there are still table... · 4c073230
    unknown authored
    BUG#21699 DROP last DATAFILE from TABLESPACE even though there are still table in it. And it gives the cofusing error message.
    
    
    mysql-test/r/ndb_dd_basic.result:
      adding some test result for increasing test codes.
    mysql-test/t/ndb_dd_basic.test:
      adding some test codes for nodatafile in tablespace.
    storage/ndb/include/kernel/signaldata/Extent.hpp:
      Add NoDatafile error code when allocating extent.
    storage/ndb/src/kernel/blocks/tsman.cpp:
      when there is no datafile in spacefile , it should return NoDatafile error code, rather than NoExtentAvailable.
    storage/ndb/src/ndbapi/ndberror.c:
      add no datafile error code and corresponding error message for NoDatafile
    4c073230
ndb_dd_basic.test 15.2 KB