Commit graph

12 commits

Author SHA1 Message Date
eelke
b87f587a40 ASyncDBConnectionThread now reports back when it looses the connection 2020-04-04 07:34:31 +02:00
eelke
23165d77c8 Better handling of empty query's. 2019-12-18 19:35:17 +01:00
eelke
ec8cec105f Fix crash when query in query tab returns error 2019-11-20 19:18:51 +01:00
eelke
b90df1cd77 Correctly handle stop request during async connect. 2019-11-09 12:56:02 +01:00
eelke
2c9cda990d The socket should be retrieved within the loop as it is possible
that the socket handle changes.
2019-11-06 20:16:15 +01:00
eelke
6bb5525d5e Switched away from boost::asio as it doesn't play well with libpq 2019-11-06 20:03:27 +01:00
eelke
082293e58a Switched ConnectionConfig to QString from std::string to fit better into Qt framework 2019-09-16 19:24:39 +02:00
eelke
471139ba4d Added getResultNoThrow as the AsyncDBCOnnection doesn't like exceptions. 2018-12-23 12:39:53 +01:00
eelke
5e83094e6a Improved way sockets are closed.
Not 100% sure this is allowed by boost::asio thought a code inspection suggest it does as it is ignoring the error it gets on close.
2018-04-08 09:06:05 +02:00
eelke
2ba27178a2 Double clicking a table now opens a CRUD page for that table however data cannot be changed yet thought it will display an editbox. 2018-01-09 20:39:43 +01:00
eelke
abd4020ddf Decided to use signal slot mechanism
The automatic cross thread activation  is probably worth it.
2018-01-08 20:54:03 +01:00
eelke
f4538069cb Moved several files from pglab project to pglablib 2017-12-29 10:21:10 +01:00
Renamed from pglab/ASyncDBConnection.cpp (Browse further)