public static boolean isUseDatabase(String sql) {
    return sql.length() > 4 && "use ".equalsIgnoreCase(sql.substring(0, 4));
  }
Convert from {@link TSStatusCode} to {@link TSStatus}, which has message appended with existing
status message

@param tsStatusCode status type
@param message appending message
iotdb-client/service-rpc/src/main/java/org/apache/iotdb/rpc/RpcUtils.java