[Maria-developers] MDEV 10754 - Patch for trim functions