Home
last modified time | relevance | path

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

/PHP-5.4/ext/pdo_firebird/
H A Dfirebird_statement.c329 switch (var->sqltype & ~1) { in firebird_stmt_get_col()
352 switch (var->sqltype & ~1) { in firebird_stmt_get_col()
520 switch (var->sqltype & ~1) { in firebird_stmt_param_hook()
537 var->sqltype = (sizeof(long) == 8 ? SQL_INT64 : SQL_LONG) | (var->sqltype & 1); in firebird_stmt_param_hook()
543 var->sqltype = SQL_DOUBLE | (var->sqltype & 1); in firebird_stmt_param_hook()
551 switch (var->sqltype & ~1) { in firebird_stmt_param_hook()
564 var->sqltype = SQL_TEXT | (var->sqltype & 1); in firebird_stmt_param_hook()
571 if (~var->sqltype & 1) { in firebird_stmt_param_hook()
/PHP-5.4/ext/pdo_odbc/
H A Dodbc_stmt.c39 static int pdo_odbc_sqltype_is_unicode(pdo_odbc_stmt *S, SWORD sqltype) in pdo_odbc_sqltype_is_unicode() argument
42 switch (sqltype) { in pdo_odbc_sqltype_is_unicode()
281 SWORD sqltype = 0, ctype = 0, scale = 0, nullable = 0; in odbc_stmt_param_hook() local
316 …rc = SQLDescribeParam(S->stmt, (SQLUSMALLINT) param->paramno+1, &sqltype, &precision, &scale, &nul… in odbc_stmt_param_hook()
320 sqltype = PDO_PARAM_TYPE(param->param_type) == PDO_PARAM_LOB ? in odbc_stmt_param_hook()
331 if (sqltype == SQL_BINARY || sqltype == SQL_VARBINARY || sqltype == SQL_LONGVARBINARY) { in odbc_stmt_param_hook()
343 P->is_unicode = pdo_odbc_sqltype_is_unicode(S, sqltype); in odbc_stmt_param_hook()
374 P->paramtype, ctype, sqltype, precision, scale, in odbc_stmt_param_hook()
/PHP-5.4/ext/interbase/
H A Dibase_query.c225 if ((var->sqltype & ~1) == SQL_ARRAY) { in _php_ibase_alloc_array()
658 switch (var->sqltype & ~1) { in _php_ibase_bind()
686 switch (var->sqltype & ~1) { in _php_ibase_bind()
704 switch (var->sqltype & ~1) { in _php_ibase_bind()
720 switch (var->sqltype & ~1) { in _php_ibase_bind()
803 var->sqltype = SQL_TEXT; in _php_ibase_bind()
816 switch (var->sqltype & ~1) { in _php_ibase_alloc_xsqlda()
853 if (var->sqltype & 1) { /* sql NULL flag */ in _php_ibase_alloc_xsqlda()
1538 switch (var->sqltype & ~1) { in _php_ibase_fetch_hash()
1935 switch (var->sqltype & ~1) { in _php_ibase_field_info()
[all …]
H A Dinterbase.c1444 out_sqlda.sqlvar[0].sqltype = SQL_INT64; in PHP_FUNCTION()
/PHP-5.4/ext/odbc/
H A Dphp_odbc.c1258 SQLSMALLINT sqltype, ctype, scale; in PHP_FUNCTION() local
1318 rc = SQLDescribeParam(result->stmt, (SQLUSMALLINT)i, &sqltype, &precision, &scale, &nullable); in PHP_FUNCTION()
1333 if (IS_SQL_BINARY(sqltype)) { in PHP_FUNCTION()
1380 ctype, sqltype, precision, scale, in PHP_FUNCTION()
1392 ctype, sqltype, precision, scale, in PHP_FUNCTION()

Completed in 27 milliseconds