Skip to content

Commit 9286496

Browse files
committed
Don't special case SQL_TIMESTAMP
The default handling for turning into SQL_C_CHAR is fine, and the special case for Adabas is no longer needed.
1 parent efcfe76 commit 9286496

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

ext/odbc/php_odbc.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -690,14 +690,6 @@ void odbc_bindcols(odbc_result *result)
690690
case SQL_WLONGVARCHAR:
691691
result->values[i].value = NULL;
692692
break;
693-
694-
#ifdef HAVE_ADABAS
695-
case SQL_TIMESTAMP:
696-
result->values[i].value = (char *)emalloc(27);
697-
SQLBindCol(result->stmt, (SQLUSMALLINT)(i+1), SQL_C_CHAR, result->values[i].value,
698-
27, &result->values[i].vallen);
699-
break;
700-
#endif /* HAVE_ADABAS */
701693
case SQL_CHAR:
702694
case SQL_VARCHAR:
703695
case SQL_WCHAR:

0 commit comments

Comments
 (0)