fix: comparison that should have been assignment
Didn't cause any bugs because the state was not used after that point however it would have cause issues when that changed later.
This commit is contained in:
parent
4ea388cad7
commit
83122e89df
1 changed files with 1 additions and 1 deletions
|
|
@ -227,7 +227,7 @@ QString ConvertLangToSqlString(const QString &in)
|
|||
// that doesn't matter however as we are just trying to strip everything which is not SQL.
|
||||
while (index < in.length() && (in[index].isSpace() || in[index] == '+' || in[index] == '.')) ++index;
|
||||
if (index == in.length()) {
|
||||
state == END;
|
||||
state = END;
|
||||
break;
|
||||
}
|
||||
// Assume quotes can vary
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue