~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/mysql_protocol/net_serv.cc

  • Committer: Mark Atwood
  • Date: 2011-08-01 05:22:14 UTC
  • mfrom: (1919.3.53 drizzle_pbms)
  • Revision ID: me@mark.atwood.name-20110801052214-3wdsx3xgld6b5v4f
mergeĀ lp:~barry-leslie/drizzle/drizzle_pbms

Show diffs side-by-side

added added

removed removed

Lines of Context:
751
751
  return drizzleclient_net_write(this, data, size);
752
752
}
753
753
 
754
 
bool NET::write_command(unsigned char command, data_ref header, data_ref body)
 
754
bool NET::write_command(unsigned char command,
 
755
  const unsigned char *header, size_t head_len,
 
756
  const unsigned char *packet, size_t len)
755
757
{
756
 
  return drizzleclient_net_write_command(this, command, header.data(), header.size(), body.data(), body.size());
 
758
  return drizzleclient_net_write_command(this, command, header, head_len, packet, len);
757
759
}
758
760
 
759
761
uint32_t NET::read()