Home
last modified time | relevance | path

Searched refs:coltype (Results 1 – 7 of 7) sorted by relevance

/PHP-5.6/ext/pdo_dblib/
H A Ddblib_stmt.c223 int coltype; in pdo_dblib_stmt_get_col() local
227 coltype = dbcoltype(H->link, colno+1); in pdo_dblib_stmt_get_col()
236 switch (coltype) { in pdo_dblib_stmt_get_col()
253 dbconvert(NULL, coltype, *ptr, *len, SQLFLT8, (LPBYTE)&money_value, 8); in pdo_dblib_stmt_get_col()
273 dbconvert(H->link, coltype, (BYTE*) *ptr, -1, SQLDATETIME, (LPBYTE) &dt, -1); in pdo_dblib_stmt_get_col()
288 if (dbwillconvert(coltype, SQLCHAR)) { in pdo_dblib_stmt_get_col()
291 *len = dbconvert(NULL, coltype, *ptr, *len, SQLCHAR, tmp_ptr, -1); in pdo_dblib_stmt_get_col()
/PHP-5.6/ext/mssql/
H A Dphp_mssql.h84 #define coltype(j) dbcoltype(mssql_ptr->link,j) macro
88 #define anyintcol(j) (coltype(j)==SQLINT4?intcol(j):(coltype(j)==SQLINT2?smallintcol(j):tinyintcol(…
H A Dphp_mssql.c1032 …res_length = dbconvert(NULL,coltype(offset),dbdata(mssql_ptr->link,offset), res_length, SQLCHAR,re…
1050 …docref(NULL TSRMLS_CC, E_WARNING, "column %d has unknown data type (%d)", offset, coltype(offset));
1088 else if (dbwillconvert(coltype(offset),SQLCHAR)) {
1112 …res_length = dbconvert(NULL,coltype(offset),dbdata(mssql_ptr->link,offset), res_length, SQLCHAR, r…
1130 …docref(NULL TSRMLS_CC, E_WARNING, "column %d has unknown data type (%d)", offset, coltype(offset));
1241 result->fields[i].type = coltype(i+1);
/PHP-5.6/ext/pdo_odbc/
H A Dodbc_stmt.c559 &S->cols[colno].coltype, &colsize, NULL, NULL); in odbc_stmt_describe()
566 (S->cols[colno].coltype == SQL_VARCHAR || in odbc_stmt_describe()
567 S->cols[colno].coltype == SQL_LONGVARCHAR || in odbc_stmt_describe()
569 S->cols[colno].coltype == SQL_WVARCHAR || in odbc_stmt_describe()
572 S->cols[colno].coltype == SQL_WLONGVARCHAR || in odbc_stmt_describe()
574 S->cols[colno].coltype == SQL_VARBINARY || in odbc_stmt_describe()
575 S->cols[colno].coltype == SQL_LONGVARBINARY)) { in odbc_stmt_describe()
601 S->cols[colno].is_unicode = pdo_odbc_sqltype_is_unicode(S, S->cols[colno].coltype); in odbc_stmt_describe()
H A Dphp_pdo_odbc_int.h140 SWORD coltype; member
/PHP-5.6/ext/odbc/
H A Dphp_odbc_includes.h233 SQLLEN coltype; member
H A Dphp_odbc.c976 NULL, 0, NULL, &result->values[i].coltype); in odbc_bindcols()
982 switch(result->values[i].coltype) { in odbc_bindcols()
1023 result->values[i].coltype = SQL_WLONGVARCHAR; in odbc_bindcols()
1029 if (result->values[i].coltype == SQL_TIMESTAMP) { in odbc_bindcols()
1766 switch(result->values[i].coltype) { in php_odbc_fetch_hash()
1923 switch(result->values[i].coltype) { in PHP_FUNCTION()
2144 switch(result->values[field_ind].coltype) { in PHP_FUNCTION()
2158 if (IS_SQL_LONG(result->values[field_ind].coltype)) { in PHP_FUNCTION()
2195 if ((result->values[field_ind].coltype == SQL_LONGVARCHAR) in PHP_FUNCTION()
2305 switch(result->values[i].coltype) { in PHP_FUNCTION()
[all …]

Completed in 29 milliseconds