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:
authorAtsushi Eno <atsushieno@gmail.com>2004-05-27 13:46:48 +0400
committerAtsushi Eno <atsushieno@gmail.com>2004-05-27 13:46:48 +0400
commit75d61ade9d5162f863c9d9ea138f47583f6b15ef (patch)
tree67369020e5ae8bd9e71c170afa906148febe8963 /mcs/class/System.Data/System.Data.OleDb
parent7f63eeafcd94acaf1395dd98d5929c9f0fbd447b (diff)
2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
* OleDbDataReader.cs : don't output debug message to Console. svn path=/trunk/mcs/; revision=28241
Diffstat (limited to 'mcs/class/System.Data/System.Data.OleDb')
-rw-r--r--mcs/class/System.Data/System.Data.OleDb/ChangeLog4
-rw-r--r--mcs/class/System.Data/System.Data.OleDb/OleDbDataReader.cs4
2 files changed, 8 insertions, 0 deletions
diff --git a/mcs/class/System.Data/System.Data.OleDb/ChangeLog b/mcs/class/System.Data/System.Data.OleDb/ChangeLog
index af91d2be9d7..7b39d309b33 100644
--- a/mcs/class/System.Data/System.Data.OleDb/ChangeLog
+++ b/mcs/class/System.Data/System.Data.OleDb/ChangeLog
@@ -1,3 +1,7 @@
+2004-05-27 Atsushi Enomoto <atsushi@ximian.com>
+
+ * OleDbDataReader.cs : don't output debug message to Console.
+
2004-05-20 Gert Driesen (drieseng@users.sourceforge.net)
* OleDbPermissionAttribute.cs: change AllowMultiple and
diff --git a/mcs/class/System.Data/System.Data.OleDb/OleDbDataReader.cs b/mcs/class/System.Data/System.Data.OleDb/OleDbDataReader.cs
index d4f04cb2b6b..05eba477950 100644
--- a/mcs/class/System.Data/System.Data.OleDb/OleDbDataReader.cs
+++ b/mcs/class/System.Data/System.Data.OleDb/OleDbDataReader.cs
@@ -435,7 +435,9 @@ namespace System.Data.OleDb
if (currentResult == -1) {
// FIXME: throw an exception?
+#if DEBUG_OleDbDataReader
Console.WriteLine("Error: current result -1");
+#endif
return null;
}
@@ -478,7 +480,9 @@ namespace System.Data.OleDb
i);
if (attrs == IntPtr.Zero){
// FIXME: throw exception
+#if DEBUG_OleDbDataReader
Console.WriteLine("Error: attrs null");
+#endif
return null;
}