We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d97688 commit 55d8905Copy full SHA for 55d8905
1 file changed
src/MainWindow.cpp
@@ -859,8 +859,9 @@ void MainWindow::executeQuery()
859
int cursor_line, cursor_index;
860
sqlWidget->getEditor()->getCursorPosition(&cursor_line, &cursor_index);
861
execution_start_line = cursor_line;
862
- while(cursor_line < sqlWidget->getEditor()->lines())
863
- query += sqlWidget->getEditor()->text(cursor_line++);
+
+ query = sqlWidget->getEditor()->text(cursor_line);
864
865
singleStep = true;
866
} else {
867
// if a part of the query is selected, we will only execute this part
0 commit comments