~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to libdrizzle/libdrizzle.c

Merged in from trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
744
744
**************************************************************************/
745
745
 
746
746
void STDCALL
747
 
mysql_data_seek(MYSQL_RES *result, my_uint64_t row)
 
747
mysql_data_seek(MYSQL_RES *result, uint64_t row)
748
748
{
749
749
  MYSQL_ROWS    *tmp=0;
750
750
  DBUG_PRINT("info",("mysql_data_seek(%ld)",(long) row));
1056
1056
  return mysql->field_count;
1057
1057
}
1058
1058
 
1059
 
my_uint64_t STDCALL mysql_affected_rows(MYSQL *mysql)
 
1059
uint64_t STDCALL mysql_affected_rows(MYSQL *mysql)
1060
1060
{
1061
1061
  return mysql->affected_rows;
1062
1062
}
1063
1063
 
1064
 
my_uint64_t STDCALL mysql_insert_id(MYSQL *mysql)
 
1064
uint64_t STDCALL mysql_insert_id(MYSQL *mysql)
1065
1065
{
1066
1066
  return mysql->insert_id;
1067
1067
}
1309
1309
  }
1310
1310
 
1311
1311
  net_clear_error(&mysql->net);
1312
 
  mysql->affected_rows= ~(my_uint64_t) 0;
 
1312
  mysql->affected_rows= ~(uint64_t) 0;
1313
1313
 
1314
1314
  if (mysql->server_status & SERVER_MORE_RESULTS_EXISTS)
1315
1315
    DBUG_RETURN((*mysql->methods->next_result)(mysql));