Richard Frith-Macdonald
|
6c64e4cb9d
|
consistently call -disconnect when connection is losts (so transaction end
ivar/lock adjustmentt is done).
|
2019-03-11 10:37:49 +00:00 |
|
Richard Frith-Macdonald
|
0fa39b65e0
|
Don't try to rollback wrapped transaction on exception if that exception was
telling us the database connection was lost (implicit rollback occurred).
|
2019-03-11 09:37:02 +00:00 |
|
Richard Frith-Macdonald
|
d6e4ccdb3e
|
another quoting check fix
|
2019-03-09 09:39:34 +00:00 |
|
Richard Frith-Macdonald
|
0bb38c5def
|
revert exttra un-proxy
|
2019-03-09 06:56:15 +00:00 |
|
Richard Frith-Macdonald
|
97216727ff
|
improve diagnostics
|
2019-03-09 06:29:13 +00:00 |
|
Richard Frith-Macdonald
|
7b7d207f45
|
make code a bit clearer ... no functional change
|
2019-03-07 15:20:43 +00:00 |
|
Richard Frith-Macdonald
|
9ba41b6d5b
|
Merge branch 'master' of ssh://github.com/gnustep/libs-sqlclient
|
2019-03-07 15:09:56 +00:00 |
|
Richard Frith-Macdonald
|
b176015f28
|
Don't set flag to say we are in a transaction unless the sql executes
|
2019-03-07 15:09:15 +00:00 |
|
Wolfgang Lux
|
048b1a76f8
|
Fix insertTransaction:atIndex: to work as advertised
|
2019-03-07 14:14:59 +01:00 |
|
Richard Frith-Macdonald
|
92e2b06efc
|
Improve warnings about literals
|
2019-03-07 12:06:34 +00:00 |
|
Richard Frith-Macdonald
|
cfae0876cc
|
Merge branch 'master' of ssh://github.com/gnustep/libs-sqlclient
|
2019-03-07 11:06:11 +00:00 |
|
Richard Frith-Macdonald
|
e0fdb1ce9a
|
more quoting fixes
|
2019-03-07 11:05:25 +00:00 |
|
Wolfgang Lux
|
debbd3c763
|
Fix minor space leak in the Postgres backendConnect method
|
2019-03-01 13:31:43 +01:00 |
|
Richard Frith-Macdonald
|
e8eeb75eca
|
add missing file
|
2019-02-28 16:58:11 +00:00 |
|
Richard Frith-Macdonald
|
b9a45a2fc4
|
add new method to pool
|
2019-02-28 16:57:41 +00:00 |
|
Richard Frith-Macdonald
|
8302102928
|
More sql injection prevention code
|
2019-02-28 16:51:49 +00:00 |
|
Richard Frith-Macdonald
|
1138287eb0
|
fixup adding prepared statement lost in last change
|
2019-02-19 15:36:59 +00:00 |
|
Richard Frith-Macdonald
|
d82d973983
|
remove deprecated transaction merging.
|
2019-02-19 13:55:31 +00:00 |
|
Wolfgang Lux
|
5201c42e01
|
Fix optimization to reuse small data values in Postgres query results so
that it actually works.
|
2019-01-24 11:39:28 +01:00 |
|
Wolfgang Lux
|
d52ddbd2f3
|
Avoid loss of precision when quoting floagint-point numbers
|
2018-11-23 14:48:25 +01:00 |
|
fredkiefer
|
aeb14dc493
|
* SQLClient.m: Fix some spelling errors.
|
2018-07-27 10:21:10 +02:00 |
|
Richard Frith-Macdonald
|
43bf08a70f
|
Make SQLTransaction methods thread-safe
|
2018-06-29 09:22:13 +01:00 |
|
Richard Frith-Macdonald
|
f570253b40
|
fixup for {key?default} syntax
|
2018-04-16 16:45:25 +01:00 |
|
Richard Frith-Macdonald
|
cdf753373f
|
fix checking ownership to allow for pools when checking transactions for insert
|
2017-12-05 14:26:36 +00:00 |
|
Richard Frith-Macdonald
|
9c2fcd8816
|
Avoid compiler warning
|
2017-11-29 10:05:19 +00:00 |
|
Richard Frith-Macdonald
|
a35a811727
|
Try again
|
2017-11-29 10:01:06 +00:00 |
|
Richard Frith-Macdonald
|
14e6d5a928
|
missed case in last change
|
2017-11-29 09:36:38 +00:00 |
|
Richard Frith-Macdonald
|
9e68a4d102
|
fix error quoting 32bit int
|
2017-11-28 16:08:17 +00:00 |
|
Richard Frith-Macdonald
|
1cc4f410e7
|
Add convenience methods for quoting as booleans
|
2017-11-22 10:57:19 +00:00 |
|
Richard Frith-Macdonald
|
2900203c67
|
Simplify database notification observation
|
2017-09-19 11:28:05 +01:00 |
|
Richard Frith-Macdonald
|
e23f3b66a5
|
fixup
|
2017-08-31 11:38:53 +01:00 |
|
Richard Frith-Macdonald
|
2be5efdd46
|
Making ready for release
|
2017-08-31 11:05:08 +01:00 |
|
Richard Frith-Macdonald
|
d33b4b5114
|
add new method to attempt connect without retry
|
2017-08-29 21:35:59 +01:00 |
|
Richard Frith-Macdonald
|
174af22f97
|
fixup test for connection loss
|
2017-08-28 08:23:19 +01:00 |
|
Richard Frith-Macdonald
|
d3a5c50890
|
If connection is lost during a rollback, the rollback is expected to have
succeeded (lost connection implies transaction not committed).
|
2017-08-27 18:06:29 +01:00 |
|
Richard Frith-Macdonald
|
9e722821c8
|
reconnect tweaks
|
2017-08-27 16:37:21 +01:00 |
|
Richard Frith-Macdonald
|
1dcbdc7226
|
remove unused method
|
2017-08-27 16:14:30 +01:00 |
|
Richard Frith-Macdonald
|
8b5db03110
|
More auto retry code
|
2017-08-27 16:13:10 +01:00 |
|
Richard Frith-Macdonald
|
24cb65059f
|
have connect retry automatically
|
2017-08-27 12:41:22 +01:00 |
|
Richard Frith-Macdonald
|
48c8018343
|
don't listen unless connection succeeded
|
2017-08-25 22:30:44 +01:00 |
|
Richard Frith-Macdonald
|
09526be014
|
fix typo
|
2017-08-25 10:37:52 +01:00 |
|
Richard Frith-Macdonald
|
017a6165ee
|
fix typo
|
2017-08-25 10:36:39 +01:00 |
|
Richard Frith-Macdonald
|
396dcb0355
|
fixups for notification file handle monitoring
|
2017-08-25 10:33:55 +01:00 |
|
Richard Frith-Macdonald
|
b4dd6312fe
|
Fix to make all disconnects clean up the same way.
|
2017-08-15 12:38:10 +01:00 |
|
Richard Frith-Macdonald
|
6102dddbcc
|
Fix for clean handling of loss of database server connection when we are
listening for notifications.
|
2017-08-15 11:13:06 +01:00 |
|
Richard Frith-Macdonald
|
c48ce0e78e
|
missed parameter type change
|
2017-07-10 10:30:39 +01:00 |
|
Richard Frith-Macdonald
|
086c59480d
|
Add more quoting convenience methods
|
2017-07-10 10:04:32 +01:00 |
|
Richard Frith-Macdonald
|
9c86e53072
|
The build... methods should return a literal
|
2017-07-05 15:25:13 +01:00 |
|
Richard Frith-Macdonald
|
9ba044c0ea
|
Chenges to avoid warning/error messages
|
2017-07-05 10:41:27 +01:00 |
|
Richard Frith-Macdonald
|
85cc5451be
|
Improve compile time checking of arguments
|
2017-07-05 10:21:11 +01:00 |
|