I downloaded ibpp from www.ibpp.org
and compiled the tests project using VC6.
When running it from debug mode, Test1-Test5 was ok.
However Test6() raisied the following exception:
// Connecting two users
db1 = IBPP::DatabaseFactory(ServerName, DbName, "EPOCMAN", "test");
IBPP::Database db2 = IBPP::DatabaseFactory(ServerName, DbName, UserName, Password);
// Checking their names
if (usernames.size() != 2)
_Success = false;
printf(_(" Expected 2 users connected, found %d.\n"), (int)usernames.size());
printf(" Connected users : ");
for (unsigned int i = 0; i < usernames.size(); i++)
if (i < usernames.size()-1) printf(", ");
The above code seems to expect to get two users, but
usernames.size() returned 1, not 2 and.
Is this normal?
I haven't changed anything from the tests project at all.
Olivier Mascia from ibpp said:
FB2.5 changed a lot of semantic details about user management and reporting. The old reporting method (calling isc_database_info with a resquest for isc_info_user_names) might not return all connected users anymore, might return them all except the current one running the query, or might have a minor bug - compared to previous FB versions).
Please confirm if FB2.5 changed that way compared to previous FB versions.