diff --git a/dbdimp.c b/dbdimp.c index 8bf05c6a..ef46d677 100644 --- a/dbdimp.c +++ b/dbdimp.c @@ -475,8 +475,7 @@ static char *parse_params( it would be good to be able to handle any number of cases and orders */ if (((*statement_ptr == ' ') || (*statement_ptr == '\n') || (*statement_ptr == '\t')) && - (!strncmp(statement_ptr+1, "limit ", 6) || - !strncmp(statement_ptr+1, "LIMIT ", 6))) + (!strncasecmp(statement_ptr+1, "limit ", 6))) { limit_flag = 1; }