Files
MaxScale/server/modules
Johan Wikman 033ef59c01 MXS-1733 Match empty values
If a table/database rule has been provided then if the resultset
does not contain table/database names, then we consider it a match
(subject to the column obviously).

Otherwise a rule like

        {
            "replace": {
                "table": "info",
                "column": "email"
            },
            "with": {
                "fill": "*"
            }
        }

could be bypassed with a statement like

    SELECT * FROM info UNION SELECT * from info

as the resultset in that case will not indicate that the column emain
is from info, which it will if the statement is

    SELECT * FROM info;
2018-03-26 10:02:57 +03:00
..
2018-03-26 10:02:57 +03:00
2017-06-01 10:24:20 +03:00
2018-03-14 14:29:56 +02:00
2017-02-15 09:31:14 +02:00