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