Query tab will now show multiple data tabs if it get's multiple results
with tuples.
This commit is contained in:
parent
424cbc9e2e
commit
b6d986051b
21 changed files with 349 additions and 113 deletions
|
|
@ -4,6 +4,7 @@
|
|||
#include "PgsqlConn.h"
|
||||
#include "win32event.h"
|
||||
#include "connectionconfig.h"
|
||||
#include <QElapsedTimer>
|
||||
#include <functional>
|
||||
#include <mutex>
|
||||
#include <queue>
|
||||
|
|
@ -21,7 +22,7 @@ public:
|
|||
Terminating
|
||||
};
|
||||
|
||||
using on_result_callback = std::function<void(std::shared_ptr<Pgsql::Result>)>;
|
||||
using on_result_callback = std::function<void(std::shared_ptr<Pgsql::Result>, qint64)>;
|
||||
using on_state_callback = std::function<void(State)>;
|
||||
using on_notice_callback = std::function<void(Pgsql::ErrorDetails)>;
|
||||
|
||||
|
|
@ -102,6 +103,7 @@ private:
|
|||
bool terminateRequested = false; ///< is set when the thread should stop
|
||||
bool m_terminated = true;
|
||||
Pgsql::Canceller m_canceller;
|
||||
QElapsedTimer m_timer;
|
||||
|
||||
|
||||
bool makeConnection();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue