From 0e6c430d9839e6107a051c8608e66606233b7b98 Mon Sep 17 00:00:00 2001 From: svenvc Date: Tue, 9 Jan 2024 18:36:08 +0100 Subject: [PATCH] Fix the order of how P3Client>>#query: records #sql_source --- P3/P3Client.class.st | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/P3/P3Client.class.st b/P3/P3Client.class.st index 14e5886..f9af252 100644 --- a/P3/P3Client.class.st +++ b/P3/P3Client.class.st @@ -796,11 +796,10 @@ P3Client >> query: query [ ^ self critical: [ self withConnection: [ + self ensureConnected. properties at: #sql_source put: query. - self - ensureConnected; - writeQueryMessage: query; - runQueryResult ] ] + self writeQueryMessage: query. + self runQueryResult ] ] ] { #category : #accessing }