mirror of
https://github.com/levinsv/pgadmin3.git
synced 2026-05-15 14:15:49 -06:00
fixed bugs in the Linux version and performance
Исправлены пути к файлам для AWR отчетов и сохранения фильтров Log View. Исправлена падение при вызове "Script Recreate Cascade". Убрано повтороное назначение Ctrl-G для "View Filtered Rows" теперь вызов происходит по Ctrl-F. Исправлена работа ctlComboBox. Для повышение производительности отключен поиск не парной скобки для текстов запросов более 100000 байт.
This commit is contained in:
parent
d9a850bc8f
commit
60f519e38e
10 changed files with 63 additions and 57 deletions
|
|
@ -2251,38 +2251,30 @@ if (1==0) {
|
|||
|
||||
|
||||
wxTreeItemId id=item;
|
||||
while ( id.IsOk() &&
|
||||
wxString collTypeName;
|
||||
while ( id.IsOk() &&
|
||||
( browser->GetItemText(id) == wxT("Dummy") && !browser->GetItemData(id)
|
||||
|| true ))
|
||||
{
|
||||
{
|
||||
pgObject *oo= ((pgObject *) browser->GetItemData(id));
|
||||
if (oo) {
|
||||
pgaFactory *ff=oo->GetFactory();
|
||||
fn=ff->GetTypeName();
|
||||
fn=oo->GetName();
|
||||
if (fn==wxT("debug**info_history2")) {
|
||||
fn=oo->GetFullName();
|
||||
pgaFactory *ff=oo->GetFactory();
|
||||
fn=ff->GetTypeName();
|
||||
if (ff==&pg_partitionFactory) {
|
||||
fn=oo->GetFullName();
|
||||
};
|
||||
//oo->ShowTreeDetail(browser);
|
||||
}
|
||||
if ((oo->GetFactory()==&viewFactory || oo->GetFactory()==&tableFactory
|
||||
|| oo->GetFactory()==&pg_partitionFactory )
|
||||
&& fn==table) {
|
||||
break;
|
||||
}
|
||||
collTypeName =ff->GetTypeName();
|
||||
fn=oo->GetName();
|
||||
if ((oo->GetFactory()==&viewFactory || oo->GetFactory()==&tableFactory
|
||||
|| oo->GetFactory()==&pg_partitionFactory )
|
||||
&& fn==table) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
wxCookieType cookie;
|
||||
if ( browser->HasChildren(id) &&((oo->GetFactory()==&viewFactory || oo->GetFactory()==&tableFactory
|
||||
|| oo->GetFactory()==&pg_partitionFactory
|
||||
|| oo->GetFactory()==&schemaFactory
|
||||
||oo->GetFactory()->GetTypeName()==whatfindt
|
||||
||oo->GetFactory()->GetTypeName()==wxT("Constraints")
|
||||
||oo->GetFactory()->GetTypeName()==wxT("Partitions")
|
||||
||oo->GetFactory()->GetTypeName()==wxT("Views")
|
||||
|| collTypeName ==whatfindt
|
||||
|| collTypeName ==wxT("Constraints")
|
||||
|| collTypeName ==wxT("Partitions")
|
||||
|| collTypeName ==wxT("Views")
|
||||
)))
|
||||
{
|
||||
if (oo) oo->ShowTreeDetail(browser);
|
||||
|
|
@ -2301,7 +2293,7 @@ if (1==0) {
|
|||
while (p.IsOk() && !toFind.IsOk());
|
||||
id = toFind;
|
||||
}
|
||||
}
|
||||
}
|
||||
if ( id.IsOk() ) {
|
||||
// найден нужный элемнт
|
||||
pgObject *db=(pgTable *) browser->GetItemData(id);
|
||||
|
|
@ -2362,7 +2354,7 @@ if (1==0) {
|
|||
}
|
||||
else
|
||||
collectSchEl = 0;
|
||||
item = browser->GetNextChild(collect, cookie);
|
||||
item = browser->GetNextChild(collect->GetId(), cookie);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue