diff options
author | Diva Canto | 2013-07-02 15:48:30 -0700 |
---|---|---|
committer | Diva Canto | 2013-07-02 15:48:30 -0700 |
commit | 9725b829d5e476fc6b0894b46520ff1d7aba9936 (patch) | |
tree | f8716202d5a98898e63992481ff3042a7b7c3c48 /OpenSim | |
parent | Really make it call the method with the query interface (diff) | |
download | opensim-SC_OLD-9725b829d5e476fc6b0894b46520ff1d7aba9936.zip opensim-SC_OLD-9725b829d5e476fc6b0894b46520ff1d7aba9936.tar.gz opensim-SC_OLD-9725b829d5e476fc6b0894b46520ff1d7aba9936.tar.bz2 opensim-SC_OLD-9725b829d5e476fc6b0894b46520ff1d7aba9936.tar.xz |
Do the same for SQLite and MSSQL
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Data/MSSQL/MSSQLGridUserData.cs | 2 | ||||
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteGridUserData.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Data/MSSQL/MSSQLGridUserData.cs b/OpenSim/Data/MSSQL/MSSQLGridUserData.cs index df73e5b..7d10955 100644 --- a/OpenSim/Data/MSSQL/MSSQLGridUserData.cs +++ b/OpenSim/Data/MSSQL/MSSQLGridUserData.cs | |||
@@ -62,7 +62,7 @@ namespace OpenSim.Data.MSSQL | |||
62 | 62 | ||
63 | public GridUserData[] GetAll(string userID) | 63 | public GridUserData[] GetAll(string userID) |
64 | { | 64 | { |
65 | return base.Get("UserID LIKE {0}%", userID); | 65 | return base.Get(String.Format("UserID LIKE {0}%", userID)); |
66 | } | 66 | } |
67 | 67 | ||
68 | } | 68 | } |
diff --git a/OpenSim/Data/SQLite/SQLiteGridUserData.cs b/OpenSim/Data/SQLite/SQLiteGridUserData.cs index 54cef1a..799df91 100644 --- a/OpenSim/Data/SQLite/SQLiteGridUserData.cs +++ b/OpenSim/Data/SQLite/SQLiteGridUserData.cs | |||
@@ -58,7 +58,7 @@ namespace OpenSim.Data.SQLite | |||
58 | 58 | ||
59 | public GridUserData[] GetAll(string userID) | 59 | public GridUserData[] GetAll(string userID) |
60 | { | 60 | { |
61 | return base.Get("UserID LIKE {0}%", userID); | 61 | return base.Get(String.Format("UserID LIKE {0}%", userID)); |
62 | } | 62 | } |
63 | 63 | ||
64 | } | 64 | } |