List:Commits« Previous MessageNext Message »
From:Reggie Burnett Date:May 10 2011 5:40pm
Subject:bzr commit into connector-net-6.3 branch (reggie.burnett:982)
View as plain text  
#At file:///C:/Users/Reggie/work/connector-net/6.3/ based on revid:reggie.burnett@stripped

  982 Reggie Burnett	2011-05-10
      fix CF compile issue

    modified:
      MySql.Data/Provider/Source/PreparableStatement.cs
=== modified file 'MySql.Data/Provider/Source/PreparableStatement.cs'
=== modified file 'MySql.Data/Provider/Source/PreparableStatement.cs'
--- a/MySql.Data/Provider/Source/PreparableStatement.cs	2011-05-10 16:51:22 +0000
+++ b/MySql.Data/Provider/Source/PreparableStatement.cs	2011-05-10 17:40:04 +0000
@@ -190,7 +190,7 @@
             string parameter = tokenizer.NextParameter();
             while (parameter != null)
             {
-                if (!parameter.Contains(StoredProcedure.ParameterPrefix))
+                if (parameter.IndexOf(StoredProcedure.ParameterPrefix) != -1)
                 {
                     newSQL.Append(sql.Substring(startPos, tokenizer.StartIndex - startPos));
                     newSQL.Append("?");


Attachment: [text/bzr-bundle] bzr/reggie.burnett@oracle.com-20110510174004-0glci4phv14by9eo.bundle
Thread
bzr commit into connector-net-6.3 branch (reggie.burnett:982) Reggie Burnett10 May