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

/PHP_TRUNK/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++ ) {
/PHP_TRUNK/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_TRUNK/ext/pdo_oci/
H A Dphp_pdo_oci_int.h67 pdo_oci_column *cols; member in struct:__anon172
/PHP_TRUNK/ext/pdo_pgsql/
H A Dpgsql_statement.c107 if(S->cols) {
108 efree(S->cols);
109 S->cols = NULL;
229 S->cols = ecalloc(stmt->column_count, sizeof(pdo_pgsql_column));
431 struct pdo_column_data *cols = stmt->columns; local
438 cols[colno].name = estrdup(PQfname(S->result, colno));
439 cols[colno].namelen = strlen(cols[colno].name);
440 cols[colno].maxlen = PQfsize(S->result, colno);
441 cols[coln
493 struct pdo_column_data *cols = stmt->columns; local
[all...]
H A Dphp_pdo_pgsql_int.h65 pdo_pgsql_column *cols; member in struct:__anon4
/PHP_TRUNK/ext/pdo/
H A Dpdo_stmt.c2059 struct pdo_column_data *cols = stmt->columns; local
2062 efree(cols[i].name);
2384 struct pdo_column_data *cols = stmt->columns; local
2387 if (cols[i].name) {
2388 efree(cols[i].name);
2389 cols[i].name = NULL;
/PHP_TRUNK/ext/pdo_odbc/
H A Dphp_pdo_odbc_int.h149 pdo_odbc_column *cols; member in struct:__anon4

Completed in 11 milliseconds