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

_______________________________________________
Mailing list: https://launchpad.net/~maria-developers
Post to     : maria-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~maria-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to