[svn:dbd-oracle] r15171 - dbd-oracle/branches/FAN

[email protected] Thu, 23 Feb 2012 04:22:05 -0800 (PST)
Newsgroups perl.dbd.oracle.changes
Message-ID <[email protected]>
Author: byterock
Date: Thu Feb 23 04:21:44 2012
New Revision: 15171

Modified:
   dbd-oracle/branches/FAN/oci8.c

Log:
final cleanup

Modified: dbd-oracle/branches/FAN/oci8.c
==============================================================================
--- dbd-oracle/branches/FAN/oci8.c	(original)
+++ dbd-oracle/branches/FAN/oci8.c	Thu Feb 23 04:21:44 2012
@@ -1364,9 +1364,8 @@
    OCIAttrGet_log_stat(eventhp,  OCI_HTYPE_EVENT, (dvoid *)&event_ts,0, OCI_ATTR_HA_TIMESTAMP, imp_dbh->errhp, status);
 
 
-   OCIDateTimeToText(imp_dbh->envhp,imp_dbh->errhp, event_ts, (char*) "MM-DD-YY HH24:MI:SS",
- 		    strlen("MM-DD-YY HH24:MI:SS"),
- 		    4, (OraText *)0, 0,&event_att_len, tsbuff);
+
+   OCIDateTimeToText_log_stat(eventhp,imp_dbh->errhp,event_ts,&event_att_len,tsbuff,status);
 
    hv_store(ha_event,"Timestamp",9,sv_2mortal(newSVpv((char*)tsbuff,event_att_len)),0);