/PHP-5.4/ext/pdo_mysql/tests/ |
H A D | pdo_mysql_stmt_variable_columncount.phpt | 25 function check_result($offset, $stmt, $columns) { 36 if (($columns == 2) && 40 } else if (($columns == 1) && isset($row['two'])) { 59 $columns = null; 60 $stmt->bindParam(1, $columns); 62 $columns = ($i % 2) + 1; 64 check_result($i, $stmt, $columns); 74 $stmt->bindParam(1, $columns); 76 $columns = ($i % 2) + 1; 78 check_result($i, $stmt, $columns);
|
H A D | pdo_mysql_bit.phpt | 2 MySQL PDO->exec(), BIT columns - remove after fix!
|
/PHP-5.4/ext/pdo_dblib/tests/ |
H A D | bug_50755.phpt | 14 from information_schema.columns ic1 15 cross join information_schema.columns ic2 16 cross join information_schema.columns ic3");
|
H A D | bug_45876.phpt | 12 $stmt = $db->prepare("select ic1.* from information_schema.columns ic1");
|
/PHP-5.4/ext/mysqli/tests/ |
H A D | mysqli_set_local_infile_handler_nested_call.phpt | 63 $columns = explode(';', $line); 64 if (empty($columns)) { 65 printf("[015] Cannot parse columns\n"); 66 $error = 'Cannot parse columns'; 70 $columns[0] += 1; 71 $buffer .= implode(';', $columns);
|
H A D | mysqli_set_local_infile_handler_short_len.phpt | 63 $columns = explode(';', $line); 64 if (empty($columns)) { 65 printf("[015] Cannot parse columns\n"); 66 $error = 'Cannot parse columns'; 70 $columns[0] += 1; 71 $buffer .= implode(';', $columns);
|
H A D | mysqli_set_local_infile_handler_openbasedir.phpt | 80 $columns = explode(';', $line); 81 if (empty($columns)) { 82 printf("[015] Cannot parse columns\n"); 83 $error = 'Cannot parse columns'; 87 $columns[0] += 1; 88 $buffer .= implode(';', $columns);
|
H A D | mysqli_set_local_infile_default.phpt | 76 $columns = explode(';', $line); 77 if (empty($columns)) { 78 printf("[015] Cannot parse columns\n"); 79 $error = 'Cannot parse columns'; 83 $columns[0] += 1; 84 $buffer .= implode(';', $columns);
|
H A D | mysqli_stmt_bind_limits.phpt | 18 $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 D | mysqli_set_local_infile_handler.phpt | 60 $columns = explode(';', $line); 61 if (empty($columns)) { 62 printf("[015] Cannot parse columns\n"); 63 $error = 'Cannot parse columns'; 67 $columns[0] += 1; 68 $buffer .= implode(';', $columns);
|
H A D | mysqli_fetch_field_flags.phpt | 52 $columns = array( 110 $columns['TIMESTAMP NOT NULL'] = 'ON_UPDATE_NOW TIMESTAMP BINARY NOT_NULL'; 113 foreach ($columns as $column_def => $expected_flags) {
|
H A D | mysqli_stmt_bind_param_many_columns.phpt | 2 mysqli_stmt_bind_param() - Binding with very high number of columns
|
/PHP-5.4/ext/pdo/tests/ |
H A D | pdo_020.phpt | 26 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 D | pdo_032.phpt | 22 // Lower case columns 29 // Upper case columns
|
H A D | pdo_034.phpt | 47 …:FETCH_KEY_PAIR fetch mode requires the result set to contain extactly 2 columns. in %spdo_034.php…
|
/PHP-5.4/ext/mysql/tests/ |
H A D | mysql_field_flags.phpt | 95 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.4/ext/pdo_sqlite/ |
H A D | sqlite_statement.c | 230 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.4/ext/sqlite3/tests/ |
H A D | sqlite3result_numcolumns_error.phpt | 17 echo 'Fetching number of columns' . PHP_EOL; 29 Fetching number of columns
|
/PHP-5.4/ext/pdo_dblib/ |
H A D | dblib_stmt.c | 106 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.4/ext/oci8/tests/ |
H A D | define4.phpt | 2 oci_define_by_name() on partial number of columns 25 // Only one of the two columns is defined
|
/PHP-5.4/ext/pdo/ |
H A D | pdo_stmt.c | 218 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() 1862 col = &stmt->columns[colno]; in PHP_METHOD() 2069 if (stmt->columns) { in pdo_stmt_do_next_rowset() 2076 efree(stmt->columns); in pdo_stmt_do_next_rowset() 2077 stmt->columns = NULL; in pdo_stmt_do_next_rowset() 2394 if (stmt->columns) { in free_statement() 2404 efree(stmt->columns); in free_statement() [all …]
|
/PHP-5.4/ext/oci8/ |
H A D | oci8_interface.c | 1396 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 D | oci8_statement.c | 181 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.4/ext/standard/tests/array/ |
H A D | bug39576.phpt | 18 function test ($value, $column, &$columns) {}
|
/PHP-5.4/ext/pdo_odbc/tests/ |
H A D | long_columns.phpt | 2 PDO ODBC "long" columns 58 // the driver reads columns in blocks of 255 bytes and then reassembles those blocks into a single …
|