Fix bug with execution of sql with no tail and no semicolon at the end - patch by Barbulovski Boris bokic@users.sourceforge.net

This commit is contained in:
tabuleiro
2010-03-22 14:52:14 +00:00
parent 8b9a587679
commit 11b0f7dc83

View File

@@ -883,7 +883,7 @@ void mainForm::executeQuery()
queryErrorLineEdit->setText(lastErrorMessage);
queryResultListView->setResizeMode(Q3ListView::AllColumns);
if(*tail==0) break;
if ((!tail)||(*tail==0)) break;
if(err!=SQLITE_OK) break;
}
}