Skip to content

Commit 314800c

Browse files
committed
Converting db type to lowercase for handling case sensitivity
1 parent 2cf6861 commit 314800c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Framework/Built_In_Automation/Database/BuiltInFunctions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def db_get_connection():
170170
if ":" in db_host:
171171
db_host, db_port = db_host.rsplit(":", 1)
172172
db_port = int(db_port)
173-
if "oracle" in db_type:
173+
if "oracle" in db_type.lower():
174174
db_sid = g(DB_SID)
175175
db_service_name = g(DB_SERVICE_NAME)
176176

0 commit comments

Comments
 (0)