Skip site navigation (1) Skip section navigation (2)

SVN Commit by dpage: r5497 - in trunk/pgadmin3/src: base ctl include/base

From: svn(at)pgadmin(dot)org
To: pgadmin-hackers(at)postgresql(dot)org
Subject: SVN Commit by dpage: r5497 - in trunk/pgadmin3/src: base ctl include/base
Date: 2006-10-16 20:36:25
Message-ID: 200610162036.k9GKaPls027381@developer.pgadmin.org (view raw or flat)
Thread:
Lists: pgadmin-hackers
Author: dpage

Date: 2006-10-16 21:36:25 +0100 (Mon, 16 Oct 2006)

New Revision: 5497

Revision summary: http://svn.pgadmin.org/cgi-bin/viewcvs.cgi/?rev=5497&view=rev

Log:
Clear down the results grid before running any new queries to ensure we don't accidentally try to grab column headers from parts of the cache that no longer exist. Whilst we're at it, const-ify some pgSet functions, and add some asserts to catch similar issues a bit more easily in the future. Thanks to George Pavlov for figuring out a useful test case.


Modified:
   trunk/pgadmin3/src/base/pgSetBase.cpp
   trunk/pgadmin3/src/ctl/ctlSQLResult.cpp
   trunk/pgadmin3/src/include/base/pgSetBase.h

pgadmin-hackers by date

Next:From: Dave PageDate: 2006-10-16 20:40:41
Subject: Re: pgAdmin beta 3 query bug (got a reproducible case!)
Previous:From: Martin J├╝rgensDate: 2006-10-16 11:56:28
Subject: Re: Bug: "New Server" demands password

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group