Files
MaxScale/maxscale-system-test/fw/pass13
Markus Mäkelä 1e2e43a96e MXS-1389: Add test for uses_function
The test uses a uses_function type rule to restrict access to the name and
address columns.
2017-09-08 09:31:38 +03:00

6 lines
189 B
Plaintext

DROP TABLE IF EXISTS t1;
CREATE TABLE t1 (name int, address int, email int);
INSERT INTO t1 VALUES (1, 1, 1);
SELECT name, address, email FROM t1;
SELECT name, address, SUM(email) FROM t1;