aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Data.SQLite/SQLiteRegionData.cs
diff options
context:
space:
mode:
authorAdam Frisby2008-01-15 02:09:55 +0000
committerAdam Frisby2008-01-15 02:09:55 +0000
commitb25f9f322cdbcde7fd8c043137bf07992e5ef318 (patch)
tree7c1a5115b2849dfe388b825dd271271d347f9574 /OpenSim/Framework/Data.SQLite/SQLiteRegionData.cs
parentSet svn:eol-style. (diff)
downloadopensim-SC-b25f9f322cdbcde7fd8c043137bf07992e5ef318.zip
opensim-SC-b25f9f322cdbcde7fd8c043137bf07992e5ef318.tar.gz
opensim-SC-b25f9f322cdbcde7fd8c043137bf07992e5ef318.tar.bz2
opensim-SC-b25f9f322cdbcde7fd8c043137bf07992e5ef318.tar.xz
* Mother of all commits:
* Cleaned up copyright notices in AssemblyInfo.cs's * Added Copyright headers to a bunch of files missing them * Replaced several common string instances with a static constant to prevent reallocation of the same strings thousands of times. "" -> String.Empty is the first such candidate.
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Data.SQLite/SQLiteRegionData.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/Data.SQLite/SQLiteRegionData.cs b/OpenSim/Framework/Data.SQLite/SQLiteRegionData.cs
index 33b4111..1fd5c47 100644
--- a/OpenSim/Framework/Data.SQLite/SQLiteRegionData.cs
+++ b/OpenSim/Framework/Data.SQLite/SQLiteRegionData.cs
@@ -1368,7 +1368,7 @@ namespace OpenSim.Framework.Data.SQLite
1368 private SqliteCommand createUpdateCommand(string table, string pk, DataTable dt) 1368 private SqliteCommand createUpdateCommand(string table, string pk, DataTable dt)
1369 { 1369 {
1370 string sql = "update " + table + " set "; 1370 string sql = "update " + table + " set ";
1371 string subsql = ""; 1371 string subsql = String.Empty;
1372 foreach (DataColumn col in dt.Columns) 1372 foreach (DataColumn col in dt.Columns)
1373 { 1373 {
1374 if (subsql.Length > 0) 1374 if (subsql.Length > 0)
@@ -1396,7 +1396,7 @@ namespace OpenSim.Framework.Data.SQLite
1396 private string defineTable(DataTable dt) 1396 private string defineTable(DataTable dt)
1397 { 1397 {
1398 string sql = "create table " + dt.TableName + "("; 1398 string sql = "create table " + dt.TableName + "(";
1399 string subsql = ""; 1399 string subsql = String.Empty;
1400 foreach (DataColumn col in dt.Columns) 1400 foreach (DataColumn col in dt.Columns)
1401 { 1401 {
1402 if (subsql.Length > 0) 1402 if (subsql.Length > 0)