Skip to content
Snippets Groups Projects
Commit d7c43baf authored by Stefan Wallström's avatar Stefan Wallström
Browse files

Fixed NULLdates.

Rev: src/modules/Oracle/oracle.c:1.50
parent 759fe6a6
Branches
Tags
No related merge requests found
/*
* $Id: oracle.c,v 1.49 2000/11/10 15:47:52 stewa Exp $
* $Id: oracle.c,v 1.50 2000/11/23 16:32:33 stewa Exp $
*
* Pike interface to Oracle databases.
*
......@@ -53,7 +53,7 @@
#include <math.h>
RCSID("$Id: oracle.c,v 1.49 2000/11/10 15:47:52 stewa Exp $");
RCSID("$Id: oracle.c,v 1.50 2000/11/23 16:32:33 stewa Exp $");
#define BLOB_FETCH_CHUNK 16384
......@@ -983,9 +983,6 @@ static void push_inout_value(struct inout *inout)
case SQLT_ODT:
case SQLT_DAT:
ref_push_object(nulldate_object);
push_object(low_clone(Date_program));
call_c_initializers(Pike_sp[-1].u.object);
((struct dbdate *)STORAGE(Pike_sp[-1].u.object))->date = inout->u.date;
break;
case SQLT_NUM:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment