From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,72d589f91726c72c X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!postnews.google.com!h48g2000cwc.googlegroups.com!not-for-mail From: "axu" Newsgroups: comp.lang.ada Subject: Re: GNADE Date: 26 Oct 2006 03:17:09 -0700 Organization: http://groups.google.com Message-ID: <1161857829.070692.304330@h48g2000cwc.googlegroups.com> References: <1161797141.981098.135130@i42g2000cwa.googlegroups.com> <87bqo0qlc5.fsf@ludovic-brenta.org> <1161812412.559468.4880@e3g2000cwe.googlegroups.com> <1161853054.962477.305130@m7g2000cwm.googlegroups.com> NNTP-Posting-Host: 89.120.203.180 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1161857834 16629 127.0.0.1 (26 Oct 2006 10:17:14 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 26 Oct 2006 10:17:14 +0000 (UTC) In-Reply-To: <1161853054.962477.305130@m7g2000cwm.googlegroups.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: h48g2000cwc.googlegroups.com; posting-host=89.120.203.180; posting-account=FDJXiA0AAAAevsasUuDe1JGQv3vHmfaA Xref: g2news2.google.com comp.lang.ada:7217 Date: 2006-10-26T03:17:09-07:00 List-Id: I'm sure that is the problem... I use mysql 5.0.22 with gnade 1.5.3b I would try the CVS but I thik I will got the same issue cause the files related to mysql native bindings haven't been updated since 17 months ago. That is more then a year so if I'm not mistaking mysql5 was not realeased then. Well that's it then...I guess odbc it is...:( I wonder how this will affect performance ...but..I'll do it the microsoft way...if it works it does not meter how !! :DD Thanks everyone for your time Alex Ludovic Brenta wrote: > axu wrote: > > Ok I've dig in and found that the exception is raised by the > > Get_Field_Type function in gnu-db-mysql.adb and the cause I belive is > > that the actual mysql type for this field does not have a coresponding > > type in the enumeration Mysql_Field_Types. > > Maybe this is due to using a version of MySQL more recent than the one > GNADE was tested on. Could you tell us the version of GNADE and the > version of MySQL you use? Also, the query you're sending is > database-neutral; it does not require anything specific to MySQL, so > maybe you'd be better off using the generic ODBC interface rather than > the MySQL-specific interface. > > Since the gnade-devel mailing list seems dead indeed, comp.lang.ada is > a good fallback solution; maybe the GNADE developers, seeing revived > interest in the project, will wake up :) > > Please feel free to submit patches to the SourceForge project. I'm not > a GNADE developer myself but I'll apply your patches to the Debian > package that I maintain. > > -- > Ludovic Brenta.