diff --git a/maxscale-system-test/masking_auto_firewall.cpp b/maxscale-system-test/masking_auto_firewall.cpp index 1d69dd634..af7919e54 100644 --- a/maxscale-system-test/masking_auto_firewall.cpp +++ b/maxscale-system-test/masking_auto_firewall.cpp @@ -84,6 +84,9 @@ void run(TestConnections& test) // This should NOT go through as a function is used with a masked column. test_one(test, "SELECT LENGTH(a), b FROM masking_auto_firewall", Expect::FAILURE); + // This should NOT go through as a function is used with a masked column (that happens to be uppercase). + test_one(test, "SELECT LENGTH(A), b FROM masking_auto_firewall", Expect::FAILURE); + // This SHOULD go through as a function is NOT used with a masked column // in a prepared statement. test_one(test, "PREPARE ps1 FROM 'SELECT a, LENGTH(b) FROM masking_auto_firewall'", Expect::SUCCESS);