Re: Problems with EDB

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

Hi Evans,

I think the problem is that you're giving the wrong parameter to db_create_table.

As you can see in the manual, http://openeuphoria.org/docs/std_eds.html#_4237_db_create_table , the second parameter is the default reserved records space, DB_LOCK_NO is 0 which is wrong, the default is 50 defined as DEF_INIT_RECORDS.

This should probably be fixed because a table with 0 reserved space should grow gracefuly, but you can skip this and pass the correct value to start working :)

Cheers,
Guillermo

PS: You can skip db_find_key, db_insert will fail returning DB_EXISTS_ALREADY in the second Key1 insertion.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu