mariadb/mysql-test/lib
Oleksandr Byelkin d185f1d68b Fix use of require in mysql-test-run.
The motivation for this is that Perl is moving towards not having
current directory ./ in @INC by default. This is causing
mysql-test-run.pl to fail in latest Debian Unstable:

  https://lists.debian.org/debian-devel-announce/2016/08/msg00013.html

However, we have `use "lib"`, there is no need for current directory
in @INC, except for a gross hack. In mtr_cases.pm, there is a
`require "mtr_misc.pl"`, which hides mtr_misc.pl away in mtr_cases
namespace. And things only work because mysql-test-run.pl loads it
with a different name, `require "lib/mtr_misc.pl"`! (Perl will
`require` only once for each unique filename).

Fix this by only using `require` in main program, and referencing
functions with :: scope from other namespaces. For multi-use in
different namespaces, proper `use` modules should be used.

Signed-off-by: Kristian Nielsen <knielsen@knielsen-hq.org>
2017-04-19 14:30:52 +02:00
..
My MDEV-10907 MTR and server writes can interleave in the error log 2016-09-27 12:34:15 +00:00
t Updated/added copyright headers 2011-06-30 17:46:53 +02:00
v1 mysql-5.5.34 merge 2013-11-19 13:16:25 +01:00
generate-ssl-certs.sh MDEV-7859 SSL hostname verification fails for long subject names 2015-04-27 15:42:12 +02:00
mtr_cases.pm Fix use of require in mysql-test-run. 2017-04-19 14:30:52 +02:00
mtr_gcov.pl Initail merge with MySQL 5.1 (XtraDB still needs to be merged) 2011-11-21 19:13:14 +02:00
mtr_gprof.pl Initail merge with MySQL 5.1 (XtraDB still needs to be merged) 2011-11-21 19:13:14 +02:00
mtr_io.pl MDEV-10907 MTR and server writes can interleave in the error log 2016-09-27 12:34:15 +00:00
mtr_match.pm Updated/added copyright header. Added line "use is subject to license terms" 2014-02-17 18:19:04 +05:30
mtr_misc.pl per-file combinations 2012-02-06 21:36:56 +01:00
mtr_process.pl 5.3 merge 2012-01-13 15:50:02 +01:00
mtr_report.pm Fix use of require in mysql-test-run. 2017-04-19 14:30:52 +02:00
mtr_results.pm WL #5680 MTR results written to file with well defined format 2011-05-09 16:07:43 +02:00
mtr_stress.pl Updated/added copyright headers 2011-06-30 17:37:13 +02:00
mtr_unique.pm Updated/added copyright headers 2011-06-30 17:37:13 +02:00
process-purecov-annotations.pl Gcov support improvements 2009-09-18 05:15:29 +04:00