mirror of
https://github.com/MariaDB/server.git
synced 2025-01-23 15:24:16 +01:00
5592d206f8
The current patch -- Adds the ibmdb2i suite -- related include(.inc) files -- tests for Bug#44020 and Bug#44025
20 lines
544 B
PHP
20 lines
544 B
PHP
# Check for IBM i 6.1 or later
|
|
--disable_query_log
|
|
system uname -rv > $MYSQLTEST_VARDIR/tmp/version;
|
|
--disable_warnings
|
|
drop table if exists uname_vr;
|
|
--enable_warnings
|
|
create temporary table uname_vr (r int, v int);
|
|
--disable_warnings
|
|
eval LOAD DATA INFILE "$MYSQLTEST_VARDIR/tmp/version" into table uname_vr fields terminated by ' ';
|
|
--enable_warnings
|
|
let $ok = `select count(*) from uname_vr where v > 5`;
|
|
drop table uname_vr;
|
|
remove_file $MYSQLTEST_VARDIR/tmp/version;
|
|
--enable_query_log
|
|
if (!$ok)
|
|
{
|
|
skip "Need IBM i 6.1 or later";
|
|
}
|
|
|
|
|