8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 22:43:03 +01:00
This commit is contained in:
alexpeshkoff 2007-04-28 07:01:27 +00:00
parent 883478a09d
commit 4407a805f8

View File

@ -373,7 +373,8 @@ public:
~UserPrint()
{
print();
// print data, accumulated for last user
newUser();
}
void clear()
@ -382,7 +383,7 @@ public:
gid = uid = 0;
}
void print()
void newUser()
{
if (!hasData)
{
@ -449,7 +450,7 @@ bool printInfo(const char* p, UserPrint& up)
p += sizeof(unsigned short);
break;
case isc_spb_sec_username:
up.print();
up.newUser();
getLine(up.login, p);
break;
case isc_spb_sec_firstname: