Home
last modified time | relevance | path

Searched refs:row (Results 76 – 100 of 348) sorted by relevance

12345678910>>...14

/PHP-7.2/ext/mysqlnd/
H A Dmysqlnd_result.c109 for (row = 0; row < result->row_count; row++) { in MYSQLND_METHOD()
111 if (initialized[row >> 3] & (1 << (row & 7))) { in MYSQLND_METHOD()
122 initialized[row >> 3] |= (1 << (row & 7)); in MYSQLND_METHOD()
220 int64_t row; in MYSQLND_METHOD() local
222 for (row = set->row_count - 1; row >= 0; row--) { in MYSQLND_METHOD()
256 int64_t row; in MYSQLND_METHOD() local
271 for (row = set->row_count - 1; row >= 0; row--) { in MYSQLND_METHOD()
743 if (*row) { in MYSQLND_METHOD()
1034 if (*row) { in MYSQLND_METHOD()
1804 zval row; in MYSQLND_METHOD() local
[all …]
/PHP-7.2/ext/pdo_mysql/tests/
H A Dpdo_mysql_stmt_variable_columncount.phpt12 $row = $db->query('SELECT VERSION() as _version')->fetch(PDO::FETCH_ASSOC);
14 if (!preg_match('/^(\d+)\.(\d+)\.(\d+)/ismU', $row['_version'], $matches))
30 $row = $stmt->fetch(PDO::FETCH_ASSOC);
33 if (!isset($row['one']) || ($row['one'] != 1)) {
34 printf("[%03d + 1] Expecting array('one' => 1), got %s\n", $offset, var_export($row, true));
39 (!isset($row['two']) || ($row['two'] != 2))) {
40 …printf("[%03d + 2] Expecting array('one' => 1, 'two' => 2), got %s\n", $offset, var_export($row, t…
42 } else if (($columns == 1) && isset($row['two'])) {
H A Dbug_44454.phpt25 printf("... SELECT has returned %d row...\n", $stmt->rowCount());
26 while ($row = $stmt->fetch()) {
45 printf("... SELECT has returned %d row...\n", $stmt->rowCount());
46 foreach ($stmt as $row) {
78 ... SELECT has returned 1 row...
86 ... SELECT has returned 1 row...
96 ... SELECT has returned 1 row...
104 ... SELECT has returned 1 row...
H A Dpdo_mysql_prepare_load_data.phpt12 $row = $stmt->fetch(PDO::FETCH_ASSOC);
13 $tmp = explode('@', $row['_user']);
20 if (($row = $stmt->fetch(PDO::FETCH_ASSOC)) && ($row['value'] != '')) {
21 if (!is_writable($row['value']))
22 die("skip secure_file_priv directory not writable: {$row['value']}");
24 $filename = $row['value'] . DIRECTORY_SEPARATOR . "pdo_mysql_exec_load_data.csv";
75 if (($row = $stmt->fetch(PDO::FETCH_ASSOC)) && ($row['value'] != '')) {
76 $filename = $row['value'] . DIRECTORY_SEPARATOR . "pdo_mysql_exec_load_data.csv";
H A Dpdo_mysql_prepare_emulated.phpt209 array('first row'));
215 array('first row'));
217 array('second row'));
243 array('row', 'row'));
275 array('row', 'row'));
278 array('row'),
289 array('row'));
367 string(3) "row"
374 string(3) "row"
409 string(3) "row"
[all …]
/PHP-7.2/ext/mysqli/tests/
H A Dmysqli_stmt_bind_param_type_juggling.phpt66 $row = mysqli_fetch_assoc($res);
67 if (($row['col1'] != $bind_value1) || ($row['col2'] != $bind_value1)) {
70 $row['col1'], $row['col2'],
75 $row = mysqli_fetch_assoc($res);
76 if (($row['col1'] != $bind_value1) || ($row['col2'] != $bind_value2)) {
79 $row['col1'], $row['col2'],
H A Dmysqli_pam_sha256_public_key_option.phpt28 while ($row = $res->fetch_assoc()) {
29 if (($row['Name'] == 'sha256_password') && ($row['Status'] == 'ACTIVE')) {
41 if (!($row = $res->fetch_assoc())) {
45 if (strlen($row['Value']) < 100) {
54 if (strlen($row['Value']) != fwrite($fp, $row['Value'])) {
109 if (!$row = mysqli_fetch_assoc($res)) {
113 if ($row['id'] != 1) {
114 printf("[005] Expecting 1 got %s/'%s'", gettype($row['id']), $row['id']);
H A Dmysqli_no_reconnect.phpt28 while ($row = mysqli_fetch_assoc($res))
29 $running_threads[$row['Id']] = $row;
44 if (!$row = mysqli_fetch_assoc($res))
49 if ($row['Value'] != 2)
61 while ($row = mysqli_fetch_assoc($res))
62 $running_threads[$row['Id']] = $row;
107 while ($row = mysqli_fetch_assoc($res))
108 $running_threads[$row['Id']] = $row;
H A Dmysqli_data_seek_oo.phpt41 $row = $res->fetch_assoc();
42 if (4 != $row['id'])
43 printf("[008] Expecting record 4/d, got record %s/%s\n", $row['id'], $row['label']);
48 $row = $res->fetch_assoc();
49 if (1 != $row['id'])
50 printf("[010] Expecting record 1/a, got record %s/%s\n", $row['id'], $row['label']);
H A Dmysqli_pam_sha256.phpt28 while ($row = $res->fetch_assoc()) {
29 if (($row['Name'] == 'sha256_password') && ($row['Status'] == 'ACTIVE')) {
41 if (!($row = $res->fetch_assoc())) {
45 if (strlen($row['Value']) < 100) {
92 if (!$row = mysqli_fetch_assoc($res)) {
96 if ($row['id'] != 1) {
97 printf("[004] Expecting 1 got %s/'%s'", gettype($row['id']), $row['id']);
H A Dmysqli_stmt_send_long_data.phpt47 if (!$row = mysqli_fetch_assoc($res))
52 if (isset($row['VARIABLE_VALUE']) && !isset($row['Value']))
54 $row['Value'] = $row['VARIABLE_VALUE'];
56 if (0 === ($max_allowed_packet = (int)$row['Value']))
107 if (!$row = mysqli_fetch_assoc($res))
112 if (empty($row['id']) || empty($row['label']) || ($row['id'] != 1))
115 if ($blob != $row['label'])
H A Dmysqli_change_user_locks_temporary.phpt36 if (!$row = mysqli_fetch_assoc($res))
39 if ($row['_num'] < 1)
57 if (!$row = mysqli_fetch_assoc($res))
60 if ($row['_num'] != 3)
77 if (!$row = mysqli_fetch_assoc($res))
80 if ($row['_ok'] != 1)
91 if (!$row = mysqli_fetch_assoc($res))
94 if ($row['_ok'] != 1)
H A Dmysqli_change_user_insert_id.phpt46 if (!$row = mysqli_fetch_assoc($res))
50 if ($row['_insert_id'] != $insert_id)
52 $row['_insert_id'], $insert_id);
54 if ($row['_insert_id'] != 0)
55 printf("Expecting 0 got %d\n", $row['_insert_id']);
H A Dmysqli_auth_pam.phpt21 while ($row = $res->fetch_assoc()) {
22 if (isset($row['Name']) && ('mysql_clear_password' == $row['Name'])) {
70 if (!$row = mysqli_fetch_assoc($res)) {
74 if ($row['id'] != 1) {
75 printf("[004] Expecting 1 got %s/'%s'", gettype($row['id']), $row['id']);
/PHP-7.2/ext/oci8/tests/
H A Dbug40415.phpt50 while ($row = oci_fetch_assoc($stmt)) {
51 print "Got row \"".$row['ID1']."\". Now getting nested cursor:\n";
52 var_dump(oci_execute($row['CURSOR']));
53 while ($row_n = oci_fetch_assoc($row['CURSOR']) ) {
99 Got row "11". Now getting nested cursor:
113 Got row "12". Now getting nested cursor:
127 Got row "13". Now getting nested cursor:
H A Dxmltype_02.phpt61 // Query the row back
66 $row = oci_fetch_array($s, OCI_NUM);
68 var_dump($row);
72 $sx = simplexml_load_string($row[0]->load());
73 $row[0]->free();
92 // Query the changed row back and print it
97 $row = oci_fetch_array($s, OCI_NUM);
98 var_dump($row[0]->load());
99 $row[0]->free();
H A Dbind_rowid.phpt15 while ($row = oci_fetch_array($s, OCI_ASSOC+OCI_RETURN_NULLS)) {
16 var_dump($row);
36 $row = oci_fetch_array($s, OCI_ASSOC+OCI_RETURN_NULLS);
38 $rid = $row['ROWID'];
39 $addr = $row['ADDRESS'];
H A Dlob_004.phpt39 var_dump($row = oci_fetch_array($s));
41 var_dump($row[0]->append($blob));
42 var_dump($row[0]->read(10000));
50 $row = oci_fetch_array($s);
52 var_dump($row[0]->read(10000));
H A Dlob_024.phpt37 var_dump($row = oci_fetch_array($s));
39 var_dump(strlen($row[0]->load()));
40 var_dump(strlen(oci_lob_load($row[0])));
42 unset($row[0]->descriptor);
43 var_dump(oci_lob_load($row[0]));
H A Dimp_res_2.phpt59 while (($row = oci_fetch_row($s)) != false)
60 var_dump($row);
65 while (($row = oci_fetch_row($s)) != false)
66 var_dump($row);
71 while (($row = oci_fetch_row($s)) != false)
72 var_dump($row);
H A Dimp_res_1.phpt64 while (($row = oci_fetch_assoc($s)) != false)
65 var_dump($row);
70 while (($row = oci_fetch_object($s)) != false)
71 var_dump($row);
76 while (($row = oci_fetch_row($s)) != false)
77 var_dump($row);
83 var_dump($row);
89 var_dump($row);
95 var_dump($row);
101 var_dump($row);
[all …]
H A Dlob_018.phpt47 while ($row = oci_fetch_array($statement, OCI_ASSOC)) {
48 $result = $row['LOB_1']->load();
58 while ($row = oci_fetch_array($statement, OCI_ASSOC)) {
59 $result = $row['LOB_1']->load();
78 while ($row = oci_fetch_array($statement, OCI_ASSOC)) {
79 $result = $row['LOB_1']->load();
H A Dpecl_bug10194.phpt32 $row = oci_fetch_assoc($statement);
37 $row['CLOB']->write($string);
46 $row = oci_fetch_assoc($statement);
47 var_dump(strlen($row['CLOB']->load())); /* here it should fail */
H A Dimp_res_get_2.phpt61 while (($row = oci_fetch_array($s1, OCI_ASSOC+OCI_RETURN_NULLS))) {
62 foreach ($row as $item) {
69 while (($row = oci_fetch_array($s2, OCI_ASSOC+OCI_RETURN_NULLS))) {
70 foreach ($row as $item) {
78 while (($row = oci_fetch_array($s3, OCI_ASSOC+OCI_RETURN_NULLS))) {
79 foreach ($row as $item) {
/PHP-7.2/ext/pdo/tests/
H A Dbug_39656.phpt27 $row = $stmt->fetch();
28 var_dump( $row );
32 $row = $stmt->fetch(); // this line will crash CLI
33 var_dump( $row );

Completed in 46 milliseconds

12345678910>>...14