*** QueryNormalizer.cs 2010-10-21 23:12:14.000000000 +0200 --- QueryNormalizer.cs 2010-10-21 23:17:42.924904001 +0200 *************** *** 324,330 **** pos++; if (c == '\'') tokens.Add(new Token(TokenType.String, "?")); ! else tokens.Add(new Token(TokenType.Identifier, fullSql.Substring(start, pos - start))); } --- 324,330 ---- pos++; if (c == '\'') tokens.Add(new Token(TokenType.String, "?")); ! else if (pos <= fullSql.Length) tokens.Add(new Token(TokenType.Identifier, fullSql.Substring(start, pos - start))); }