pike.git / src / modules / Oracle / oracle.cmod

version» Context lines:

pike.git/src/modules/Oracle/oracle.cmod:779:   #endif    }       PIKEFUN void create(string|int date)    flags ID_PROTECTED;    {    struct tm *tm;    time_t t;    sword rc;    -  check_all_args("Oracle.Date",args,BIT_INT|BIT_STRING,0); +  check_all_args(NULL,args,BIT_INT|BIT_STRING,0);    switch(TYPEOF(*date))    {    case T_STRING:    rc=OCIDateFromText(get_global_error_handle(),    (oratext *)date->u.string->str,    date->u.string->len,    0,    0,    0,    0,