Skip to content
This repository has been archived by the owner on Sep 15, 2022. It is now read-only.

Commit

Permalink
Fix a crash that occured if selecting a schema containing a domain.
Browse files Browse the repository at this point in the history
  • Loading branch information
akshay-joshi authored and dpage committed Nov 27, 2012
1 parent 808478e commit 0a6f2c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pgadmin/schema/pgDomain.cpp
Expand Up @@ -286,7 +286,7 @@ pgObject *pgDomainFactory::CreateObjects(pgCollection *collection, ctlTree *brow
{
while (!domains->Eof())
{
domain = new pgDomain(collection->GetSchema()->GetSchema(), domains->GetVal(wxT("domname")));
domain = new pgDomain(collection->GetSchema(), domains->GetVal(wxT("domname")));

domain->iSetOid(domains->GetOid(wxT("oid")));
domain->iSetOwner(domains->GetVal(wxT("domainowner")));
Expand Down

0 comments on commit 0a6f2c6

Please sign in to comment.