Fixed prototype of get_error_message to use String to return error message
WL#1747 and #1746 allow user to decide if ordered index should be created or not BitKeeper/deleted/.del-AttrType.hpp~a9b2d6efcf660378: Delete: ndb/include/ndbapi/AttrType.hpp sql/ha_ndbcluster.cc: Removed the NDB_ERR_CODE_OFFSET, ndb and handler error codes should not clash Encapsulated functionality to cache information about known indexes into buil_index_list Added detection of algorithm from key_info in function get_index_type_from_table Updated read_range_first and records_in_range to work wih new prototype. sql/ha_ndbcluster.h: WL#1746 and WL#1747 Added ability to skip creating an ordered index in addition to the hash index if the user so wishes. Modified get_error_message to return error messaga in a String datatype, in that way the String class will take care of wheter the "data" has to be freed or not. sql/handler.cc: Use String datatype as ouput parameter of get_error_message. sql/handler.h: Changed the function prototype for getting error messages from handler to use String datataype
Showing
Please register or sign in to comment