BUG

Index_mask for SE_table_rebuild_index is not defined in SDE C client

Last Published: April 25, 2020

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)

Article ID:000009122

Software:
  • Legacy Products

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options