Bug #31211 Test is lacking an include file
Submitted: 26 Sep 2007 17:38 Modified: 11 Oct 2007 16:41
Reporter: Joerg Bruehe Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Tests Severity:S3 (Non-critical)
Version:5.1.22 OS:Any
Assigned to: Matthias Leich CPU Architecture:Any

[26 Sep 2007 17:38] Joerg Bruehe
Description:
Happened in the 5.1.22-rc build, on all hosts:

=====
parts.part_supported_sql_func_innodb [ fail ]

Errors are (from /PATH/mysqltest-time) :
mysqltest: In included file "./suite/parts/inc/partition_supported_sql_funcs.inc": At line 86: query 'load data infile '../std_data_ln/parts/$infile' into table t4' failed: 13: Can't get stat of '/PATH/mysql-test/var/std_data_ln/parts/part_supported_sql_funcs_int_int.inc' (Errcode: 2)
(the last lines may be the most important ones)
=====

=====
parts.part_supported_sql_func_myisam [ fail ]

Errors are (from /PATH/mysqltest-time) :
mysqltest: In included file "./suite/parts/inc/partition_supported_sql_funcs.inc": At line 86: query 'load data infile '../std_data_ln/parts/$infile' into table t4' failed: 13: Can't get stat of '/PATH/mysql-test/var/std_data_ln/parts/part_supported_sql_funcs_int_int.inc' (Errcode: 2)
(the last lines may be the most important ones)
=====

"/PATH" is leading to the test tree, varying by machine.

Error number 2 is "ENOENT",
and double-checking on a build machine gave this:

mysqldev@bsd60$ pwd
/home/mysqldev/tmp-200709240936-5.1.22-rc-24907/bsd60/test/mysql-5.1.22-rc-freebsd6.0-i386/mysql-test
mysqldev@bsd60$ find . -name 'part_supported_sql_funcs_*'
./suite/parts/inc/part_supported_sql_funcs_delete.inc
./suite/parts/inc/part_supported_sql_funcs_main.inc
mysqldev@bsd60$

So there really is no "part_supported_sql_funcs_int_int.inc"

How to repeat:
Run the suite.
[11 Oct 2007 16:41] Matthias Leich
Thank you for the bug report.

I am not able to reproduce this bug within the newest sources.
mysql-5.1 last ChangeSet@1.2573, 2007-10-04
mysql-5.1-build last ChangeSet@1.2575.1.1, 2007-10-10

cd <top directory of tree>/mysql-test
find . -name 'part_supported_sql_funcs_*'
./suite/parts/inc/part_supported_sql_funcs_delete.inc
./suite/parts/inc/part_supported_sql_funcs_main.inc
./std_data/parts/part_supported_sql_funcs_int_float.inc
./std_data/parts/part_supported_sql_funcs_int_time.inc
./std_data/parts/part_supported_sql_funcs_int_date.inc
./std_data/parts/part_supported_sql_funcs_int_int.inc
  The file above was missing during 5.1.22-rc build.
./std_data/parts/part_supported_sql_funcs_int_ch1.inc

Therefore I close this bug.
There is no documentation needed.