Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7cb7c63

Browse files
committed
Minor fix (Sybase Adaptive Server Anywhere doesn't have support for tempdb_id())
1 parent 5b8d631 commit 7cb7c63

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/dbms/sybase/fingerprint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def checkDbms(self):
7474
if conf.direct:
7575
result = True
7676
else:
77-
result = inject.checkBooleanExpression("tempdb_id()=tempdb_id()")
77+
result = inject.checkBooleanExpression("@@transtate=@@transtate")
7878

7979
if result:
8080
infoMsg = "confirming %s" % DBMS.SYBASE

0 commit comments

Comments
 (0)