aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/SQLite/SQLiteUserData.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Data/SQLite/SQLiteUserData.cs')
-rw-r--r--OpenSim/Data/SQLite/SQLiteUserData.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteUserData.cs b/OpenSim/Data/SQLite/SQLiteUserData.cs
index f2d97d7..74d2633 100644
--- a/OpenSim/Data/SQLite/SQLiteUserData.cs
+++ b/OpenSim/Data/SQLite/SQLiteUserData.cs
@@ -1195,14 +1195,14 @@ namespace OpenSim.Data.SQLite
1195 1195
1196 private void setupAgentCommands(SqliteDataAdapter da, SqliteConnection conn) 1196 private void setupAgentCommands(SqliteDataAdapter da, SqliteConnection conn)
1197 { 1197 {
1198 da.InsertCommand = SQLiteUtil.createInsertCommand( "useragents", ds.Tables["useragents"]); 1198 da.InsertCommand = SQLiteUtil.createInsertCommand("useragents", ds.Tables["useragents"]);
1199 da.InsertCommand.Connection = conn; 1199 da.InsertCommand.Connection = conn;
1200 1200
1201 da.UpdateCommand = SQLiteUtil.createUpdateCommand( "useragents", "UUID=:UUID", ds.Tables["useragents"]); 1201 da.UpdateCommand = SQLiteUtil.createUpdateCommand("useragents", "UUID=:UUID", ds.Tables["useragents"]);
1202 da.UpdateCommand.Connection = conn; 1202 da.UpdateCommand.Connection = conn;
1203 1203
1204 SqliteCommand delete = new SqliteCommand( "delete from useragents where UUID = :ProfileID"); 1204 SqliteCommand delete = new SqliteCommand("delete from useragents where UUID = :ProfileID");
1205 delete.Parameters.Add( SQLiteUtil.createSqliteParameter( "ProfileID", typeof(String))); 1205 delete.Parameters.Add(SQLiteUtil.createSqliteParameter("ProfileID", typeof(String)));
1206 delete.Connection = conn; 1206 delete.Connection = conn;
1207 da.DeleteCommand = delete; 1207 da.DeleteCommand = delete;
1208 } 1208 }