bug fix and slow working

This commit is contained in:
levinsv 2019-01-26 18:29:36 +05:00
parent 7d7dbf3806
commit dfa337816c
7 changed files with 22 additions and 3 deletions

View file

@ -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;
}