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/
H A Dpdo_stmt.c2025 struct pdo_column_data *cols = stmt->columns; local
2028 efree(cols[i].name);
2326 struct pdo_column_data *cols = stmt->columns; local
2329 if (cols[i].name) {
2330 efree(cols[i].name);
2331 cols[i].name = NULL;
/PHP_TRUNK/ext/pdo_mysql/
H A Dmysql_statement.c678 struct pdo_column_data *cols = stmt->columns; local
695 if (cols[0].name) {
702 namelen = spprintf(&cols[i].name, 0, "%s.%s", S->fields[i].table, S->fields[i].name);
703 cols[i].namelen = namelen;
705 cols[i].namelen = S->fields[i].name_length;
706 cols[i].name = estrndup(S->fields[i].name, S->fields[i].name_length);
709 cols[i].precision = S->fields[i].decimals;
710 cols[i].maxlen = S->fields[i].length;
714 cols[i].param_type = PDO_PARAM_ZVAL;
718 cols[
[all...]
/PHP_TRUNK/ext/pdo_oci/
H A Dphp_pdo_oci_int.h67 pdo_oci_column *cols; member in struct:__anon168
/PHP_TRUNK/ext/pdo_odbc/
H A Dphp_pdo_odbc_int.h149 pdo_odbc_column *cols; member in struct:__anon173
/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));
439 struct pdo_column_data *cols = stmt->columns; local
446 cols[colno].name = estrdup(PQfname(S->result, colno));
447 cols[colno].namelen = strlen(cols[colno].name);
448 cols[colno].maxlen = PQfsize(S->result, colno);
449 cols[coln
499 struct pdo_column_data *cols = stmt->columns; local
[all...]
H A Dphp_pdo_pgsql_int.h65 pdo_pgsql_column *cols; member in struct:__anon179

Completed in 10 milliseconds