diff options
author | unknown <stewart@willster.(none)> | 2006-10-18 22:31:48 +1000 |
---|---|---|
committer | unknown <stewart@willster.(none)> | 2006-10-18 22:31:48 +1000 |
commit | 81b19542e071536ea470ea3c4661873dbdf19e82 (patch) | |
tree | 6dd7a05b49558266be512aaf38eb983255dcaa67 /sql/ha_partition.cc | |
parent | 245848081c242046208eb864a8920c40b4f69895 (diff) | |
download | mariadb-git-81b19542e071536ea470ea3c4661873dbdf19e82.tar.gz |
BUG#19914 SELECT COUNT(*) sometimes returns MAX_INT on cluster tables
update partition engine for handler::info returning int
sql/ha_partition.cc:
update for handler::info returning int.
sql/ha_partition.h:
update for handler::info returning int.
Diffstat (limited to 'sql/ha_partition.cc')
-rw-r--r-- | sql/ha_partition.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/ha_partition.cc b/sql/ha_partition.cc index deb3bedb203..dd4919f4fb7 100644 --- a/sql/ha_partition.cc +++ b/sql/ha_partition.cc @@ -4214,7 +4214,7 @@ void ha_partition::include_partition_fields_in_used_fields() retrieving statistics data. */ -void ha_partition::info(uint flag) +int ha_partition::info(uint flag) { handler *file, **file_array; DBUG_ENTER("ha_partition:info"); @@ -4378,7 +4378,7 @@ void ha_partition::info(uint flag) stats.update_time= file->stats.update_time; } while (*(++file_array)); } - DBUG_VOID_RETURN; + DBUG_RETURN(0); } |