Files
MaxScale/maxscale-system-test/fw/pass12
Markus Mäkelä 11bf5d2412 MXS-1389: Add tests for function use with columns
The test checks that only the functions that aren't allowed are blocked.
2017-09-08 09:31:38 +03:00

8 lines
260 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;
SELECT CAST(name AS TEXT), CAST(address AS TEXT), SUM(email) FROM t1;