Lines Matching refs:bound_result
41 if (S->bound_result) { in pdo_mysql_free_result()
46 efree(S->bound_result[i].buffer); in pdo_mysql_free_result()
49 efree(S->bound_result); in pdo_mysql_free_result()
52 S->bound_result = NULL; in pdo_mysql_free_result()
192 S->bound_result = ecalloc(stmt->column_count, sizeof(MYSQL_BIND)); in pdo_mysql_stmt_after_execute_prepared()
205 S->bound_result[i].buffer_length = MAX_MEDIUMINT_WIDTH + 1; in pdo_mysql_stmt_after_execute_prepared()
208 S->bound_result[i].buffer_length = MAX_INT_WIDTH + 1; in pdo_mysql_stmt_after_execute_prepared()
211 S->bound_result[i].buffer_length = MAX_BIGINT_WIDTH + 1; in pdo_mysql_stmt_after_execute_prepared()
214 S->bound_result[i].buffer_length = MAX_TINYINT_WIDTH + 1; in pdo_mysql_stmt_after_execute_prepared()
217 S->bound_result[i].buffer_length = MAX_SMALLINT_WIDTH + 1; in pdo_mysql_stmt_after_execute_prepared()
220 S->bound_result[i].buffer_length = in pdo_mysql_stmt_after_execute_prepared()
224 if (S->bound_result[i].buffer_length > H->max_buffer_size) { in pdo_mysql_stmt_after_execute_prepared()
225 S->bound_result[i].buffer_length = H->max_buffer_size; in pdo_mysql_stmt_after_execute_prepared()
233 …if (S->fields[i].max_length == 0 && S->bound_result[i].buffer_length < 128 && MYSQL_TYPE_VAR_STRIN… in pdo_mysql_stmt_after_execute_prepared()
234 S->bound_result[i].buffer_length = 128; in pdo_mysql_stmt_after_execute_prepared()
239 S->bound_result[i].buffer = emalloc(S->bound_result[i].buffer_length); in pdo_mysql_stmt_after_execute_prepared()
240 S->bound_result[i].is_null = &S->out_null[i]; in pdo_mysql_stmt_after_execute_prepared()
241 S->bound_result[i].length = &S->out_length[i]; in pdo_mysql_stmt_after_execute_prepared()
242 S->bound_result[i].buffer_type = MYSQL_TYPE_STRING; in pdo_mysql_stmt_after_execute_prepared()
245 if (mysql_stmt_bind_result(S->stmt, S->bound_result)) { in pdo_mysql_stmt_after_execute_prepared()
697 if (length > S->bound_result[colno].buffer_length) { in pdo_mysql_stmt_get_col()
700 length = S->out_length[colno] = S->bound_result[colno].buffer_length; in pdo_mysql_stmt_get_col()
702 ZVAL_STRINGL_FAST(result, S->bound_result[colno].buffer, length); in pdo_mysql_stmt_get_col()