Home
last modified time | relevance | path

Searched refs:sqltype (Results 1 – 4 of 4) sorted by relevance

/php-src/ext/pdo_firebird/
H A Dfirebird_statement.c241 var->sqltype = SQL_VARYING | (var->sqltype & 1); in pdo_firebird_stmt_describe()
271 switch (var->sqltype & ~1) { in pdo_firebird_stmt_get_column_meta()
413 switch (var->sqltype & ~1) { in pdo_firebird_stmt_get_col()
441 switch (var->sqltype & ~1) { in pdo_firebird_stmt_get_col()
636 switch (var->sqltype & ~1) { in pdo_firebird_stmt_param_hook()
647 if (~var->sqltype & 1) { in pdo_firebird_stmt_param_hook()
726 var->sqltype = (sizeof(zend_long) == 8 ? SQL_INT64 : SQL_LONG) | (var->sqltype & 1); in pdo_firebird_stmt_param_hook()
732 var->sqltype = SQL_DOUBLE | (var->sqltype & 1); in pdo_firebird_stmt_param_hook()
740 switch (var->sqltype & ~1) { in pdo_firebird_stmt_param_hook()
753 var->sqltype = SQL_TEXT | (var->sqltype & 1); in pdo_firebird_stmt_param_hook()
[all …]
/php-src/ext/pdo_odbc/
H A Dodbc_stmt.c35 static int pdo_odbc_sqltype_is_unicode(pdo_odbc_stmt *S, SWORD sqltype) in pdo_odbc_sqltype_is_unicode() argument
38 switch (sqltype) { in pdo_odbc_sqltype_is_unicode()
290 SWORD sqltype = 0, ctype = 0, scale = 0, nullable = 0; in odbc_stmt_param_hook() local
326 …rc = SQLDescribeParam(S->stmt, (SQLUSMALLINT) param->paramno+1, &sqltype, &precision, &scale, &nul… in odbc_stmt_param_hook()
332 sqltype = SQL_INTEGER; in odbc_stmt_param_hook()
335 sqltype = SQL_LONGVARBINARY; in odbc_stmt_param_hook()
338 sqltype = SQL_LONGVARCHAR; in odbc_stmt_param_hook()
348 if (sqltype == SQL_BINARY || sqltype == SQL_VARBINARY || sqltype == SQL_LONGVARBINARY) { in odbc_stmt_param_hook()
360 P->is_unicode = pdo_odbc_sqltype_is_unicode(S, sqltype); in odbc_stmt_param_hook()
391 P->paramtype, ctype, sqltype, precision, scale, in odbc_stmt_param_hook()
/php-src/ext/odbc/
H A Dphp_odbc_includes.h212 SQLSMALLINT sqltype; member
H A Dphp_odbc.c990 …rc = SQLDescribeParam(result->stmt, (SQLUSMALLINT)(i+1), &result->param_info[i].sqltype, &result->… in PHP_FUNCTION()
1072 if (IS_SQL_BINARY(result->param_info[i-1].sqltype)) { in PHP_FUNCTION()
1108 …ctype, result->param_info[i-1].sqltype, result->param_info[i-1].precision, result->param_info[i-1]… in PHP_FUNCTION()
1120 …ctype, result->param_info[i-1].sqltype, result->param_info[i-1].precision, result->param_info[i-1]… in PHP_FUNCTION()

Completed in 22 milliseconds