Home
last modified time | relevance | path

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

12

/PHP-5.5/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.5/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.5/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.5/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.5/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 */
H A Dmysqli_stmt_get_result_metadata_fetch_field.phpt46 All of the following columns are "too hot" - too server dependent
/PHP-5.5/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.5/ext/sqlite3/tests/
H A Dsqlite3result_numcolumns_error.phpt17 echo 'Fetching number of columns' . PHP_EOL;
29 Fetching number of columns
/PHP-5.5/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.5/ext/pdo_dblib/
H A Ddblib_stmt.c106 efree(stmt->columns); in pdo_dblib_stmt_cursor_closer()
107 stmt->columns = NULL; in pdo_dblib_stmt_cursor_closer()
116 efree(stmt->columns); in pdo_dblib_stmt_dtor()
117 stmt->columns = NULL; in pdo_dblib_stmt_dtor()
205 struct pdo_column_data *col = &stmt->columns[colno]; in pdo_dblib_stmt_describe()
/PHP-5.5/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.5/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()
1121 stmt->columns[i].name, stmt->columns[i].namelen, in do_fetch()
1129 stmt->columns[i].name, stmt->columns[i].namelen, in do_fetch()
1853 col = &stmt->columns[colno]; in PHP_METHOD()
2060 if (stmt->columns) { in pdo_stmt_do_next_rowset()
2067 efree(stmt->columns); in pdo_stmt_do_next_rowset()
2068 stmt->columns = NULL; in pdo_stmt_do_next_rowset()
2385 if (stmt->columns) { in free_statement()
2395 efree(stmt->columns); in free_statement()
[all …]
/PHP-5.5/ext/oci8/
H A Doci8_interface.c1396 php_oci_out_column **columns; local
1418 columns = safe_emalloc(statement->ncolumns, sizeof(php_oci_out_column *), 0);
1432 php_oci_column_to_zval(columns[ i ], element, PHP_OCI_RETURN_LOBS TSRMLS_CC);
1439 …zend_symtable_update(Z_ARRVAL_P(row), columns[ i ]->name, columns[ i ]->name_len+1, &element, size…
1442 …zend_hash_update(Z_ARRVAL_P(row), columns[ i ]->name, columns[ i ]->name_len+1, &element, sizeof(z…
1455 efree(columns);
1458 columns = safe_emalloc(statement->ncolumns, sizeof(php_oci_out_column *), 0);
1477 …zend_symtable_update(Z_ARRVAL_P(array), columns[ i ]->name, columns[ i ]->name_len+1, (void *) &tm…
1480 …zend_hash_update(Z_ARRVAL_P(array), columns[ i ]->name, columns[ i ]->name_len+1, (void *) &tmp, s…
1488 php_oci_column_to_zval(columns[ i ], element, PHP_OCI_RETURN_LOBS TSRMLS_CC);
[all …]
H A Doci8_statement.c181 if (statement->has_descr && statement->columns) { in php_oci_statement_fetch()
190 if (statement->columns) { in php_oci_statement_fetch()
191 zend_hash_destroy(statement->columns); in php_oci_statement_fetch()
192 efree(statement->columns); in php_oci_statement_fetch()
193 statement->columns = NULL; in php_oci_statement_fetch()
484 ALLOC_HASHTABLE(statement->columns); in php_oci_statement_execute()
485 zend_hash_init(statement->columns, 13, NULL, php_oci_column_hash_dtor, 0); in php_oci_statement_execute()
504 efree(statement->columns); in php_oci_statement_execute()
782 if (statement->columns) { in php_oci_statement_free()
783 zend_hash_destroy(statement->columns); in php_oci_statement_free()
[all …]
/PHP-5.5/ext/odbc/tests/
H A Dbug69975.phpt2 Bug #69975 (PHP segfaults when accessing nvarchar(max) defined columns)
/PHP-5.5/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 …

Completed in 100 milliseconds

12