docs: @Override
    public void executeQuery(boolean mustExecuteOnMaster, Results results, final String sql)
        throws SQLException {
  
      cmdPrologue();
      try {
  
        writer.startPacket(0);
        writer.write(COM_QUERY);
        writer.write(sql);
        writer.flush();
        getResult(results);
  
      } catch (SQLException sqlException) {
        if ("70100".equals(sqlException.getSQLState()) && 1927 == sqlException.getErrorCode()) {
          throw handleIoException(sqlException);
        }
        throw logQuery.exceptionWithQuery(sql, sqlException, explicitClosed);
      } catch (IOException e) {
        throw handleIoException(e);
      }
  
    }