[GRASS-dev] Re: [GRASS-trac] #7: Location wizard: should predefine
DB connection for new location
Moritz Lennert
mlennert at club.worldonline.be
Mon Jan 21 04:16:25 EST 2008
On 21/01/08 04:47, GRASS-trac wrote:
> #7: Location wizard: should predefine DB connection for new location
> ----------------------+-----------------------------------------------------
> Reporter: neteler | Owner: grass-dev at lists.osgeo.org
> Type: defect | Status: new
> Priority: major | Milestone: 6.3.0
> Component: default | Version: svn-trunk
> Resolution: | Keywords:
> ----------------------+-----------------------------------------------------
> Comment (by hamish):
> For fixing C modules it should be as hard as testing a return value and
> calling G_fatal_error() with "DB unset. Please run db.select".
> For scripts it should be as simple as either calling db.select in the
> script if unset or just letting the C module's G_fatal_error() spit out
> the appropriate error.
I imagine you mean db.connect instead of db.select...
Moritz
More information about the grass-dev
mailing list