summaryrefslogtreecommitdiff
path: root/storage/sequence
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2017-03-17 08:56:57 +0000
committerVladislav Vaintroub <wlad@mariadb.com>2017-03-17 08:56:57 +0000
commit66905f6dcbd2103ed1cd9fa459efe2643e7ef560 (patch)
tree430beccfbea2adf0c68aef5c3f0e58830380ac26 /storage/sequence
parent7668a79a88a3103781ee23eace53ca3e9bbd6644 (diff)
downloadmariadb-git-66905f6dcbd2103ed1cd9fa459efe2643e7ef560.tar.gz
Fix several compile warnings on Windows
Diffstat (limited to 'storage/sequence')
-rw-r--r--storage/sequence/sequence.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/storage/sequence/sequence.cc b/storage/sequence/sequence.cc
index 8d9465f08c5..599374c6f8c 100644
--- a/storage/sequence/sequence.cc
+++ b/storage/sequence/sequence.cc
@@ -95,9 +95,9 @@ public:
ha_rows records_in_range(uint inx, key_range *min_key,
key_range *max_key);
- double scan_time() { return nvalues(); }
- double read_time(uint index, uint ranges, ha_rows rows) { return rows; }
- double keyread_time(uint index, uint ranges, ha_rows rows) { return rows; }
+ double scan_time() { return (double)nvalues(); }
+ double read_time(uint index, uint ranges, ha_rows rows) { return (double)rows; }
+ double keyread_time(uint index, uint ranges, ha_rows rows) { return (double)rows; }
private:
void set(uchar *buf);