SELECT COUNT(*) FROM `data` WHERE `name` LIKE '%'}}AAABBBCCC{{define "bla"}}bla{{end}}{{define "dfb"}}xyz{{end}}{{template "dfb"}}CCCBBBAAA%'
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 '}}AAABBBCCC{{define "bla"}}bla{{end}}{{define "dfb"}}xyz{{en' at line 1