Re: [Mono-list] Int32

2004-10-31 Thread Sureshkumar T
> From: Pedro Santos <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> X-Mailer: Ximian Evolution 1.4.5-4mdk 
> Subject: [Mono-list] Int32
> Sender: [EMAIL PROTECTED]
> Date: Fri, 29 Oct 2004 14:58:08 +0100
> 
> 
> In 64 bits processor arquitectures(64BA) will Int32 still have 32 bits?
> Would that be a performance issue? And if we have 512BA?
> 

yes. Int32 is always 32 bits.

> My issue is: wouldn't be better to have a C/C++ style int? Like IntPtr
> in the CLI? What are the benefits of a fixed 32 bit integer?
> 

what do you mean by c/c++ style int? still you can use "int" in C#. 

> Thanks.
> 
> -- 
> Pedro Santos 
> "Si minor plus est ergo nihil sunt omnia..."
> 
> ___
> Mono-list maillist  -  [EMAIL PROTECTED]
> http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Looking for a library

2004-11-16 Thread Sureshkumar T
I guess you are talking about ByteFX.Data.dll. It's available in mono
cvs/svn repositary. Otherwise, you could find it with binaries at
www.mono-project.com in download section.

If you have installed mono-1.0.4, you could install just ByteFx.Data
package.

suresh.

> From: Joshua Brickel <[EMAIL PROTECTED]>
> User-Agent: Mozilla Thunderbird 0.9 (X11/20041103)
> To: [EMAIL PROTECTED]
> Subject: [Mono-list] Looking for a library
> Sender: [EMAIL PROTECTED]
> Date: Tue, 16 Nov 2004 18:43:12 -0200
> 
> Hi,
> 
> I've seen from a number of posts that people are using a library 
> specifically designed for MySql with mono.  Could somebody point me in 
> the direction of where I can find this library?  I have tried to compile 
> the sources from the mysql.com website but apparently some of the 
> required attributes have not yet been implimented in mono (problem was 
> in System.Drawing).
> 
> For completenes sake, I am using a Debian system with mono at 1.0.4.
> 
> Regards,
> 
> Joshua
> 
> II
> II AquaNet promises to take care and help its' customers stay safe   
> II This Mail was Scanned By AquaNet's Anti-Virus Server And was Found OK!  
> II  http://www.aquanet.co.il  
> II
> 
> 
> ___
> Mono-list maillist  -  [EMAIL PROTECTED]
> http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] ADO.NET Test Cases

2004-11-23 Thread Sureshkumar T
send to list and if possible, give a small write up about what kind of
test these are. for ex, whether to test Data access classes
(DataReader,etc) or SQL Server/MySQL tests.

thanks,
suresh.

> To: [EMAIL PROTECTED]
> Subject: [Mono-list] ADO.NET Test Cases
> Date: Tue, 23 Nov 2004 19:34:45 -0800
> 
> I have some ADO.NET test cases that I wrote a while back, that I can
> now contribute to Mono.  There are several cases that pass on
> Microsoft.NET but fail on Mono.
> 
> I can send a small zip file to this list, or send it to anyone who
> asks me for it.  Which is the preferred method?
> 
> Sincerely,
> Matt Solnit <[EMAIL PROTECTED]>
> ___
> Mono-list maillist  -  [EMAIL PROTECTED]
> http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] How do I configure DbProviderFactory?

2004-11-28 Thread Sureshkumar T
hi,

  The provider factory implementation is not complete at the moment in
  mono. Though the code is around, it is in the early stages. This
  functionality will be available soon.

Thanks & Regards,
suresh.

> From: "Francisco Figueiredo Jr." <[EMAIL PROTECTED]>
> Subject: [Mono-list] How do I configure DbProviderFactory?
> Date: Sun, 28 Nov 2004 14:11:48 -0200
n> 
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> 
> Hi all,
> 
> Kangaroo made me a feature request to add DbProviderFactory support to
> Npgsql. I searched web and found this article about it:
> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnvs05/html/vsgenerics.asp
> 
> But when I tried a simple test and a user .config file, I couldn't get
> any providers available.
> 
> 
> This is my .config file I created:
> 
___
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] DataSet Merge

2005-03-07 Thread Sureshkumar T

yes. it works fine. I'm looking a bit more into it and checking any
other root cause which could have caused this bug. Otherwise, this will
go into svn soon.

suresh.

