← Back to team overview

maria-developers team mailing list archive

Re: Query cache information plugin - MDEV-4516

 

done! :)
https://mariadb.atlassian.net/browse/MDEV-4580


2013/5/25 Roberto Spadim <roberto@xxxxxxxxxxxxx>

> nice =) i'm putting a new mdev and a patch with table inside query cache
> ,and all flags (i think, two flags i don't know how to add)
>
>
> 2013/5/25 Sergei Golubchik <serg@xxxxxxxxxxxx>
>
>> 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
>>
>
>
>
> --
> Roberto Spadim
> SPAEmpresarial
>



-- 
Roberto Spadim
SPAEmpresarial

Follow ups

References