@@ -500,9 +500,9 @@ const char *MyResultSetView::CleanSqlTail(const char *dirty) { // strips any leading white-space const char *p = dirty; - while (p != '\0') + while (*p != '\0') { if (*p == ' ') { p++;