diff options
author | Adam Frisby | 2008-05-01 16:23:53 +0000 |
---|---|---|
committer | Adam Frisby | 2008-05-01 16:23:53 +0000 |
commit | 01f31fd933bbaec246d2fef5756b7d83be7980e0 (patch) | |
tree | 45ce7727e83238bf492924bea3ff5f0b6c82acbc /OpenSim/Data/SQLite/SQLiteRegionData.cs | |
parent | * In ur code. Making it static. (diff) | |
download | opensim-SC-01f31fd933bbaec246d2fef5756b7d83be7980e0.zip opensim-SC-01f31fd933bbaec246d2fef5756b7d83be7980e0.tar.gz opensim-SC-01f31fd933bbaec246d2fef5756b7d83be7980e0.tar.bz2 opensim-SC-01f31fd933bbaec246d2fef5756b7d83be7980e0.tar.xz |
* Breaking all the code, breaking all the code..!
* Made a bunch more members static, removed some dead code, general cleaning.
Diffstat (limited to 'OpenSim/Data/SQLite/SQLiteRegionData.cs')
-rw-r--r-- | OpenSim/Data/SQLite/SQLiteRegionData.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Data/SQLite/SQLiteRegionData.cs b/OpenSim/Data/SQLite/SQLiteRegionData.cs index 9a610a4..9908735 100644 --- a/OpenSim/Data/SQLite/SQLiteRegionData.cs +++ b/OpenSim/Data/SQLite/SQLiteRegionData.cs | |||
@@ -1352,7 +1352,7 @@ namespace OpenSim.Data.SQLite | |||
1352 | * | 1352 | * |
1353 | **********************************************************************/ | 1353 | **********************************************************************/ |
1354 | 1354 | ||
1355 | private SqliteCommand createInsertCommand(string table, DataTable dt) | 1355 | private static SqliteCommand createInsertCommand(string table, DataTable dt) |
1356 | { | 1356 | { |
1357 | /** | 1357 | /** |
1358 | * This is subtle enough to deserve some commentary. | 1358 | * This is subtle enough to deserve some commentary. |
@@ -1387,7 +1387,7 @@ namespace OpenSim.Data.SQLite | |||
1387 | return cmd; | 1387 | return cmd; |
1388 | } | 1388 | } |
1389 | 1389 | ||
1390 | private SqliteCommand createUpdateCommand(string table, string pk, DataTable dt) | 1390 | private static SqliteCommand createUpdateCommand(string table, string pk, DataTable dt) |
1391 | { | 1391 | { |
1392 | string sql = "update " + table + " set "; | 1392 | string sql = "update " + table + " set "; |
1393 | string subsql = String.Empty; | 1393 | string subsql = String.Empty; |
@@ -1415,7 +1415,7 @@ namespace OpenSim.Data.SQLite | |||
1415 | } | 1415 | } |
1416 | 1416 | ||
1417 | 1417 | ||
1418 | private string defineTable(DataTable dt) | 1418 | private static string defineTable(DataTable dt) |
1419 | { | 1419 | { |
1420 | string sql = "create table " + dt.TableName + "("; | 1420 | string sql = "create table " + dt.TableName + "("; |
1421 | string subsql = String.Empty; | 1421 | string subsql = String.Empty; |
@@ -1457,7 +1457,7 @@ namespace OpenSim.Data.SQLite | |||
1457 | /// for us. | 1457 | /// for us. |
1458 | ///</summary> | 1458 | ///</summary> |
1459 | ///<returns>a built sqlite parameter</returns> | 1459 | ///<returns>a built sqlite parameter</returns> |
1460 | private SqliteParameter createSqliteParameter(string name, Type type) | 1460 | private static SqliteParameter createSqliteParameter(string name, Type type) |
1461 | { | 1461 | { |
1462 | SqliteParameter param = new SqliteParameter(); | 1462 | SqliteParameter param = new SqliteParameter(); |
1463 | param.ParameterName = ":" + name; | 1463 | param.ParameterName = ":" + name; |