mirror of
https://github.com/levinsv/pgadmin3.git
synced 2026-09-04 22:02:34 -06:00
bug fix and slow working
This commit is contained in:
parent
7d7dbf3806
commit
dfa337816c
7 changed files with 22 additions and 3 deletions
|
|
@ -67,6 +67,7 @@ int ctlComboBoxFix::FillOidKey(pgConn *conn, const wxChar *qry)
|
|||
{
|
||||
int cnt = 0;
|
||||
pgSetIterator set(conn->ExecuteSet(qry));
|
||||
Freeze();
|
||||
while (set.RowsLeft())
|
||||
{
|
||||
OID oid = set.GetOid(0);
|
||||
|
|
@ -74,6 +75,7 @@ int ctlComboBoxFix::FillOidKey(pgConn *conn, const wxChar *qry)
|
|||
Append(txt, oid);
|
||||
cnt++;
|
||||
}
|
||||
Thaw();
|
||||
return cnt;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue