Commit graph

  • db1ff663f6 Fix buffer overrun master rfm 2025-02-18 17:32:45 +0000
  • 9f90bdc755 Another fix for modern runtimes not handling resurrection of objects rfm 2025-01-02 16:28:55 +0000
  • 1ec70f9323 fix for ARC and bug in date comparison rfm 2024-11-28 17:51:45 +0000
  • f84f1f0487 Add -dealloc implementation for SQLString to null-out the pointer and break cyclic references. rfm 2024-11-28 16:40:34 +0000
  • 78a66c1a75 Copy rather than retaining when making a literal string rfm 2024-08-06 13:06:15 +0100
  • 2c9070cfd0 Remove instance from global tables in -release rather than -dealloc to avoid race condition where a deallocated instance could be retrieved from table. rfm 2024-07-09 09:31:43 +0100
  • 936410c7e6 add debug rfm 2024-02-07 14:11:02 +0000
  • 848c1fa4ac improve debug output rfm 2024-02-07 12:29:58 +0000
  • aa3262a521 Parse microseconds rfm 2024-01-26 15:30:31 +0000
  • 527735d95a revert error rfm 2024-01-26 15:25:18 +0000
  • c307374590 fix stupid error in previous update rfm 2024-01-26 15:10:44 +0000
  • 68678b864e Fix for millisecond timestamp info rfm 2024-01-26 14:12:01 +0000
  • 3e35662803 Make lock reporting threshold go to zero if in debug or recording all queries. rfm 2023-11-24 13:37:35 +0000
  • 16d56c5395 Report lock delays as part of query duration logging rfm 2023-11-23 10:07:23 +0000
  • 218578aa95 Add connect_timeout= option Richard Frith-Macdonald 2023-08-16 16:22:29 +0100
  • 14dcbf5c7f make release sqlclient-1_9_0 Richard Frith-Macdonald 2023-01-13 15:00:52 +0000
  • 465bcaa70d Avoid possible nil pointer dereference if a poll is created with nil clients. Richard Frith-Macdonald 2022-10-19 19:17:41 +0100
  • 346f114fc6 fix dead assignment Richard Frith-Macdonald 2022-09-27 10:21:04 +0100
  • 36fe235dba Track committed transactions Richard Frith-Macdonald 2022-07-14 15:08:13 +0100
  • 4f622fb975 check that config passed to -setOptions: is a dictionary Richard Frith-Macdonald 2022-06-09 07:23:30 +0100
  • 34aec94427 Add option to require encrypted connection. Richard Frith-Macdonald 2022-06-08 16:43:13 +0100
  • a8f405c563 Prevent runaway looping if database connection is lost: re-establish connection to database before retrying quuery/execute. Richard Frith-Macdonald 2020-09-02 14:44:44 +0100
  • 267987d01c Reinstate fix to avoid deadlock while purging pool Wolfgang Lux 2020-09-01 15:24:16 +0200
  • 4c2a293640 Copying literal strings should just retain them. Richard Frith-Macdonald 2020-08-13 01:43:08 +0100
  • ce149e7ee3 Fixup for array quoting to retain old behavio of the -quoteArray: method while adding a new safe method which quotes strings in the array. Richard Frith-Macdonald 2020-08-12 20:30:46 +0100
  • 8335ce336a fix error in method name Richard Frith-Macdonald 2020-08-12 20:17:18 +0100
  • a496d0dd8e Fixup for quoted array Richard Frith-Macdonald 2020-08-12 19:56:50 +0100
  • 869cfda7d1 ensure max pool connections setting is sane (if less than 1, assume 5) Richard Frith-Macdonald 2020-07-02 17:51:53 +0100
  • 7a142e57c4 Efficiency tweak Richard Frith-Macdonald 2020-06-04 16:45:17 +0100
  • d7a3c06c8b query result containers must implement -count Richard Frith-Macdonald 2020-06-04 10:14:34 +0100
  • cd7daff661 Tidy new logs Richard Frith-Macdonald 2020-06-04 09:41:55 +0100
  • 76fd64f7c3 Tidy loging Richard Frith-Macdonald 2020-06-04 09:32:08 +0100
  • 76e72d3c0f In duration logging report the number of records returned/affected Richard Frith-Macdonald 2020-06-04 09:29:46 +0100
  • 76ea8d486e Make sure we flush buffered database notifications Richard Frith-Macdonald 2020-04-22 07:56:04 +0100
  • da1b900b92 Merge branch 'master' of ssh://github.com/gnustep/libs-sqlclient Richard Frith-Macdonald 2020-04-21 10:53:12 +0100
  • dc7955472e Change notification code to de-duplicate notifications if/when postgres sends many copies of the same notification at the same time. Also change the code to queue notifications in the thread that received them (as documented) and only queue them in the main thread if the receiving thread does not have an active run loop. Richard Frith-Macdonald 2020-04-21 10:51:54 +0100
  • 1b44a32f31 Bring MySQL backend back to life for the GNUstep Objective-C runtime Wolfgang Lux 2020-04-13 15:38:51 +0200
  • 7851639677 Eventually reconfigure a client connection that gets reused Wolfgang Lux 2020-04-08 14:24:39 +0200
  • 535914366a Eventually reconfigure a client connection that gets reused. Wolfgang Lux 2020-04-06 09:04:08 +0200
  • 1a0d338a78 fixup logging on connect Richard Frith-Macdonald 2020-03-21 17:27:18 +0000
  • ca2f44a323 Improve logging of timings (log time taken for connection separately from that to query/execute a statement). Richard Frith-Macdonald 2020-03-21 17:15:27 +0000
  • c3557e74be make aware of tiny strings Richard Frith-Macdonald 2020-02-27 14:55:59 +0000
  • a9588e8073 changes to avoid deadlock Richard Frith-Macdonald 2020-02-25 11:21:11 +0000
  • fea9797591 New SQLString implementation Richard Frith-Macdonald 2020-02-14 17:04:24 +0000
  • 94f644590a Remove some redundant code Richard Frith-Macdonald 2020-02-11 15:32:49 +0000
  • bb47241044 Fix notinifcation posting to refrain from coalescing Richard Frith-Macdonald 2020-01-22 12:29:27 +0000
  • ec590a5253 Hide database connection password from debug logs Wolfgang Lux 2019-12-11 09:40:12 +0100
  • 5d099c8557 fix error in exception text Richard Frith-Macdonald 2019-08-06 18:52:50 +0100
  • 46cf998afc Improve duration/debug logging Richard Frith-Macdonald 2019-07-29 12:33:42 +0100
  • 085c36c340 Hide structure definition from public interface, as it is incompatible with ARC Wolfgang Lux 2019-07-14 10:28:27 +0200
  • 4fdcad1440 Rewrite release method to become portable accross Objective-C runtimes Wolfgang Lux 2019-05-03 17:45:54 +0200
  • 6c64e4cb9d consistently call -disconnect when connection is losts (so transaction end ivar/lock adjustmentt is done). Richard Frith-Macdonald 2019-03-11 10:37:49 +0000
  • 0fa39b65e0 Don't try to rollback wrapped transaction on exception if that exception was telling us the database connection was lost (implicit rollback occurred). Richard Frith-Macdonald 2019-03-11 09:37:02 +0000
  • d6e4ccdb3e another quoting check fix Richard Frith-Macdonald 2019-03-09 09:39:34 +0000
  • 0bb38c5def revert exttra un-proxy Richard Frith-Macdonald 2019-03-09 06:56:15 +0000
  • 97216727ff improve diagnostics Richard Frith-Macdonald 2019-03-09 06:29:13 +0000
  • 7b7d207f45 make code a bit clearer ... no functional change Richard Frith-Macdonald 2019-03-07 15:20:43 +0000
  • 9ba41b6d5b Merge branch 'master' of ssh://github.com/gnustep/libs-sqlclient Richard Frith-Macdonald 2019-03-07 15:09:56 +0000
  • b176015f28 Don't set flag to say we are in a transaction unless the sql executes Richard Frith-Macdonald 2019-03-07 15:09:15 +0000
  • 048b1a76f8 Fix insertTransaction:atIndex: to work as advertised Wolfgang Lux 2019-03-07 14:08:31 +0100
  • 92e2b06efc Improve warnings about literals Richard Frith-Macdonald 2019-03-07 12:06:34 +0000
  • cfae0876cc Merge branch 'master' of ssh://github.com/gnustep/libs-sqlclient Richard Frith-Macdonald 2019-03-07 11:06:11 +0000
  • e0fdb1ce9a more quoting fixes Richard Frith-Macdonald 2019-03-07 11:05:25 +0000
  • debbd3c763 Fix minor space leak in the Postgres backendConnect method Wolfgang Lux 2019-02-28 18:55:23 +0100
  • e8eeb75eca add missing file Richard Frith-Macdonald 2019-02-28 16:58:11 +0000
  • b9a45a2fc4 add new method to pool Richard Frith-Macdonald 2019-02-28 16:57:41 +0000
  • 8302102928 More sql injection prevention code Richard Frith-Macdonald 2019-02-28 16:51:49 +0000
  • 1138287eb0 fixup adding prepared statement lost in last change Richard Frith-Macdonald 2019-02-19 15:36:59 +0000
  • d82d973983 remove deprecated transaction merging. Richard Frith-Macdonald 2019-02-19 13:55:31 +0000
  • 5201c42e01 Fix optimization to reuse small data values in Postgres query results so that it actually works. Wolfgang Lux 2019-01-24 11:39:28 +0100
  • d52ddbd2f3 Avoid loss of precision when quoting floagint-point numbers Wolfgang Lux 2018-11-23 14:46:01 +0100
  • aeb14dc493 * SQLClient.m: Fix some spelling errors. fredkiefer 2018-07-27 10:21:10 +0200
  • 43bf08a70f Make SQLTransaction methods thread-safe Richard Frith-Macdonald 2018-06-29 09:22:13 +0100
  • f570253b40 fixup for {key?default} syntax Richard Frith-Macdonald 2018-04-16 16:45:25 +0100
  • cdf753373f fix checking ownership to allow for pools when checking transactions for insert Richard Frith-Macdonald 2017-12-05 14:26:36 +0000
  • 9c2fcd8816 Avoid compiler warning Richard Frith-Macdonald 2017-11-29 10:05:19 +0000
  • a35a811727 Try again Richard Frith-Macdonald 2017-11-29 10:01:06 +0000
  • 14e6d5a928 missed case in last change Richard Frith-Macdonald 2017-11-29 09:36:38 +0000
  • 9e68a4d102 fix error quoting 32bit int Richard Frith-Macdonald 2017-11-28 16:08:17 +0000
  • 1cc4f410e7 Add convenience methods for quoting as booleans Richard Frith-Macdonald 2017-11-22 10:57:19 +0000
  • 2900203c67 Simplify database notification observation Richard Frith-Macdonald 2017-09-19 11:28:05 +0100
  • e23f3b66a5 fixup Richard Frith-Macdonald 2017-08-31 11:38:53 +0100
  • 2be5efdd46 Making ready for release Richard Frith-Macdonald 2017-08-31 11:05:08 +0100
  • d33b4b5114 add new method to attempt connect without retry Richard Frith-Macdonald 2017-08-29 21:35:59 +0100
  • 174af22f97 fixup test for connection loss Richard Frith-Macdonald 2017-08-28 08:23:19 +0100
  • d3a5c50890 If connection is lost during a rollback, the rollback is expected to have succeeded (lost connection implies transaction not committed). Richard Frith-Macdonald 2017-08-27 18:06:29 +0100
  • 9e722821c8 reconnect tweaks Richard Frith-Macdonald 2017-08-27 16:37:21 +0100
  • 1dcbdc7226 remove unused method Richard Frith-Macdonald 2017-08-27 16:14:30 +0100
  • 8b5db03110 More auto retry code Richard Frith-Macdonald 2017-08-27 16:13:10 +0100
  • 24cb65059f have connect retry automatically Richard Frith-Macdonald 2017-08-27 12:41:22 +0100
  • 48c8018343 don't listen unless connection succeeded Richard Frith-Macdonald 2017-08-25 22:30:44 +0100
  • 09526be014 fix typo Richard Frith-Macdonald 2017-08-25 10:37:52 +0100
  • 017a6165ee fix typo Richard Frith-Macdonald 2017-08-25 10:36:39 +0100
  • 396dcb0355 fixups for notification file handle monitoring Richard Frith-Macdonald 2017-08-25 10:33:55 +0100
  • b4dd6312fe Fix to make all disconnects clean up the same way. Richard Frith-Macdonald 2017-08-15 12:38:10 +0100
  • 6102dddbcc Fix for clean handling of loss of database server connection when we are listening for notifications. Richard Frith-Macdonald 2017-08-15 11:13:06 +0100
  • c48ce0e78e missed parameter type change Richard Frith-Macdonald 2017-07-10 10:30:39 +0100
  • 086c59480d Add more quoting convenience methods Richard Frith-Macdonald 2017-07-10 10:04:32 +0100
  • 9c86e53072 The build... methods should return a literal Richard Frith-Macdonald 2017-07-05 15:25:13 +0100
  • 9ba044c0ea Chenges to avoid warning/error messages Richard Frith-Macdonald 2017-07-05 10:41:27 +0100