From b25f9f322cdbcde7fd8c043137bf07992e5ef318 Mon Sep 17 00:00:00 2001 From: Adam Frisby Date: Tue, 15 Jan 2008 02:09:55 +0000 Subject: * 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. --- OpenSim/Region/Storage/OpenSim.DataStore.MSSQL/MSSQLDataStore.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/Storage/OpenSim.DataStore.MSSQL') diff --git a/OpenSim/Region/Storage/OpenSim.DataStore.MSSQL/MSSQLDataStore.cs b/OpenSim/Region/Storage/OpenSim.DataStore.MSSQL/MSSQLDataStore.cs index ac9b741..d6c4675 100644 --- a/OpenSim/Region/Storage/OpenSim.DataStore.MSSQL/MSSQLDataStore.cs +++ b/OpenSim/Region/Storage/OpenSim.DataStore.MSSQL/MSSQLDataStore.cs @@ -798,7 +798,7 @@ namespace OpenSim.DataStore.MSSQL private SqlCommand createUpdateCommand(string table, string pk, DataTable dt) { string sql = "update " + table + " set "; - string subsql = ""; + string subsql = String.Empty; foreach (DataColumn col in dt.Columns) { if (subsql.Length > 0) @@ -825,7 +825,7 @@ namespace OpenSim.DataStore.MSSQL private string defineTable(DataTable dt) { string sql = "create table " + dt.TableName + "("; - string subsql = ""; + string subsql = String.Empty; foreach (DataColumn col in dt.Columns) { if (subsql.Length > 0) -- cgit v1.1