|Subject||Re: [firebird-support] info about firebird.msg|
> Afaik, they are. If you have no firebird.msg available, you will seeUnfortunately, that's not quite true. I have a setup here which
> messages, but in English.
> Seems that sequence is: try to find firebird.msg file and get messages
> from there. If file is not available, use internal (hardcoded) message
> (in English).
- Firebird 1.5 SuperServer running as a service, installed using the
installer with default settings
- Firebird 2.1 SuperServer running as a service, installed from the ZIP
file by hand (firebird/docs/install_windows_manually.txt), with default
settings except that a different service name and different TCP port are
Run a 1.5 GSTAT on a 1.5 database: You get a proper statistics.
Run a 2.1 GSTAT on a 2.1 database: You get statistics where most of the
strings are garbage due to missing messages:
can't format message 21:6 -- message system code -4
Database header page information:
Variable header data:
Sweep interval: 0
can't format message 21:7 -- message system code -4
can't format message 21:9 -- message system code -4
can't format message 21:10 -- message system code -4
can't format message 21:11 -- message system code -4
can't format message 21:12 -- message system code -4
can't format message 21:13 -- message system code -4
0 - 19% = 0
20 - 39% = 0
40 - 59% = 1
60 - 79% = 0
80 - 99% = 31035
Set a FIREBIRD variable to 2.1 directory, THEN run 2.1 GSTAT on a 2.1
database: Proper messages all the way.
Actually, I am quite baffled why this happens: I would understand it if
the server only sent a message code and parameters and client
application located the message in firebird.msg, but apparently that is
not the case - because if it were, most of my clients would not display
any messages at all because they only have the fbclient.dll available,
no other Firebird part. On the other hand, if server is doing the
lookups in firebird.msg, I just don't see why it doesn't use the
firebird.msg file in its directory (after all, unlike the clients it
knows which directory it is).