code: public void send(PacketOutputStream pos) throws IOException {
      pos.startPacket(0);
      pos.write(COM_STMT_PREPARE);
      pos.write(this.sql);
      pos.flush();
    }
docs: Send directly to socket the sql data.
  
  @param pos the writer
  @throws IOException if connection error occur