Skip to content

Commit a77402b

Browse files
hustjiekeShannonBase
authored andcommitted
fix(handler): fix build error mysql#111
[summary] As var SHANNON_MAX_POPULATION_BUFFER_SIZE type is uint64, but MYSQL_SYSVAR_ULONG is used, fixed it with MYSQL_SYSVAR_ULONGLONG
1 parent d71633a commit a77402b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

storage/rapid_engine/handler/ha_shannon_rapid.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1029,7 +1029,7 @@ static MYSQL_SYSVAR_ULONG(
10291029
ShannonBase::SHANNON_MAX_MEMRORY_SIZE, 0,
10301030
ShannonBase::SHANNON_MAX_MEMRORY_SIZE, 0);
10311031

1032-
static MYSQL_SYSVAR_ULONG(rapid_populate_buffer_size_max,
1032+
static MYSQL_SYSVAR_ULONGLONG(rapid_populate_buffer_size_max,
10331033
ShannonBase::Populate::population_buffer_size,
10341034
PLUGIN_VAR_OPCMDARG | PLUGIN_VAR_READONLY,
10351035
"Number of populate buffer size that must not be 10% "

0 commit comments

Comments
 (0)