[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:
David Villalobos Cambronero 2008-10-21 21:56:00 +00:00
parent 9841e47829
commit 0d73b5ad0d

View file

@ -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