| Bug ID Number |
NIM005766 |
| Submitted | December 20, 2006 |
| Last Modified | June 5, 2024 |
| Applies to | No Product Found |
| Version found | 9.2 |
| Status | Non-Reproducible
This issue was not reproducible when tested by the development team. Issues may be given this status when they cannot be reproduced or are no longer relevant in a development version of the software, but a specific fix was not installed to address the issue. The issue's Additional Information section may contain further explanation.
|
Description
A C-API program that rebuilds indexes on tables using SE_table_rebuild_index cannot be compiled even though it uses a valid index mask.
Supported index masks include:
SE_INDEX_RASTER - Rebuilds the indexes for the Raster tables.
SE_INDEX_SPATIAL - Rebuilds the spatial index table.
SE_INDEX_XML - Rebuilds the XML indexes.
SE_INDEX_VERSIONED - Rebuilds the indexes for the Adds and Deletes tables.
SE_INDEX_ALL - Rebuilds all valid indexes on the ArcSDE table.
The compile fails with the following error message:
"Index_mask for SE_table_rebuild_index is not defined in SDE C client"
Cause
The index mask constants are not defined in the ArcSDE C-API include files.
Workaround
To compile and build a program that uses SE_table_rebuild_index, define the following constants in the code:
Code:
#define SE_INDEX_RASTER (1)
#define SE_INDEX_SPATIAL (1<<1)
#define SE_INDEX_VERSIONED (1<<2)
#define SE_INDEX_XML (1<<3)
#define SE_INDEX_ALL (1<<4)
Steps to Reproduce