List:Commits« Previous MessageNext Message »
From:Reggie Burnett Date:December 14 2010 10:26pm
Subject:bzr commit into connector-net-6.0 branch (reggie.burnett:855) Bug#58757
View as plain text  
#At file:///C:/Documents%20and%20Settings/Reggie/work/connector-net/6.0/ based on revid:reggie.burnett@stripped

  855 Reggie Burnett	2010-12-14
      - fixed unnecessary string code in MySqlTokenizer (bug #58757)

    modified:
      CHANGES
      MySql.Data/Provider/Source/common/MySqlTokenizer.cs
=== modified file 'CHANGES'
=== modified file 'CHANGES'
--- a/CHANGES	2010-12-14 20:48:01 +0000
+++ b/CHANGES	2010-12-14 22:26:14 +0000
@@ -17,6 +17,7 @@
   exception is generated (bug #58652)
 - removed extra call to Update in MySqlDataAdapter introduced with bug fix to bug #54863.
   It seems to not be necessary (bug #58853)
+- fixed unnecessary string code in MySqlTokenizer (bug #58757)
 
 Version 6.0.7
 - Fix authorization popup after modifying stored procedure in VS (Bug #44715)

=== modified file 'MySql.Data/Provider/Source/common/MySqlTokenizer.cs'
--- a/MySql.Data/Provider/Source/common/MySqlTokenizer.cs	2010-04-27 16:16:29 +0000
+++ b/MySql.Data/Provider/Source/common/MySqlTokenizer.cs	2010-12-14 22:26:14 +0000
@@ -145,7 +145,6 @@
             while (FindToken())
             {
                 if ((stopIndex - startIndex) < 2) continue;
-                string token = sql.Substring(startIndex, stopIndex - startIndex).Trim();
                 char c1 = sql[startIndex];
                 char c2 = sql[startIndex+1];
                 if (c1 == '?' ||


Attachment: [text/bzr-bundle] bzr/reggie.burnett@oracle.com-20101214222614-ejtr82ixvhw660f4.bundle
Thread
bzr commit into connector-net-6.0 branch (reggie.burnett:855) Bug#58757Reggie Burnett14 Dec