MXS-3404 Add tests for all trim() cases

This commit is contained in:
Johan Wikman 2021-03-01 08:30:29 +02:00
parent 38e623df9c
commit 49d56c31bc

View File

@ -167,3 +167,7 @@ USE `test`;
# MXS-3404
# qc_mysqlembedded claims that "trim(LEADING ...)" is ltrim, to avoid that we use BOTH.
SELECT rdba_test() AS crmid, trim(BOTH 0 FROM @@server_id);
SELECT trim(@@server_id);
SELECT trim("text");
SELECT trim(BOTH " " FROM " text");
SELECT trim(BOTH FROM " text");