Browse files

removed brackets from INSERT INTO

  • Loading branch information...
1 parent e120625 commit 9af35f9cc1fac3e6d91beed5f1c3c31717f16722 @randallsutton committed Dec 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Massive.cs
View
2 Massive.cs
@@ -424,7 +424,7 @@ private dynamic BuildPagedResult(string sql = "", string primaryKeyField = "", s
var settings = (IDictionary<string, object>)expando;
var sbKeys = new StringBuilder();
var sbVals = new StringBuilder();
- var stub = "INSERT INTO [{0}] ({1}) \r\n VALUES ({2})";
+ var stub = "INSERT INTO {0} ({1}) \r\n VALUES ({2})";
result = CreateCommand(stub, null);
int counter = 0;
foreach (var item in settings) {

0 comments on commit 9af35f9

Please sign in to comment.