Lines Matching refs:colno
608 static int pdo_mysql_stmt_describe(pdo_stmt_t *stmt, int colno) /* {{{ */ in pdo_mysql_stmt_describe() argument
620 if (colno >= stmt->column_count) { in pdo_mysql_stmt_describe()
659 static int pdo_mysql_stmt_get_col(pdo_stmt_t *stmt, int colno, char **ptr, size_t *len, int *caller… in pdo_mysql_stmt_get_col() argument
676 if (colno >= stmt->column_count) { in pdo_mysql_stmt_get_col()
682 Z_TRY_ADDREF(S->stmt->data->result_bind[colno].zv); in pdo_mysql_stmt_get_col()
683 *ptr = (char*)&S->stmt->data->result_bind[colno].zv; in pdo_mysql_stmt_get_col()
689 if (S->out_null[colno]) { in pdo_mysql_stmt_get_col()
694 *ptr = S->bound_result[colno].buffer; in pdo_mysql_stmt_get_col()
695 if (S->out_length[colno] > S->bound_result[colno].buffer_length) { in pdo_mysql_stmt_get_col()
698 S->out_length[colno] = S->bound_result[colno].buffer_length; in pdo_mysql_stmt_get_col()
699 *len = S->out_length[colno]; in pdo_mysql_stmt_get_col()
702 *len = S->out_length[colno]; in pdo_mysql_stmt_get_col()
706 *ptr = S->current_data[colno]; in pdo_mysql_stmt_get_col()
707 *len = S->current_lengths[colno]; in pdo_mysql_stmt_get_col()
760 static int pdo_mysql_stmt_col_meta(pdo_stmt_t *stmt, zend_long colno, zval *return_value) /* {{{ */ in pdo_mysql_stmt_col_meta() argument
772 if (colno >= stmt->column_count) { in pdo_mysql_stmt_col_meta()
780 F = S->fields + colno; in pdo_mysql_stmt_col_meta()