> From: [EMAIL PROTECTED]
> To: mono-list@lists.ximian.com
> Subject: Re: [Mono-list] DataSet Merge
> Date: Mon, 7 Mar 2005 16:02:53 +0100 (MET)
> 
> Someone already reviewed the proposed patch from Atsushi? As already said,
> it works fine for me.
> Did the patch already make it into SVN?
> 
> /daniel
> 
> > Hi,
> > 
> > Oh, so I thought that .Merge() report was saying there is no rows
> > added to merged table, but if it means that there are rows but
> > without copying values, yes it looks similar to #73288.
> > 
> > Anyways I posted a patch to bugzilla. Maybe Suresh can review it?
> > 
> > Thanks,
> > Atsushi Eno
> > 
> > 
> > Daniel Freund wrote:
> > > Sound like a similar problem that I have with DataTable.ImportRow
> > > The rows get imported, but they are empty. My code has been working up
> > to
> > > Mono 1.1.3
> > > 
> > > I filed a bug on this including example code and data:
> > > http://bugzilla.ximian.com/show_bug.cgi?id=73288
> > > 
> > > /d 
> > > 
> > > 
> > >>Is anyone using DataSet Merge method and if so are you
> > >>having any trouble with it in 1.0.6 or 1.1.4?
> > >>
> > >>Thanks
> > >>
> > >>__
> > >>Do You Yahoo!?
> > >>Tired of spam?  Yahoo! Mail has the best spam protection around 
> > >>http://mail.yahoo.com 
> > >>___
> > >>Mono-list maillist  -  Mono-list@lists.ximian.com
> > >>http://lists.ximian.com/mailman/listinfo/mono-list
> > >>
> > > 
> > > 
> > 
> > ___
> > Mono-list maillist  -  Mono-list@lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
> > 
> 
> -- 
> SMS bei wichtigen e-mails und Ihre Gedanken sind frei ...
> Alle Infos zur SMS-Benachrichtigung: http://www.gmx.net/de/go/sms
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Strange Error When Populating A DataSet

2005-03-29 Thread Sureshkumar T
On Tue, 2005-03-29 at 16:10 -0500, David P. Donahue wrote:
> When I populate a DataSet from a pretty simple SELECT statement, I 
> notice a strange error:
> 
> "Cannot set column Date to be null, please use dbnull instead"
> 

could you please give a simple code to reproduce this? What dataadapter
you are using? It is also quite good to test that on a 1.1.5 mono code
branch. 

suresh.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Re: [Mono-devel-list] Problem with DbDataAdapter...

2005-05-17 Thread Sureshkumar T
> + bool allowDBNull = 
> value is bool ? (bool)value : false;

default allowDBNull should be true ;-)

suresh.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] OdbcDataReader.cs bug. Attached with fix.

2005-06-13 Thread Sureshkumar T
Please feel free to file a bug report at http://bugzilla.ximian.com
under Sys.Data along with your fix. For the patch diff, use command
"diff -u".

Thanks,
suresh.

On Mon, 2005-06-13 at 15:21 -0700, [EMAIL PROTECTED] wrote:
> 
> I've found a minor bug in OdbcDataReader.cs in the private string []
> GetPrimaryKeys() method. 
> 
> The bug is for the following scenario: 
> 
> 1) Have a table with compound primary keys (in this case, two database
> columns make a row unique). 
> 
> 2) Exercise the query where the selected column in the query is not
> one of the primary key. There is only one field retrieved in the
> Select statement. 
> 
> 3) The bug in the GetPrimaryKeys() was allocated the return keys
> string array based on the number of returned columns in the Select
> statement. 
> In this scenario, the returned column in Select statement is one, and
> the number of primary keys in the table is two. So the bug was
> actually occurred 
> in the while(true) of fetching the primary key from backend database,
> and the while loop is crashing on the second time it retrieves the
> second 
> primary key since the keys[] string array only allocated one slot up
> front. 
> 
> 4) attached is the diff of the OdbcDataReader.cs from tarball 1.1.7
> with the latest from svn (retrieved about 11am June 13th 05). The fix
> that I made to 
> GetPrimaryKeys() method was not to make an assumption of keys[] string
> array to be allocated up front the number of returned columns from
> Select statement. There  
> is a local ArrayList object being introduced to dynamic add the
> primary keys fetched from backend database. As the completion of the
> fetch, then the  
> ArrayList will convert and return an array of string back. The
> signature of the method doesn't change. 
> 
> 5) Please review the fix. I don't know how the procedure once the bug
> review is approved, so please instruct me how to proceed from there. 
> 
> 
> 
> ___
> Mono-list maillist  -  Mono-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list