/usr/lib/mysql-testsuite/t/function_defaults.test is in mysql-testsuite-5.6 5.6.16-1~exp1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | --echo #
--echo # Test of function defaults for any server, including embedded.
--echo # We run the same tests with different settings for better coverage.
--echo #
--echo #
--echo # Function defaults run 1. No microsecond precision. MyISAM.
--echo #
set default_storage_engine=myisam;
let $current_timestamp=CURRENT_TIMESTAMP;
let $now=NOW();
let $timestamp=TIMESTAMP;
let $datetime=DATETIME;
source 'include/function_defaults.inc';
--echo #
--echo # Function defaults run 2. Six digits scale on seconds
--echo # precision. InnoDB.
--echo #
set default_storage_engine=innodb;
let $current_timestamp=CURRENT_TIMESTAMP(6);
let $now=NOW(6);
let $timestamp=TIMESTAMP(6);
let $datetime=DATETIME(6);
source 'include/function_defaults.inc';
|