Bug #34426 parts.partition_bit_myisam.test produces valgrind warnings

Submitted: 8 Feb 2008 17:09 Modified: 8 Feb 2008 17:13
Reporter: Alexander Nozdrin Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Partitions Severity:S1 (Critical)
Version: OS:Any
Assigned to: CPU Architecture:Any

[8 Feb 2008 17:09] Alexander Nozdrin
Description:
parts.partition_bit_myisam generates the following valgrind warnings:

VALGRIND: 'Use of uninitialised value of size 8'
    COUNT: 1
    FUNCTION: ha_partition::write_row(unsigned    FILES:    master.err
    TESTS:    parts.partition_bit_myisam
    STACK: at 0x73BF12: ha_partition::write_row(unsigned char*) (ha_partition.cc:2773)
             by 0x7381EC: handler::ha_write_row(unsigned char*) (handler.cc:4045)
             by 0x6B9DDC: write_record(THD*, st_table*, st_copy_info*) (sql_insert.cc:1546)
             by 0x6BFADC: mysql_insert(THD*, TABLE_LIST*, List<Item>&, List<List<Item> >&, List<Item>&, List<Item>&, enum_duplicates, bool) (sql_insert.cc:803)
             by 0x63F402: mysql_execute_command(THD*) (sql_parse.cc:2947)
             by 0x642CF5: mysql_parse(THD*, char const*, unsigned, char const**) (sql_parse.cc:5630)
             by 0x6432C6: dispatch_command(enum_server_command, THD*, char*, unsigned) (sql_parse.cc:1121)
             by 0x64462A: do_command(THD*) (sql_parse.cc:781)
             by 0x634A7B: handle_one_connection (sql_connect.cc:1120)
             by 0x4B2A192: start_thread (in /lib64/libpthread-2.4.so)
             by 0x51A145C: clone (in /lib64/libc-2.4.so)

VALGRIND: 'Use of uninitialised value of size 8'
    COUNT: 1
    FUNCTION: ha_partition::write_row(unsigned    FILES:    master.err
    TESTS:    parts.partition_bit_myisam
    STACK: at 0x73BF12: ha_partition::write_row(unsigned char*) (ha_partition.cc:2773)
             by 0x7381EC: handler::ha_write_row(unsigned char*) (handler.cc:4045)
             by 0x7555EE: mysql_alter_table(THD*, char*, char*, st_ha_create_information*, TABLE_LIST*, Alter_info*, unsigned, st_order*, bool) (sql_table.cc:7067)
             by 0x63F8DC: mysql_execute_command(THD*) (sql_parse.cc:2678)
             by 0x642CF5: mysql_parse(THD*, char const*, unsigned, char const**) (sql_parse.cc:5630)
             by 0x6432C6: dispatch_command(enum_server_command, THD*, char*, unsigned) (sql_parse.cc:1121)
             by 0x64462A: do_command(THD*) (sql_parse.cc:781)
             by 0x634A7B: handle_one_connection (sql_connect.cc:1120)
             by 0x4B2A192: start_thread (in /lib64/libpthread-2.4.so)
             by 0x51A145C: clone (in /lib64/libc-2.4.so)

How to repeat:
One of case:
https://intranet.mysql.com/secure/pushbuild/getlog.pl?dir=mysql-5.1-runtime&entry=darnaut@...

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.038 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
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.