Home
last modified time | relevance | path

Searched refs:columns (Results 1 – 25 of 49) sorted by relevance

12

/PHP-5.6/ext/pdo_mysql/tests/
H A Dpdo_mysql_stmt_variable_columncount.phpt27 function check_result($offset, $stmt, $columns) {
38 if (($columns == 2) &&
42 } else if (($columns == 1) && isset($row['two'])) {
61 $columns = null;
62 $stmt->bindParam(1, $columns);
64 $columns = ($i % 2) + 1;
66 check_result($i, $stmt, $columns);
76 $stmt->bindParam(1, $columns);
78 $columns = ($i % 2) + 1;
80 check_result($i, $stmt, $columns);
H A Dpdo_mysql_bit.phpt2 MySQL PDO->exec(), BIT columns - remove after fix!
/PHP-5.6/ext/pdo_dblib/tests/
H A Dbug_50755.phpt14 from information_schema.columns ic1
15 cross join information_schema.columns ic2
16 cross join information_schema.columns ic3");
H A Dbug_45876.phpt12 $stmt = $db->prepare("select ic1.* from information_schema.columns ic1");
/PHP-5.6/ext/pdo/tests/
H A Dpdo_020.phpt26 echo "Counted $res columns after $sql.\n";
32 Counted 2 columns after SELECT id, val FROM test.
33 Counted 3 columns after SELECT id, val, val2 FROM test.
34 Counted 1 columns after SELECT COUNT(*) FROM test.
H A Dpdo_032.phpt22 // Lower case columns
29 // Upper case columns
H A Dpdo_034.phpt47 …:FETCH_KEY_PAIR fetch mode requires the result set to contain extactly 2 columns. in %spdo_034.php…
/PHP-5.6/ext/standard/tests/array/
H A Darray_column_variant.phpt11 echo "-- pass null as second parameter to get back all columns indexed by third parameter --\n";
14 …null as second parameter and bogus third param to get back zero-indexed array of all columns --\n";
22 -- pass null as second parameter to get back all columns indexed by third parameter --
43 …ass null as second parameter and bogus third param to get back zero-indexed array of all columns --
H A Dbug39576.phpt18 function test ($value, $column, &$columns) {}
H A Darray_column_basic.phpt104 echo "\n*** Testing columns not present in all rows ***\n";
272 *** Testing columns not present in all rows ***
/PHP-5.6/ext/mysqli/tests/
H A Dmysqli_stmt_bind_limits.phpt18 $columns = "";
24 $columns .= "col" . $i . ", ";
35 $insert .= "(" . substr($columns, 0, -2) . ") VALUES ";
40 printf("Testing %d columns with %d rows...\n", $num_params, $rows);
119 Testing 273 columns with 240 rows...
124 Testing 273 columns with 240 rows...
H A Dmysqli_fetch_field_flags.phpt52 $columns = array(
110 $columns['TIMESTAMP NOT NULL'] = 'ON_UPDATE_NOW TIMESTAMP BINARY NOT_NULL';
113 foreach ($columns as $column_def => $expected_flags) {
H A Dmysqli_stmt_bind_param_many_columns.phpt2 mysqli_stmt_bind_param() - Binding with very high number of columns
H A Dmysqli_stmt_bind_param_type_juggling.phpt98 /* now, let's have two columns of different type and do type juggling */
/PHP-5.6/ext/mysql/tests/
H A Dmysql_field_flags.phpt95 foreach ($tables as $columns => $expected) {
97 printf("[010/%s] [%d] %s\n", $columns, mysql_errno($link), mysql_error($link));
100 $sql = sprintf("CREATE TABLE test(id INT, %s) ENGINE = %s", $columns, $engine);
110 printf("[011/%s] '%s', [%d] %s\n", $columns, $sql, mysql_errno($link), mysql_error($link));
115 printf("[012/%s] [%d] %s\n", $columns, mysql_errno($link), mysql_error($link));
125 …printf("[013/%s] Field '%s', flag '%s' not found, [%d] %s\n", $columns, $field, $flag, mysql_errno…
132 …printf("[014/%s] Field '%s', unexpected flags '%s' found, [%d] %s\n", $columns, $field, $tmp, mysq…
/PHP-5.6/ext/sqlite3/tests/
H A Dsqlite3result_numcolumns_error.phpt17 echo 'Fetching number of columns' . PHP_EOL;
29 Fetching number of columns
/PHP-5.6/ext/pdo_sqlite/
H A Dsqlite_statement.c230 stmt->columns[colno].name = estrdup(sqlite3_column_name(S->stmt, colno)); in pdo_sqlite_stmt_describe()
231 stmt->columns[colno].namelen = strlen(stmt->columns[colno].name); in pdo_sqlite_stmt_describe()
232 stmt->columns[colno].maxlen = 0xffffffff; in pdo_sqlite_stmt_describe()
233 stmt->columns[colno].precision = 0; in pdo_sqlite_stmt_describe()
242 stmt->columns[colno].param_type = PDO_PARAM_STR; in pdo_sqlite_stmt_describe()
/PHP-5.6/ext/oci8/tests/
H A Ddefine4.phpt2 oci_define_by_name() on partial number of columns
25 // Only one of the two columns is defined
/PHP-5.6/sapi/phpdbg/
H A Dphpdbg_utils.c441 int columns; in phpdbg_get_terminal_width() local
446 columns = csbi.srWindow.Right - csbi.srWindow.Left + 1; in phpdbg_get_terminal_width()
450 columns = ioctl(fileno(stdout), TIOCGWINSZ, &w) == 0 ? w.ws_col : 80; in phpdbg_get_terminal_width()
452 columns = 80; in phpdbg_get_terminal_width()
454 return columns; in phpdbg_get_terminal_width()
/PHP-5.6/ext/pdo/
H A Dpdo_stmt.c218 char *s = stmt->columns[col].name; in pdo_stmt_describe_columns()
554 col = &stmt->columns[colno]; in fetch_value()
1109 stmt->columns[i].name, stmt->columns[i].namelen, in do_fetch()
1117 stmt->columns[i].name, stmt->columns[i].namelen, in do_fetch()
1841 col = &stmt->columns[colno]; in PHP_METHOD()
2048 if (stmt->columns) { in pdo_stmt_do_next_rowset()
2055 efree(stmt->columns); in pdo_stmt_do_next_rowset()
2056 stmt->columns = NULL; in pdo_stmt_do_next_rowset()
2369 if (stmt->columns) { in free_statement()
2379 efree(stmt->columns); in free_statement()
[all …]
/PHP-5.6/ext/odbc/tests/
H A Dbug69975.phpt2 Bug #69975 (PHP segfaults when accessing nvarchar(max) defined columns)
/PHP-5.6/ext/oci8/
H A Doci8_statement.c160 statement2->columns = NULL; in php_oci_get_implicit_resultset()
256 if (statement->has_descr && statement->columns) { in php_oci_statement_fetch()
265 if (statement->columns) { in php_oci_statement_fetch()
266 zend_hash_destroy(statement->columns); in php_oci_statement_fetch()
267 efree(statement->columns); in php_oci_statement_fetch()
268 statement->columns = NULL; in php_oci_statement_fetch()
574 ALLOC_HASHTABLE(statement->columns); in php_oci_statement_execute()
594 efree(statement->columns); in php_oci_statement_execute()
878 if (statement->columns) { in php_oci_statement_free()
879 zend_hash_destroy(statement->columns); in php_oci_statement_free()
[all …]
H A Doci8_interface.c1391 php_oci_out_column **columns; local
1413 columns = safe_emalloc(statement->ncolumns, sizeof(php_oci_out_column *), 0);
1416 columns[ i ] = php_oci_statement_get_column(statement, i + 1, NULL, 0 TSRMLS_CC);
1427 php_oci_column_to_zval(columns[ i ], element, PHP_OCI_RETURN_LOBS TSRMLS_CC);
1432 …zend_symtable_update(Z_ARRVAL_P(row), columns[ i ]->name, columns[ i ]->name_len+1, &element, size…
1444 efree(columns);
1447 columns = safe_emalloc(statement->ncolumns, sizeof(php_oci_out_column *), 0);
1452 columns[ i ] = php_oci_statement_get_column(statement, i + 1, NULL, 0 TSRMLS_CC);
1464 …zend_symtable_update(Z_ARRVAL_P(array), columns[ i ]->name, columns[ i ]->name_len+1, (void *) &tm…
1471 php_oci_column_to_zval(columns[ i ], element, PHP_OCI_RETURN_LOBS TSRMLS_CC);
[all …]
/PHP-5.6/ext/pdo_odbc/tests/
H A Dlong_columns.phpt2 PDO ODBC "long" columns
58 // the driver reads columns in blocks of 255 bytes and then reassembles those blocks into a single …
/PHP-5.6/ext/pdo_dblib/
H A Ddblib_stmt.c201 col = &stmt->columns[colno]; in pdo_dblib_stmt_describe()

Completed in 45 milliseconds

12