Added --preserve-embedded-numbers. Still nedd to add tests

This commit is contained in:
Carlos Salguero
2016-08-23 12:59:54 -03:00
parent 68f373b8b4
commit 2b5e82c27c
4 changed files with 43 additions and 1 deletions

View File

@@ -1465,6 +1465,18 @@ is(
);
$qr = new QueryRewriter(
QueryParser => $qp,
match_embedded_numbers => 1,
);
is(
$qr->fingerprint(
"SELECT * FROM prices2.t1 where id=1"
),
"select * from prices2.t1 where id=?",
"Fingerprint db.tbl<number>name (preserve number)"
);
# #############################################################################
# Done.