[cvsnt] Possible Audit problem....
Bo Berglund
bo.berglund at telia.com
Sat Nov 15 17:21:13 GMT 2008
On Sat, 15 Nov 2008 10:17:15 +1100, "Arthur Barrett"
<arthur.barrett at march-hare.com> wrote:
>Bo,
>
>>
>> From which server version does it do this?
>>
>
>No idea - that's why I said I'd check.
>
>It'll be in triggers/audit.cpp
>
>It may even be in the release notes.
>
Looks like it is done in audit_trigger.cpp rev 1.1.2.49:
g_nSessionId = g_pDb->ExecuteAndReturnIdentity("Insert Into %s
(Command, StartTime, Hostname, Username, SessionId, VirtRepos,
PhysRepos, Client) Values (?,'%s',?,?,'%s',?,?,'%1.63s')",
The '%1.63s' at the end for parameter Client seems like a formatting
sentence to truncate to max 63 chars.
The log message says:
Bug5293: client_version should be truncated in audit.
So I guess that's it. According to the tags the first version that
used this is 2.5.04.3107
--
/Bo
(Bo Berglund, developer in Sweden)
More information about the cvsnt
mailing list