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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham 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!m7g2000cwm.googlegroups.com!not-for-mail From: "Ludovic Brenta" Newsgroups: comp.lang.ada Subject: Re: GNADE Date: 26 Oct 2006 01:57:35 -0700 Organization: http://groups.google.com Message-ID: <1161853054.962477.305130@m7g2000cwm.googlegroups.com> References: <1161797141.981098.135130@i42g2000cwa.googlegroups.com> <87bqo0qlc5.fsf@ludovic-brenta.org> <1161812412.559468.4880@e3g2000cwe.googlegroups.com> NNTP-Posting-Host: 212.190.145.10 Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: posting.google.com 1161853060 31596 127.0.0.1 (26 Oct 2006 08:57:40 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Thu, 26 Oct 2006 08:57:40 +0000 (UTC) In-Reply-To: <1161812412.559468.4880@e3g2000cwe.googlegroups.com> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7,gzip(gfe),gzip(gfe) X-HTTP-Via: 1.1 SEVPXS01 Complaints-To: groups-abuse@google.com Injection-Info: m7g2000cwm.googlegroups.com; posting-host=212.190.145.10; posting-account=ZjNXewwAAADyBPkwI57_UcX8yKfXWOss Xref: g2news2.google.com comp.lang.ada:7210 Date: 2006-10-26T01:57:35-07:00 List-Id: 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.