void odbc_column_lengths(INTERNAL_FUNCTION_PARAMETERS, int type)
{
odbc_result *result;
- SDWORD len;
+ SQLINTEGER len;
pval **pv_res, **pv_num;
if (zend_get_parameters_ex(2, &pv_res, &pv_num) == FAILURE) {
}
SQLColAttributes(result->stmt, (UWORD)(*pv_num)->value.lval,
- (type?SQL_COLUMN_SCALE:SQL_COLUMN_PRECISION), NULL, 0, NULL, &len);
+ (SQLUSMALLINT) (type?SQL_COLUMN_SCALE:SQL_COLUMN_PRECISION),
+ NULL, 0, NULL, &len);
RETURN_LONG(len);
}
# End Source File\r
# Begin Source File\r
\r
+SOURCE=.\ext\standard\levenshtein.c\r
+# End Source File\r
+# Begin Source File\r
+\r
SOURCE=.\ext\standard\link.c\r
# End Source File\r
# Begin Source File\r
# End Source File\r
# Begin Source File\r
\r
+SOURCE=.\ext\standard\scanf.c\r
+# End Source File\r
+# Begin Source File\r
+\r
SOURCE=.\ext\session\session.c\r
# End Source File\r
# Begin Source File\r
# End Source File\r
# Begin Source File\r
\r
+SOURCE=.\ext\standard\scanf.h\r
+# End Source File\r
+# Begin Source File\r
+\r
SOURCE=.\ext\standard\type.h\r
# End Source File\r
# Begin Source File\r
# End Source File\r
# Begin Source File\r
\r
+SOURCE=.\ext\standard\scanf.c\r
+# End Source File\r
+# Begin Source File\r
+\r
SOURCE=.\ext\session\session.c\r
# End Source File\r
# Begin Source File\r
# End Source File\r
# Begin Source File\r
\r
+SOURCE=.\ext\standard\scanf.h\r
+# End Source File\r
+# Begin Source File\r
+\r
SOURCE=.\ext\standard\type.h\r
# End Source File\r
# Begin Source File\r