This should have a strong effect on the Unknown User issue mantis #6625

This commit is contained in:
Diva Canto
2013-07-02 14:31:39 -07:00
parent ccca005969
commit e984bfb4c6
6 changed files with 50 additions and 6 deletions

View File

@@ -46,7 +46,7 @@ namespace OpenSim.Data.MySQL
public MySQLGridUserData(string connectionString, string realm) : base(connectionString, realm, "GridUserStore") {}
public GridUserData Get(string userID)
public new GridUserData Get(string userID)
{
GridUserData[] ret = Get("UserID", userID);
@@ -56,6 +56,9 @@ namespace OpenSim.Data.MySQL
return ret[0];
}
public GridUserData[] GetAll(string userID)
{
return base.Get("UserID LIKE {0}%", userID);
}
}
}