Skip to content

Commit

Permalink
Merge pull request #23 from akito0107/fix-spaghettiquery-infinite-loop
Browse files Browse the repository at this point in the history
Fixed true_pattern regular expression of CheckSpaghettiQuery
  • Loading branch information
jarulraj committed Jul 10, 2018
2 parents e10f5f9 + b4f16b9 commit 72ea14f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/list.cpp
Expand Up @@ -771,7 +771,7 @@ void CheckSpaghettiQuery(Configuration& state,
const std::string& sql_statement,
bool& print_statement){

std::regex true_pattern(".*");
std::regex true_pattern(".+");
std::regex false_pattern("pattern must not exist");
std::regex pattern;

Expand Down

0 comments on commit 72ea14f

Please sign in to comment.