~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle/libdrizzle.c

  • Committer: Brian Aker
  • Date: 2008-08-10 16:57:26 UTC
  • Revision ID: brian@tangent.org-20080810165726-mc1660l11a5vkv69
libdrizzle has ulong removed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
139
139
 
140
140
int cli_read_change_user_result(DRIZZLE *drizzle)
141
141
{
142
 
  ulong pkt_length;
 
142
  uint32_t pkt_length;
143
143
 
144
144
  pkt_length= cli_safe_read(drizzle);
145
145
  
197
197
  }
198
198
 
199
199
  /* Write authentication package */
200
 
  (void)simple_command(drizzle,COM_CHANGE_USER, (uchar*) buff, (ulong) (end-buff), 1);
 
200
  (void)simple_command(drizzle,COM_CHANGE_USER, (uchar*) buff, (uint32_t) (end-buff), 1);
201
201
 
202
202
  rc= (*drizzle->methods->read_change_user_result)(drizzle);
203
203
 
343
343
 
344
344
  free_old_query(drizzle);
345
345
  if (simple_command(drizzle, COM_FIELD_LIST, (uchar*) buff,
346
 
                     (ulong) (end-buff), 1) ||
 
346
                     (uint32_t) (end-buff), 1) ||
347
347
      !(fields= (*drizzle->methods->list_fields)(drizzle)))
348
348
    return(NULL);
349
349