[MonoDevelop] [PATCH] fixes for Oracle db provider in MonoQuery

Daniel Morgan monodanmorg at yahoo.com
Sun Aug 21 07:22:23 EDT 2005


Opps.  I forgot the patch.

Note: forwarded message attached.


		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 
-------------- next part --------------
An embedded message was scrubbed...
From: Daniel Morgan <monodanmorg at yahoo.com>
Subject: [MonoDevelop] [PATCH] fixes for Oracle db provider in MonoQuery
Date: Sun, 21 Aug 2005 04:19:54 -0700 (PDT)
Size: 3802
Url: http://lists.ximian.com/pipermail/monodevelop-list/attachments/20050821/100a5874/attachment.mht
-------------- next part --------------
Index: OracleDbProvider.cs
===================================================================
--- OracleDbProvider.cs	(revision 2774)
+++ OracleDbProvider.cs	(working copy)
@@ -131,10 +131,13 @@
 		{
 			if (type == typeof(TableSchema))
 				return true;
+			else if (type == typeof(ColumnSchema))
+				return true;
 			else if (type == typeof(ViewSchema))
 				return true;
 			else if (type == typeof(ProcedureSchema))
 				return true;
+/*
 			else if (type == typeof(AggregateSchema))
 				return true;
 			else if (type == typeof(GroupSchema))
@@ -155,6 +158,7 @@
 				return true;
 			else if (type == typeof(RuleSchema))
 				return true;
+*/
 			else
 				return false;
 		}
@@ -168,7 +172,7 @@
 			command.Connection = connection;
 			command.CommandText = SQLText;
 
-			DataSet resultSet = null;
+			DataSet resultSet = new DataSet ();
 
 			lock(adapter) {
 				adapter.SelectCommand = command;


More information about the Monodevelop-list mailing list