diff options
author | Jeff Ames | 2009-06-10 04:28:56 +0000 |
---|---|---|
committer | Jeff Ames | 2009-06-10 04:28:56 +0000 |
commit | a23d64dec1cbf88abc3c7e84664a683dee534e4a (patch) | |
tree | 7e85403f29839775209481ba7f6ee55aac56f209 /OpenSim/Data/SQLite | |
parent | Letting the Flotsam cache be enabled even when [AssetCache] section is missin... (diff) | |
download | opensim-SC_OLD-a23d64dec1cbf88abc3c7e84664a683dee534e4a.zip opensim-SC_OLD-a23d64dec1cbf88abc3c7e84664a683dee534e4a.tar.gz opensim-SC_OLD-a23d64dec1cbf88abc3c7e84664a683dee534e4a.tar.bz2 opensim-SC_OLD-a23d64dec1cbf88abc3c7e84664a683dee534e4a.tar.xz |
Formatting cleanup.
Diffstat (limited to 'OpenSim/Data/SQLite')
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteUserData.cs | 8 |
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 | } |