Searched defs:cols (Results 1 - 7 of 7) sorted by relevance

/PHP_5_4/ext/pdo/
H A Dpdo_stmt.c2071 struct pdo_column_data *cols = stmt->columns; local
2074 efree(cols[i].name);
2396 struct pdo_column_data *cols = stmt->columns; local
2399 if (cols[i].name) {
2400 efree(cols[i].name);
2401 cols[i].name = NULL;
/PHP_5_4/ext/pdo_mysql/
H A Dmysql_statement.c657 struct pdo_column_data *cols = stmt->columns; local
674 if (cols[0].name) {
681 namelen = spprintf(&cols[i].name, 0, "%s.%s", S->fields[i].table, S->fields[i].name);
682 cols[i].namelen = namelen;
685 cols[i].namelen = namelen;
686 cols[i].name = estrndup(S->fields[i].name, namelen);
689 cols[i].precision = S->fields[i].decimals;
690 cols[i].maxlen = S->fields[i].length;
694 cols[i].param_type = PDO_PARAM_ZVAL;
698 cols[
[all...]
/PHP_5_4/ext/pdo_oci/
H A Dphp_pdo_oci_int.h67 pdo_oci_column *cols; member in struct:__anon169
/PHP_5_4/ext/pdo_odbc/
H A Dphp_pdo_odbc_int.h149 pdo_odbc_column *cols; member in struct:__anon174
/PHP_5_4/ext/pdo_pgsql/
H A Dpgsql_statement.c109 if(S->cols) {
110 efree(S->cols);
111 S->cols = NULL;
225 S->cols = ecalloc(stmt->column_count, sizeof(pdo_pgsql_column));
433 struct pdo_column_data *cols = stmt->columns; local
440 cols[colno].name = estrdup(PQfname(S->result, colno));
441 cols[colno].namelen = strlen(cols[colno].name);
442 cols[colno].maxlen = PQfsize(S->result, colno);
443 cols[coln
495 struct pdo_column_data *cols = stmt->columns; local
[all...]
H A Dphp_pdo_pgsql_int.h67 pdo_pgsql_column *cols; member in struct:__anon180
/PHP_5_4/ext/odbc/
H A Dbirdstep.c354 SWORD cols,i,colnamelen; local
378 stat = SQLNumResultCols(res->hstmt,&cols);
385 if ( !cols ) { /* Was INSERT, UPDATE, DELETE, etc. query */
397 res->values = (VResVal *)safe_emalloc(sizeof(VResVal), cols, 0);
398 res->numcols = cols;
399 for ( i = 0; i < cols; i++ ) {

Completed in 19 milliseconds