ba0.cpp Corretta gestione del flag P nel menu

ba883.cpp     Migliorato bechmark


git-svn-id: svn://10.65.10.50/trunk@3984 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 1996-12-10 08:17:54 +00:00
parent 32b2c2c04d
commit 2d4866ed71
2 changed files with 2 additions and 3 deletions

View File

@ -538,8 +538,7 @@ void TMenu_application::load_menu()
if (module == 0) if (module == 0)
{ {
bool on = TRUE; bool on = TRUE;
if (mod[0] == 'P') // if (mod[0] == 'P') on = user() == "PRASSI"; // Errore MI1639
on = user() == "PRASSI";
_enabled.set(last, on); _enabled.set(last, on);
} }
while(!_enabled[last] && module > 0) while(!_enabled[last] && module > 0)

View File

@ -259,7 +259,7 @@ void TBenchmark_application::test_relation_scan()
TRelation comuni(LF_COMUNI); TRelation comuni(LF_COMUNI);
comuni.add("%UID", "CODTAB=UFFIIDD1"); comuni.add("%UID", "CODTAB=UFFIIDD1");
comuni.first(); comuni.first();
start_test("Scansione relazione COMUNI+%UID"); start_test("Scansione relazione COMUNI+%UID");
for (TRecnotype rec = 0; !comuni.eof(); rec++) for (TRecnotype rec = 0; !comuni.eof(); rec++)