aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Data.SQLite/SQLiteBase.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Framework/Data.SQLite/SQLiteBase.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Framework/Data.SQLite/SQLiteBase.cs b/OpenSim/Framework/Data.SQLite/SQLiteBase.cs
index 9131a41..87d63a5 100644
--- a/OpenSim/Framework/Data.SQLite/SQLiteBase.cs
+++ b/OpenSim/Framework/Data.SQLite/SQLiteBase.cs
@@ -98,7 +98,7 @@ namespace OpenSim.Framework.Data.SQLite
98 protected static SqliteCommand createUpdateCommand(string table, string pk, DataTable dt) 98 protected static SqliteCommand createUpdateCommand(string table, string pk, DataTable dt)
99 { 99 {
100 string sql = "update " + table + " set "; 100 string sql = "update " + table + " set ";
101 string subsql = ""; 101 string subsql = String.Empty;
102 foreach (DataColumn col in dt.Columns) 102 foreach (DataColumn col in dt.Columns)
103 { 103 {
104 if (subsql.Length > 0) 104 if (subsql.Length > 0)
@@ -126,7 +126,7 @@ namespace OpenSim.Framework.Data.SQLite
126 protected static string defineTable(DataTable dt) 126 protected static string defineTable(DataTable dt)
127 { 127 {
128 string sql = "create table " + dt.TableName + "("; 128 string sql = "create table " + dt.TableName + "(";
129 string subsql = ""; 129 string subsql = String.Empty;
130 foreach (DataColumn col in dt.Columns) 130 foreach (DataColumn col in dt.Columns)
131 { 131 {
132 if (subsql.Length > 0) 132 if (subsql.Length > 0)