Merge branch '2.3' into 2.4

This commit is contained in:
Johan Wikman
2019-12-05 16:54:44 +02:00
3 changed files with 61 additions and 9 deletions

View File

@ -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);