db_result_t db_indexdef_set_field_count ( db_indexdef_t idef,
db_fieldno_t  nfields 
)

Set the number of fields in an index definition.

Parameters:
idef Index configuration.
nfields Number of fields.
Returns:
  • DB_EINVAL Caused by: index definition pointer is null, number of fields< 0.

See also:
get_db_error, clear_db_error, Error Handling


Copyright © 2005-2008 ITTIA®. All rights reserved.