Re: eDBI is born, feedback wanted

new topic     » goto parent     » topic index » view thread      » older message » newer message
mattlewis said...
jimcbrown said...

Ah, ok. I got matheval from http://downloads.sourceforge.net/project/matheval/matheval/v1.65/matheval-1-65.zip?use_mirror=voxel but then got the following ex.err:

eusql.e:7651 
<0074>:: Errors resolving the following references: 
	eusql.e (7651): db_rename_table 
 
	db_rename_table( table_name, new_name ) 
	               ^ 

So I changed that to rename_table( db_name, table_name, new_name ) ... but at this point I'm wondering if eusql ever worked.

You've got an old version. Yes, it's the last released version, but it's pretty old. Even so, I can't see why db_rename_table() wouldn't work. It's in both database.e (which you'd be using) and std/eds.e (which the head uses).

I'd recommend using the latest from svn for each:

That code has been updated for version 4 of euphoria. Plus lots of other fixes. The eusql release is now about 50 revisions behind the head of the trunk. Since the main users of eusql have been me and CK, it hasn't been released as often as it probably should have.

Matt

Ah, ok. So I got those two, plus euslibs from https://euslibs.svn.sourceforge.net/svnroot/euslibs/trunk, all checked out into the edbi/drivers/eusql directory.

Then in the edbi/drivers/eusql directory, I run euc -i ../.. -i ./euslibs -i ./eusql -i ./matheval -dll -lib ../../eu.a edbi_eusql.e

That works, and from there I'm able to run example_2.ex and see the machine exception when calling edbi_open()! :) According to gdb, this happens in de_reference() (of be_runtime.c, line 1591) in eui r2932.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu