~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/opt_sum.cc

  • Committer: Brian Aker
  • Date: 2008-07-13 22:21:51 UTC
  • Revision ID: brian@tangent.org-20080713222151-fv2tcpbsc829j2oc
Ulonglong to uint64_t

Show diffs side-by-side

added added

removed removed

Lines of Context:
74
74
    #                   Multiplication of number of rows in all tables
75
75
*/
76
76
 
77
 
static ulonglong get_exact_record_count(TABLE_LIST *tables)
 
77
static uint64_t get_exact_record_count(TABLE_LIST *tables)
78
78
{
79
 
  ulonglong count= 1;
 
79
  uint64_t count= 1;
80
80
  for (TABLE_LIST *tl= tables; tl; tl= tl->next_leaf)
81
81
  {
82
82
    ha_rows tmp= tl->table->file->records();
114
114
  List_iterator_fast<Item> it(all_fields);
115
115
  int const_result= 1;
116
116
  bool recalc_const_item= 0;
117
 
  ulonglong count= 1;
 
117
  uint64_t count= 1;
118
118
  bool is_exact_count= TRUE, maybe_exact_count= true;
119
119
  table_map removed_tables= 0, outer_tables= 0, used_tables= 0;
120
120
  table_map where_tables= 0;