Lines Matching refs:fields

77     $fields = array();
79 $fields['res'][] = $info;
82 $fields['meta'][] = $info;
84 $fields['all_res'] = $res->fetch_fields();
85 $fields['all_meta'] = $res_meta->fetch_fields();
87 if (count($fields['res']) != count($fields['meta'])) {
88 … printf("[014] stmt_get_result indicates %d fields, stmt_result_metadata indicates %d fields\n",
89 count($fields['res']),
90 count($fields['meta']));
93 foreach ($fields['res'] as $k => $info) {
95 if ($info->name !== $fields['meta'][$k]->name)
97 …$k, gettype($info->name), $info->name, gettype($fields['meta'][$k]->name), $fields['meta'][$k]->na…
99 if ($info->orgname !== $fields['meta'][$k]->orgname)
101 …$k, gettype($info->orgname), $info->orgname, gettype($fields['meta'][$k]->orgname), $fields['meta'…
103 if ($info->table !== $fields['meta'][$k]->table)
105 …$k, gettype($info->table), $info->table, gettype($fields['meta'][$k]->table), $fields['meta'][$k]-…
107 if ($info->orgtable !== $fields['meta'][$k]->orgtable)
109 …$k, gettype($info->orgtable), $info->orgtable, gettype($fields['meta'][$k]->orgtable), $fields['me…
111 if ($info->def !== $fields['meta'][$k]->def)
113 … $k, gettype($info->def), $info->def, gettype($fields['meta'][$k]->def), $fields['meta'][$k]->def);
115 if ($info->max_length !== $fields['meta'][$k]->max_length)
117 …gettype($info->max_length), $info->max_length, gettype($fields['meta'][$k]->max_length), $fields['…
119 if ($info->length !== $fields['meta'][$k]->length)
121 …$k, gettype($info->length), $info->length, gettype($fields['meta'][$k]->length), $fields['meta'][$…
123 if ($info->charsetnr !== $fields['meta'][$k]->charsetnr)
125 …k, gettype($info->charsetnr), $info->charsetnr, gettype($fields['meta'][$k]->charsetnr), $fields['…
127 if ($info->flags !== $fields['meta'][$k]->flags)
129 …$k, gettype($info->flags), $info->flags, gettype($fields['meta'][$k]->flags), $fields['meta'][$k]-…
131 if ($info->type !== $fields['meta'][$k]->type)
133 …$k, gettype($info->type), $info->type, gettype($fields['meta'][$k]->type), $fields['meta'][$k]->ty…
135 if ($info->decimals !== $fields['meta'][$k]->decimals)
137 …decimals($info->decimals), $info->decimals, getdecimals($fields['meta'][$k]->decimals), $fields['m…
140 $tmp = $fields['all_res'][$k]->max_length;
141 $fields['all_res'][$k]->max_length = $fields['all_meta'][$k]->max_length;
143 if ($fields['all_res'][$k] != $fields['all_meta'][$k]) {
145 var_dump($fields['all_res'][$k]);
146 var_dump($fields['all_meta'][$k]);
148 $fields['all_res'][$k]->max_length = $tmp;
151 $num = count($fields['res']);
169 if ($tmp1 != $fields['res'][$pos]) {
172 var_dump($fields['res'][$pos]);