[Snort-devel] Duplicate entries

Roman Danyliw roman at ...49...
Fri Sep 13 12:14:03 EDT 2002


I have a patch for this, but there is a stale lock in CVS which needs to be
cleared by Sourceforge so that I can commit it.

Roman

On Fri, 13 Sep 2002 14:59:40 -0400, "Ian Macdonald"
<secsnortdev at ...1490...> wrote :

> Found the notes in the change log for schema 106. I added the column as
> suggested, but I am running into a problem with existing data.
> 
> The plugin should do a
> 
> select @MAX_CID := max(cid) from event where sid = XX;
> update sensor set last_cid = @MAX_CID where sid =XX;
> 
> during startup to make sure that the max CID is correct in the sensor table
> if you have existing data then in column starts off at 0 and you get a whole
> load of errors
> 
> This is with a snapshot from today and mysql
> 
> Ian
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Snort-devel mailing list
> Snort-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/snort-devel
> 
> 
> 
> 




More information about the Snort-devel mailing list