db_result_t db_indexdef_set_indextype ( db_indexdef_t idef,
db_indextype_t  itype 
)

Set the index type for an index definition.

Parameters:
idef Index configuration.
itype Index type.
Returns:
  • DB_EINVAL Caused by: index configuration is null, index defintion is null.
  • DB_ERANGE Caused by: field number < 0, field number > index defition fields.

See also:
get_db_error, clear_db_error, Error Handling


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