Lines Matching refs:colno
218 static int pdo_dblib_stmt_describe(pdo_stmt_t *stmt, int colno) in pdo_dblib_stmt_describe() argument
225 if(colno >= stmt->column_count || colno < 0) { in pdo_dblib_stmt_describe()
229 if (colno == 0) { in pdo_dblib_stmt_describe()
233 col = &stmt->columns[colno]; in pdo_dblib_stmt_describe()
234 fname = (char*)dbcolname(H->link, colno+1); in pdo_dblib_stmt_describe()
252 col->maxlen = dbcollen(H->link, colno+1); in pdo_dblib_stmt_describe()
342 static int pdo_dblib_stmt_get_col(pdo_stmt_t *stmt, int colno, zval *zv, enum pdo_param_type *type) in pdo_dblib_stmt_get_col() argument
353 coltype = dbcoltype(H->link, colno+1); in pdo_dblib_stmt_get_col()
354 data = dbdata(H->link, colno+1); in pdo_dblib_stmt_get_col()
355 data_len = dbdatlen(H->link, colno+1); in pdo_dblib_stmt_get_col()
464 static int pdo_dblib_stmt_get_column_meta(pdo_stmt_t *stmt, zend_long colno, zval *return_value) in pdo_dblib_stmt_get_column_meta() argument
471 if(colno >= stmt->column_count || colno < 0) { in pdo_dblib_stmt_get_column_meta()
477 dbtypeinfo = dbcoltypeinfo(H->link, colno+1); in pdo_dblib_stmt_get_column_meta()
481 coltype = dbcoltype(H->link, colno+1); in pdo_dblib_stmt_get_column_meta()
483 add_assoc_long(return_value, "max_length", dbcollen(H->link, colno+1) ); in pdo_dblib_stmt_get_column_meta()
486 add_assoc_string(return_value, "column_source", dbcolsource(H->link, colno+1)); in pdo_dblib_stmt_get_column_meta()
489 add_assoc_long(return_value, "native_usertype_id", dbcolutype(H->link, colno+1)); in pdo_dblib_stmt_get_column_meta()