Menu

#1 add meaningful error when no DB

closed
None
5
2014-11-03
2007-10-05
Anonymous
No

When started with no initialized DB, the current failure mode is pretty useless.

% ./geoqo
DBD::SQLite2::st execute failed: no such table: parameters(1) at dbdimp.c line 412 at GeoDB/DB.pm line 286.
DBD::SQLite2::db do failed: no such table: waypoints(1) at dbdimp.c line 412 at GeoDB/DB.pm line 321.
DBD::SQLite2::db do failed: no such table: waypoints(1) at dbdimp.c line 412 at GeoDB/DB.pm line 321.

Discussion

  • Wes Hardaker

    Wes Hardaker - 2007-10-06

    Logged In: YES
    user_id=76242
    Originator: NO

    it now initializes the default db or prints a warning if you're using a non-default DB.

    (not true for non-sqlite DBs still).

     
  • Wes Hardaker

    Wes Hardaker - 2007-10-06
    • assigned_to: nobody --> hardaker
    • status: open --> closed
     

Log in to post a comment.