Skip to content

Commit a9ea00e

Browse files
committed
Revert sync completer.
1 parent 1481190 commit a9ea00e

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

CHANGELOG.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
# Changelog
22

3-
## 2.4.4
4-
5-
- Use `async` `Completer` in query internals, hopefully fixing missing exception propagation and stacktrace.
6-
73
## 2.4.3
84
- Support for clear text passwords using a boolean parameter in connection as 'allowClearTextPassword' to activate / deactivate the feature. [#20](https://github.com/isoos/postgresql-dart/pull/20).
95

lib/src/query.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class Query<T> {
3939

4040
CachedQuery? cache;
4141

42-
final _onComplete = Completer<QueryResult<T>?>();
42+
final _onComplete = Completer<QueryResult<T>?>.sync();
4343
List<FieldDescription>? _fieldDescriptions;
4444

4545
List<FieldDescription>? get fieldDescriptions => _fieldDescriptions;

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: postgres
22
description: PostgreSQL database driver. Supports statement reuse and binary protocol.
3-
version: 2.4.4
3+
version: 2.4.3
44
homepage: https://github.com/isoos/postgresql-dart
55

66
environment:

0 commit comments

Comments
 (0)