~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle/client.c

MergeĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
432
432
 
433
433
  net_clear_error(net);
434
434
  mysql->info=0;
435
 
  mysql->affected_rows= ~(my_uint64_t) 0;
 
435
  mysql->affected_rows= ~(uint64_t) 0;
436
436
  /*
437
437
    We don't want to clear the protocol buffer on COM_QUIT, because if
438
438
    the previous command was a shutdown command, we may have the
1873
1873
  mysql_close(mysql);
1874
1874
  *mysql=tmp_mysql;
1875
1875
  net_clear(&mysql->net, 1);
1876
 
  mysql->affected_rows= ~(my_uint64_t) 0;
 
1876
  mysql->affected_rows= ~(uint64_t) 0;
1877
1877
  DBUG_RETURN(0);
1878
1878
}
1879
1879
 
2334
2334
****************************************************************************/
2335
2335
 
2336
2336
/* MYSQL_RES */
2337
 
my_uint64_t STDCALL mysql_num_rows(MYSQL_RES *res)
 
2337
uint64_t STDCALL mysql_num_rows(MYSQL_RES *res)
2338
2338
{
2339
2339
  return res->row_count;
2340
2340
}