Re: [gnome-db] Access files
- From: Rodrigo Moya <rodrigo gnome-db org>
- To: Brian Bruns <camber ais org>
- Cc: GDA <gnome-db-list gnome org>
- Subject: Re: [gnome-db] Access files
- Date: 28 Dec 2002 00:51:05 +0100
On Fri, 2002-12-27 at 23:26, Brian Bruns wrote:
> >
> > BTW, I'm having problems with current CVS mdb-tools. I've got this code:
> >
> > mdb_cnc = g_new0 (GdaMdbConnection, 1);
> > mdb_cnc->cnc = cnc;
> > mdb_cnc->server_version = NULL;
> > mdb_cnc->mdb = mdb_open (filename);
> > if (!mdb_cnc->mdb) {
> > gda_connection_add_error_string (cnc, _("Could not open file %s"),
> > filename);
> > g_free (mdb_cnc);
> > return FALSE;
> > }
> >
> > mdb_read_catalog (mdb_cnc->mdb, MDB_TABLE);
> >
> > when running this code, when making the call to mdb_read_catalog, I get:
> >
> > 0040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
>
> >
> > usage map found on page 6 start 64 end 2047
> > Segmentation fault
> >
> > any idea what's happening?
>
> You may want to refresh from CVS, I'm in pretty heavy development right
> now since I'm off work until after new years. I'm trying to keep my
> checkins functional, but not always successfully. ;-)
>
yeah, updating CVS removed the big message, but not the segmentation
fault. It works for another .mdb file I've downloaded, so I assume it's
something to do with the .mdb file I'm using for that (Adam, that's the
file you sent me). So, would you like me to send you that file?
cheers
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]