Discuz! info: MySQL Query Error

Time: 2019-10-21 6:17am
Script: /viewpro.php

SQL: SELECT * FROM cdb_members m LEFT JOIN cdb_memberfields mf ON mf.uid=m.uid WHERE m.username='w's'fwsf' LIMIT 1
Error: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 's'fwsf' LIMIT 1' at line 1
Errno.: 1064