Failing test cases for bug 821692 and bug 984053.

This commit is contained in:
Daniel Nichter
2013-08-03 10:50:17 -07:00
parent 0ed1fac51d
commit cce1420736

View File

@@ -1412,6 +1412,28 @@ is(
'distills SELECT with REPLACE function (issue 1176)' 'distills SELECT with REPLACE function (issue 1176)'
); );
# LOAD DATA
# https://bugs.launchpad.net/percona-toolkit/+bug/821692
# INSERT and REPLACE without INTO
# https://bugs.launchpad.net/percona-toolkit/+bug/984053
is(
$qr->distill("LOAD DATA LOW_PRIORITY LOCAL INFILE 'file' INTO TABLE tbl"),
"LOAD DATA tbl",
"distill LOAD DATA (bug 821692)"
);
is(
$qr->distill("insert ignore_bar (id) values (4029731)"),
"INSERT ignore_bar",
"distill INSERT without INTO (bug 984053)"
);
is(
$qr->distill("replace ignore_bar (id) values (4029731)"),
"REPLACE ignore_bar",
"distill REPLACE without INTO (bug 984053)"
);
# ############################################################################# # #############################################################################
# Done. # Done.
# ############################################################################# # #############################################################################