@@ -160,7 +160,7 @@ class Parallel_reader {
160
160
*/
161
161
Config (const Scan_range &scan_range, dict_index_t *index,
162
162
size_t read_level = 0 ,
163
- size_t partition_id = std::numeric_limits<uint64_t >::max(),
163
+ size_t partition_id = std::numeric_limits<size_t >::max(),
164
164
bool read_ahead = false )
165
165
: m_scan_range(scan_range),
166
166
m_index (index),
@@ -197,8 +197,8 @@ class Parallel_reader {
197
197
size_t m_read_level{0 };
198
198
199
199
/* * Partition id if the index to be scanned belongs to a partitioned table,
200
- else std::numeric_limits<uint64_t >::max(). */
201
- size_t m_partition_id{std::numeric_limits<uint64_t >::max ()};
200
+ else std::numeric_limits<size_t >::max(). */
201
+ size_t m_partition_id{std::numeric_limits<size_t >::max ()};
202
202
203
203
/* * if true then enable separate read ahead threads. */
204
204
bool m_read_ahead{false };
@@ -709,7 +709,7 @@ class Parallel_reader::Ctx {
709
709
}
710
710
711
711
/* * @return the partition id of the index.
712
- @note this is std::numeric_limits<uint64_t >::max() if the index does not
712
+ @note this is std::numeric_limits<size_t >::max() if the index does not
713
713
belong to a partition. */
714
714
size_t partition_id () const MY_ATTRIBUTE((warn_unused_result)) {
715
715
return m_scan_ctx->m_config .m_partition_id ;
0 commit comments