[prev in list] [next in list] [prev in thread] [next in thread] 

List:       prelude-devel
Subject:    [prelude-devel] [prelude-manager 0000084]: SQL date output bugus in
From:       bts () prelude-ids ! org
Date:       2004-02-22 17:45:55
Message-ID: 20040222174555.7A7E15C35C () mail ! prelude-ids ! org
[Download RAW message or body]


The following bug has been CLOSED
======================================================================
http://bugs.prelude-ids.org/bug_view_advanced_page.php?bug_id=0000084
======================================================================
Reporter:                   Landmir
Handler:                    LeRoutier
======================================================================
Project:                    prelude-manager
Bug ID:                     84
Category:                   
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
======================================================================
Date Submitted:             06-10-2003 10:31 CEST
Last Modified:              02-22-2004 18:45 CET
======================================================================
Summary:                    SQL date output bugus in idmef_util.c
Description: 
idmef_util.c:132
Change
        ret = strftime(outptr, size, "%Y-%m-%d%H:%M:%S", &utc);
By
        ret = strftime(outptr, size, "%Y-%m-%d %H:%M:%S", &utc);


======================================================================

----------------------------------------------------------------------
 LeRoutier - 06-11-2003 16:48 CEST 
----------------------------------------------------------------------
this timestamp format didn't work for PostgreSQL (stored as string) and for
MySQL 4.1.x which stored a NULL timestamp without complaining.

adding this space, the new timestamp format works for every DB engine
tested (mysql 3.2x, 4.0, 4.1 and postgresql

fixed in prelude-manager CVS tag prelude-manager-0-8

Bug History
Date Modified  Username       Field                    Change              
======================================================================
06-10-03 10:31 Landmir        New Bug                                      
06-11-03 16:48 LeRoutier      Bugnote Added: 0000107                       
06-11-03 16:48 LeRoutier      Assigned To               => LeRoutier       
06-11-03 16:48 LeRoutier      Resolution               open => fixed       
06-11-03 16:48 LeRoutier      Status                   new => resolved     
02-22-04 18:45 yoann          Status                   resolved => closed  
======================================================================

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic