Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUmadevi S <uma@mono-cvs.ximian.com>2004-07-12 07:43:51 +0400
committerUmadevi S <uma@mono-cvs.ximian.com>2004-07-12 07:43:51 +0400
commit02bd80ed4bf4db31020de435b5eb43a89d8c17e7 (patch)
tree441963a225bec6f7a8f6fe599dc6ff199e97f757
parentd9777b761c7162a9d03c017d9f44769adeef1f8d (diff)
2004-07-12 Umadevi S <sumadevi@novell.com>
* Tokenizer.cs - read an Int64 from the text instead of Int32. Resolves bug 61203 svn path=/branches/mono-1-0/mcs/; revision=31030
-rw-r--r--mcs/class/System.Data/Mono.Data.SqlExpressions/ChangeLog3
-rw-r--r--mcs/class/System.Data/Mono.Data.SqlExpressions/Tokenizer.cs2
2 files changed, 4 insertions, 1 deletions
diff --git a/mcs/class/System.Data/Mono.Data.SqlExpressions/ChangeLog b/mcs/class/System.Data/Mono.Data.SqlExpressions/ChangeLog
index e4266e2d3cd..f633f97c624 100644
--- a/mcs/class/System.Data/Mono.Data.SqlExpressions/ChangeLog
+++ b/mcs/class/System.Data/Mono.Data.SqlExpressions/ChangeLog
@@ -1,3 +1,6 @@
+2004-07-12 Umadevi S <sumadevi@novell.com>
+ * Tokenizer.cs - read an Int64 from the text instead of Int32. Resolves bug 61203
+
2004-06-17 Boris Kirzner <borisk@mainsoft.com>
* Comparison.cs - use 'as' to avoid NullReferenceExeption in casting.
diff --git a/mcs/class/System.Data/Mono.Data.SqlExpressions/Tokenizer.cs b/mcs/class/System.Data/Mono.Data.SqlExpressions/Tokenizer.cs
index a9b427d1bf0..c3b4eb1faf8 100644
--- a/mcs/class/System.Data/Mono.Data.SqlExpressions/Tokenizer.cs
+++ b/mcs/class/System.Data/Mono.Data.SqlExpressions/Tokenizer.cs
@@ -122,7 +122,7 @@ namespace Mono.Data.SqlExpressions {
string str = sb.ToString ();
if (str.IndexOf(".") == -1)
- return int.Parse (str);
+ return Int64.Parse (str);
else
return double.Parse (str);
}