Home
last modified time | relevance | path

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

/php-src/ext/pdo_firebird/
H A Dfirebird_statement.c314 var->sqltype = SQL_VARYING | (var->sqltype & 1); in pdo_firebird_stmt_describe()
344 switch (var->sqltype & ~1) { in pdo_firebird_stmt_get_column_meta()
484 switch (var->sqltype & ~1) { in pdo_firebird_stmt_get_col()
512 switch (var->sqltype & ~1) { in pdo_firebird_stmt_get_col()
715 switch (var->sqltype & ~1) { in pdo_firebird_stmt_param_hook()
726 if (~var->sqltype & 1) { in pdo_firebird_stmt_param_hook()
802 var->sqltype = (sizeof(zend_long) == 8 ? SQL_INT64 : SQL_LONG) | (var->sqltype & 1); in pdo_firebird_stmt_param_hook()
808 var->sqltype = SQL_DOUBLE | (var->sqltype & 1); in pdo_firebird_stmt_param_hook()
816 switch (var->sqltype & ~1) { in pdo_firebird_stmt_param_hook()
836 var->sqltype = SQL_TEXT | (var->sqltype & 1); in pdo_firebird_stmt_param_hook()
[all …]
H A Dfirebird_driver.c479 dtype = (var->sqltype & ~1); /* drop flag bit */ in set_coercing_output_data_types()
480 nullable = (var->sqltype & 1); in set_coercing_output_data_types()
483 var->sqltype = SQL_VARYING + nullable; in set_coercing_output_data_types()
489 var->sqltype = SQL_VARYING + nullable; in set_coercing_output_data_types()
494 var->sqltype = SQL_VARYING + nullable; in set_coercing_output_data_types()
502 var->sqltype = SQL_VARYING + nullable; in set_coercing_output_data_types()
511 var->sqltype = SQL_VARYING + nullable; in set_coercing_output_data_types()
690 var->sqltype |= 1; in firebird_handle_preparer()
/php-src/ext/pdo_odbc/
H A Dodbc_stmt.c35 static int pdo_odbc_sqltype_is_unicode(pdo_odbc_stmt *S, SQLSMALLINT sqltype) in pdo_odbc_sqltype_is_unicode() argument
38 switch (sqltype) { in pdo_odbc_sqltype_is_unicode()
290 SQLSMALLINT 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.c975 …rc = SQLDescribeParam(result->stmt, (SQLUSMALLINT)(i+1), &result->param_info[i].sqltype, &result->… in PHP_FUNCTION()
1057 if (IS_SQL_BINARY(result->param_info[i-1].sqltype)) { in PHP_FUNCTION()
1093 …ctype, result->param_info[i-1].sqltype, result->param_info[i-1].precision, result->param_info[i-1]… in PHP_FUNCTION()
1105 …ctype, result->param_info[i-1].sqltype, result->param_info[i-1].precision, result->param_info[i-1]… in PHP_FUNCTION()

Completed in 32 milliseconds