maria-developers team mailing list archive
-
maria-developers team
-
Mailing list archive
-
Message #05610
Re: Query cache information plugin - MDEV-4516
Hi, Roberto!
On May 24, Roberto Spadim wrote:
> in query cache information plugin file (qc_info.cc), line 69:
> {"RESULT_BLOCKS_COUNT", MY_INT32_NUM_DECIMAL_DIGITS, MYSQL_TYPE_LONG, 0,
> 0, 0, 0},
> {"RESULT_BLOCKS_SIZE", MY_INT32_NUM_DECIMAL_DIGITS, MYSQL_TYPE_LONGLONG,
> 0, 0, 0, 0},
>
> why we use the same "MY_INT32_NUM_DECIMAL_DIGITS" for "MYSQL_TYPE_LONG" and
> "MYSQL_TYPE_LONGLONG" ?
It's the display width of the integer column. Like declaring
CREATE TABLE ... (
...
RESULT_BLOCKS_COUNT INT(11),
RESULT_BLOCKS_SIZE BIGINT(11),
It's not a constraint.
Regards,
Sergei
Follow ups
References