[cvsnt] Possible Audit problem....

Bo Berglund bo.berglund at telia.com
Sat Nov 15 17:21:13 GMT 2008


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


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
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook