MySQL Forums
Forum List  »  Connector/C (libmysql)

Re: connector causes valgrind uninitialised value errors
Posted by: Jo Ember
Date: May 07, 2018 06:34AM

Has anybody from the dev team looked into this offending line of code? ./mysys/my_alloc.c:204: mem_root->allocated_size+= length;?

I grepped on "allocated_size" and it only appears in the above file at one location, where the compilation fails. This must be some stale code, or a typo.

It is in a preprocessor conditional block that evaluates true when instrumentation is turned on.

Should that be renamed to 'block_size' as suggested by the compiler?

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: connector causes valgrind uninitialised value errors
423
May 07, 2018 06:34AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.