Skip to content

Commit

Permalink
Merge pull request #48 from feenkcom/master
Browse files Browse the repository at this point in the history
Fix the order of how P3Client>>#query: records #sql_source
  • Loading branch information
svenvc authored Jan 9, 2024
2 parents a3058be + 0e6c430 commit 8006d95
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions P3/P3Client.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down

0 comments on commit 8006d95

Please sign in to comment.