Re: Why doesn't the db grow?

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

include std/console.e, then add this just after the includes:

procedure ShowDBErrors(object x) 
display(db_get_errors()) 
abort(0) 
end procedure 
  
db_fatal_id = routine_id("ShowDBErrors") 

You'll see something like this, which should help with debugging:

{ 
  { 
    903, 
    "no table selected", 
    "db_find_key", 
    { 
      "37.83.183.188", 
      "" 
    } 
  } 
} 

Why no table selected? Your compress routine causes the problem. Move it up to just after the db_open()

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

Search



Quick Links

User menu

Not signed in.

Misc Menu