1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

A fix (bug #5498 TRIM fails with LEADING or TRAILING if remstr = str).

This commit is contained in:
unknown
2004-09-13 14:25:43 +05:00
parent c1e8427686
commit cc98eea53b
3 changed files with 16 additions and 3 deletions

View File

@ -282,3 +282,9 @@ NULL NULL 1 1 n
two 'two' 0 0 'two'
four 'four' 0 0 'four'
drop table t1;
select trim(trailing 'foo' from 'foo');
trim(trailing 'foo' from 'foo')
select trim(leading 'foo' from 'foo');
trim(leading 'foo' from 'foo')