Skip to content
This repository was archived by the owner on Jul 20, 2023. It is now read-only.

Commit 8fc712f

Browse files
authored
Update PostgreSQLClient.gd
1 parent 01f44ba commit 8fc712f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PostgreSQLClient.gd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ var status_ssl = 0
8383

8484
var global_url = ""
8585
var startup_message: PoolByteArray
86-
var next_etape := 0
86+
var next_etape := false
8787
var con_ssl: bool
8888

8989
## Allows you to connect to a Postgresql backend at the specified url.
@@ -126,7 +126,7 @@ func connect_to_host(url: String, ssl := false, connect_timeout := 30) -> int:
126126
#if (error == OK)
127127
# Get the fist message of server.
128128
if error == OK:
129-
next_etape = 1
129+
next_etape = true
130130
else:
131131
print("[PostgreSQLClient:%d] Invalid host Postgres." % [get_instance_id()])
132132
else:

0 commit comments

Comments
 (0)