Lines Matching refs:colno
626 static int pdo_mysql_stmt_describe(pdo_stmt_t *stmt, int colno) /* {{{ */ in pdo_mysql_stmt_describe() argument
638 if (colno >= stmt->column_count) { in pdo_mysql_stmt_describe()
669 pdo_stmt_t *stmt, int colno, zval *result, enum pdo_param_type *type) /* {{{ */ in pdo_mysql_stmt_get_col() argument
679 if (colno >= stmt->column_count) { in pdo_mysql_stmt_get_col()
685 ZVAL_COPY(result, &S->stmt->data->result_bind[colno].zv); in pdo_mysql_stmt_get_col()
687 ZVAL_COPY(result, &S->current_row[colno]); in pdo_mysql_stmt_get_col()
692 if (S->out_null[colno]) { in pdo_mysql_stmt_get_col()
696 size_t length = S->out_length[colno]; in pdo_mysql_stmt_get_col()
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()
709 if (S->current_data[colno]) { in pdo_mysql_stmt_get_col()
710 ZVAL_STRINGL_FAST(result, S->current_data[colno], S->current_lengths[colno]); in pdo_mysql_stmt_get_col()
765 static int pdo_mysql_stmt_col_meta(pdo_stmt_t *stmt, zend_long colno, zval *return_value) /* {{{ */ in pdo_mysql_stmt_col_meta() argument
777 if (colno >= stmt->column_count) { in pdo_mysql_stmt_col_meta()
785 F = S->fields + colno; in pdo_mysql_stmt_col_meta()