[GB.DB.MSYQL]
* NEW: Added Id function to MySQL class that returns the connection Id. git-svn-id: svn://localhost/gambas/trunk@1648 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
9841e47829
commit
0d73b5ad0d
1 changed files with 7 additions and 0 deletions
|
@ -262,3 +262,10 @@ Private Function Query_Read() As String
|
|||
Return modMain.$Query
|
||||
|
||||
End
|
||||
|
||||
Public Function Id() As String
|
||||
|
||||
modMain.$Query = "SELECT CONNECTION_ID()"
|
||||
Return modMain.$Connection.Exec(modMain.$Query)["CONNECTION_ID()"]
|
||||
|
||||
End
|
||||
|
|
Loading…
Reference in a new issue