aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/PGSQL/PGSQLGridUserData.cs
diff options
context:
space:
mode:
authorDavid Walter Seikel2016-11-03 21:44:39 +1000
committerDavid Walter Seikel2016-11-03 21:44:39 +1000
commit134f86e8d5c414409631b25b8c6f0ee45fbd8631 (patch)
tree216b89d3fb89acfb81be1e440c25c41ab09fa96d /OpenSim/Data/PGSQL/PGSQLGridUserData.cs
parentMore changing to production grid. Double oops. (diff)
downloadopensim-SC-134f86e8d5c414409631b25b8c6f0ee45fbd8631.zip
opensim-SC-134f86e8d5c414409631b25b8c6f0ee45fbd8631.tar.gz
opensim-SC-134f86e8d5c414409631b25b8c6f0ee45fbd8631.tar.bz2
opensim-SC-134f86e8d5c414409631b25b8c6f0ee45fbd8631.tar.xz
Initial update to OpenSim 0.8.2.1 source code.
Diffstat (limited to '')
-rw-r--r--OpenSim/Data/PGSQL/PGSQLGridUserData.cs (renamed from OpenSim/Data/MSSQL/MSSQLGridUserData.cs)16
1 files changed, 10 insertions, 6 deletions
diff --git a/OpenSim/Data/MSSQL/MSSQLGridUserData.cs b/OpenSim/Data/PGSQL/PGSQLGridUserData.cs
index 9e215f9..89319f3 100644
--- a/OpenSim/Data/MSSQL/MSSQLGridUserData.cs
+++ b/OpenSim/Data/PGSQL/PGSQLGridUserData.cs
@@ -33,24 +33,23 @@ using System.Threading;
33using log4net; 33using log4net;
34using OpenMetaverse; 34using OpenMetaverse;
35using OpenSim.Framework; 35using OpenSim.Framework;
36using System.Data.SqlClient;
37 36
38namespace OpenSim.Data.MSSQL 37namespace OpenSim.Data.PGSQL
39{ 38{
40 /// <summary> 39 /// <summary>
41 /// A MSSQL Interface for Avatar Storage 40 /// A PGSQL Interface for Avatar Storage
42 /// </summary> 41 /// </summary>
43 public class MSSQLGridUserData : MSSQLGenericTableHandler<GridUserData>, 42 public class PGSQLGridUserData : PGSQLGenericTableHandler<GridUserData>,
44 IGridUserData 43 IGridUserData
45 { 44 {
46// private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); 45// private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
47 46
48 public MSSQLGridUserData(string connectionString, string realm) : 47 public PGSQLGridUserData(string connectionString, string realm) :
49 base(connectionString, realm, "GridUserStore") 48 base(connectionString, realm, "GridUserStore")
50 { 49 {
51 } 50 }
52 51
53 public GridUserData Get(string userID) 52 public new GridUserData Get(string userID)
54 { 53 {
55 GridUserData[] ret = Get("UserID", userID); 54 GridUserData[] ret = Get("UserID", userID);
56 55
@@ -60,5 +59,10 @@ namespace OpenSim.Data.MSSQL
60 return ret[0]; 59 return ret[0];
61 } 60 }
62 61
62 public GridUserData[] GetAll(string userID)
63 {
64 return base.Get(String.Format("\"UserID\" LIKE '{0}%'", userID));
65 }
66
63 } 67 }
64} 68}