diff --git a/uppsrc/Sql/SqlCase.cpp b/uppsrc/Sql/SqlCase.cpp index 3836855f4..6e6fbcd96 100644 --- a/uppsrc/Sql/SqlCase.cpp +++ b/uppsrc/Sql/SqlCase.cpp @@ -31,25 +31,6 @@ T ReadSqlValue(T& x, const char *&s) { return x; } -static String SqlFormat__(const char *s, int res, bool mysql) { - if(!s || !*s) return "NULL"; - String result; - result.Reserve(res); - result.Cat("\'"); - for(; *s; s++) { - if(*s == '\'') - result.Cat(mysql ? "\\\'" : "\'\'"); - else { - if((*s == '\"' || *s == '\\') && mysql) - result.Cat('\\'); - result.Cat(*s); - } - } - result.Cat('\''); - return result; -} - - void SqlCompile(const char *&s, StringBuffer *r, byte dialect) { for(;;) {