public void send(PacketOutputStream pos) throws IOException {
    pos.startPacket(0);
    pos.write(COM_STMT_PREPARE);
    pos.write(this.sql);
    pos.flush();
  }
public void send ( PacketOutputStream pos ) throws IOException { pos . startPacket ( 0 ) ; pos . write ( COM_STMT_PREPARE ) ; pos . write ( this . sql ) ; pos . flush ( ) ; }
Send directly to socket the sql data.

@param pos the writer
@throws IOException if connection error occur