partition.test produces valgrind errors in 5.3-based branches
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MariaDB |
Invalid
|
Undecided
|
Sergey Petrunia |
Bug Description
partition.test produces valgrind errors in 5.3-based branches. There is no such failure in 5.2
worker[1] Using MTR_BUILD_THREAD 301, with reserved ports 13010..13019
main.partition [ fail ] Found warnings/errors in server log file!
Test ended at 2010-06-24 23:58:36
mysqltest: Logging to ''.
mysqltest: Results saved in ''.
mysqltest: Connecting to server localhost:13010 (socket /home/psergey/
mysqltest: ... Connected.
mysqltest: Start processing test commands from './include/
line
==5946== Thread 9:
==5946== Conditional jump or move depends on uninitialised value(s)
==5946== at 0x82F304C: JOIN_CACHE:
==5946== by 0x82F36B2: JOIN_CACHE:
==5946== by 0x8324E60: sub_select_
==5946== by 0x83247AF: evaluate_
==5946== by 0x8324B0B: sub_select(JOIN*, st_join_table*, bool) (sql_select.
==5946== by 0x8332859: do_select(JOIN*, List<Item>*, st_table*, Procedure*) (sql_select.
==5946== by 0x83468AA: JOIN::exec() (sql_select.
==5946== by 0x8340DC1: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_
==5946== by 0x8346BDB: handle_select(THD*, st_lex*, select_result*, unsigned long) (sql_select.cc:279)
==5946== by 0x82AB34F: execute_
==5946== by 0x82AD549: mysql_execute_
==5946== by 0x82B70D5: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:6079)
==5946== by 0x82B7EB2: dispatch_
==5946== by 0x82B945E: do_command(THD*) (sql_parse.cc:891)
==5946== by 0x82A344B: handle_
==5946== by 0x406C4FE: start_thread (in /lib/tls/
==5946==
==5946== Conditional jump or move depends on uninitialised value(s)
==5946== at 0x82F249C: JOIN_CACHE:
==5946== by 0x82F2C26: JOIN_CACHE:
==5946== by 0x82F2D41: JOIN_CACHE:
==5946== by 0x82F2392: JOIN_CACHE_
==5946== by 0x82F065B: JOIN_CACHE:
==5946== by 0x8324D94: sub_select_
==5946== by 0x8324974: sub_select(JOIN*, st_join_table*, bool) (sql_select.
==5946== by 0x8332882: do_select(JOIN*, List<Item>*, st_table*, Procedure*) (sql_select.
==5946== by 0x83468AA: JOIN::exec() (sql_select.
==5946== by 0x8340DC1: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_
==5946== by 0x8346BDB: handle_select(THD*, st_lex*, select_result*, unsigned long) (sql_select.cc:279)
==5946== by 0x82AB34F: execute_
==5946== by 0x82AD549: mysql_execute_
==5946== by 0x82B70D5: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:6079)
==5946== by 0x82B7EB2: dispatch_
==5946== by 0x82B945E: do_command(THD*) (sql_parse.cc:891)
==5946==
==5946== Conditional jump or move depends on uninitialised value(s)
==5946== at 0x82F249C: JOIN_CACHE:
==5946== by 0x82F2C26: JOIN_CACHE:
==5946== by 0x82F2C6E: JOIN_CACHE:
==5946== by 0x82F0323: JOIN_CACHE:
==5946== by 0x82F0829: JOIN_CACHE:
==5946== by 0x8324D94: sub_select_
==5946== by 0x8324974: sub_select(JOIN*, st_join_table*, bool) (sql_select.
==5946== by 0x8332882: do_select(JOIN*, List<Item>*, st_table*, Procedure*) (sql_select.
==5946== by 0x83468AA: JOIN::exec() (sql_select.
==5946== by 0x8340DC1: mysql_select(THD*, Item***, TABLE_LIST*, unsigned int, List<Item>&, Item*, unsigned int, st_order*, st_order*, Item*, st_order*, unsigned long long, select_result*, st_select_
==5946== by 0x8346BDB: handle_select(THD*, st_lex*, select_result*, unsigned long) (sql_select.cc:279)
==5946== by 0x82AB34F: execute_
==5946== by 0x82AD549: mysql_execute_
==5946== by 0x82B70D5: mysql_parse(THD*, char const*, unsigned int, char const**) (sql_parse.cc:6079)
==5946== by 0x82B7EB2: dispatch_
==5946== by 0x82B945E: do_command(THD*) (sql_parse.cc:891)
^ Found warnings in /home/psergey/
mysqltest: ... Done processing test commands.
mysqltest: Test has succeeded!
ok
- saving '/home/
-------
The servers were restarted 0 times
Spent 0.000 of 104 seconds executing testcases
mysql-test-run: WARNING: Got errors/warnings while running tests, please examine '/home/
Failed 1/1 tests, 0.00% were successful.
Failing test(s): main.partition
The log files in var/log may give you some hint of what went wrong.
If you want to report this error, please read first the documentation
at http://
mysql-test-run: *** ERROR: there were failing test cases
psergey@
Changed in maria: | |
milestone: | none → 5.3 |
Changed in maria: | |
status: | New → Invalid |
The simplest testcase:
--disable_warnings
drop table if exists t1, t2;
--enable_warnings
CREATE TABLE t1 (
a INT DEFAULT NULL,
b DOUBLE DEFAULT NULL,
c INT DEFAULT NULL,
KEY idx2(b,a)
) engine=myisam PARTITION BY HASH(c) PARTITIONS 3;
INSERT INTO t1 VALUES (6,8,9);
INSERT INTO t1 VALUES (6,8,10);
SELECT 1 FROM t1 JOIN t1 AS t2 USING (a);
# FOR UPDATE - is not necessary.
drop table t1;