~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/protocol.cc

  • Committer: Brian Aker
  • Date: 2008-07-22 18:31:32 UTC
  • Revision ID: brian@tangent.org-20080722183132-ne2ntl7g7mdf2eez
uint32 -> uin32_t

Show diffs side-by-side

added added

removed removed

Lines of Context:
435
435
  return to+length;
436
436
}
437
437
 
438
 
uchar *net_store_data(uchar *to,int32 from)
 
438
uchar *net_store_data(uchar *to,int32_t from)
439
439
{
440
440
  char buff[20];
441
441
  uint length=(uint) (int10_to_str(from,buff,10)-buff);
657
657
{
658
658
  char buf[256];
659
659
  String tmp(buf, sizeof(buf), &my_charset_bin);
660
 
  uint32 len;
 
660
  uint32_t len;
661
661
  I_List_iterator<i_string> it(*str_list);
662
662
  i_string* s;
663
663
 
775
775
}
776
776
 
777
777
 
778
 
bool Protocol_text::store(float from, uint32 decimals, String *buffer)
 
778
bool Protocol_text::store(float from, uint32_t decimals, String *buffer)
779
779
{
780
780
  buffer->set_real((double) from, decimals, thd->charset());
781
781
  return net_store_data((uchar*) buffer->ptr(), buffer->length());
782
782
}
783
783
 
784
784
 
785
 
bool Protocol_text::store(double from, uint32 decimals, String *buffer)
 
785
bool Protocol_text::store(double from, uint32_t decimals, String *buffer)
786
786
{
787
787
  buffer->set_real(from, decimals, thd->charset());
788
788
  return net_store_data((uchar*) buffer->ptr(), buffer->length());