diff --git a/sql/ha_ndbcluster.cc b/sql/ha_ndbcluster.cc index 4b5eed8af70..3b65f11d119 100644 --- a/sql/ha_ndbcluster.cc +++ b/sql/ha_ndbcluster.cc @@ -7414,8 +7414,11 @@ ndb_get_table_statistics(Ndb* ndb, const NDBTAB *ndbtab, { Uint64 rows, commits, mem; Uint32 size; + Uint32 count= 0; Uint64 sum_rows= 0; Uint64 sum_commits= 0; + Uint64 sum_row_size= 0; + Uint64 sum_mem= 0; NdbScanOperation*pOp; NdbResultSet *rs; int check;