diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2018-04-29 17:39:48 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2018-04-29 17:53:21 +0300 |
commit | b2c47400349fcd2a8d5d43bb711f1bfbb48c8485 (patch) | |
tree | d7dbb4c08c05a1e034eb8019545b9d1a7a8e6d7d /storage/innobase/include/gis0rtree.h | |
parent | baa5a43d8cb2f747eeb70d394a362fb5f3fdd194 (diff) | |
download | mariadb-git-b2c47400349fcd2a8d5d43bb711f1bfbb48c8485.tar.gz |
Fix some -Wsign-conversion
InnoDB was using int64_t instead of ha_rows (unsigned 64-bit).
Diffstat (limited to 'storage/innobase/include/gis0rtree.h')
-rw-r--r-- | storage/innobase/include/gis0rtree.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/innobase/include/gis0rtree.h b/storage/innobase/include/gis0rtree.h index 65a53ec1d39..97c1a36a86e 100644 --- a/storage/innobase/include/gis0rtree.h +++ b/storage/innobase/include/gis0rtree.h @@ -28,6 +28,7 @@ Created 2013/03/27 Jimmy Yang and Allen Lai #define gis0rtree_h #include "univ.i" +#include "my_base.h" #include "data0type.h" #include "data0types.h" @@ -543,7 +544,7 @@ rtr_info_reinit_in_cursor( @param[in] tuple range tuple containing mbr, may also be empty tuple @param[in] mode search mode @return estimated number of rows */ -int64_t +ha_rows rtr_estimate_n_rows_in_range( dict_index_t* index, const dtuple_t* tuple, |