Saltar para o conteúdo principal
Versão: Próximo

RESUME INDEXES

RESUME INDEXES ( aTable {; *} )

ParâmetroTipoDescrição
aTableTableTable for which to resume indexes
*OperadorIf passed = asynchronous indexing

Descrição

The RESUME INDEXES command reactivates all the indexes of aTable when they have been paused previously using the PAUSE INDEXES command. If the indexes of aTable have not been paused, this command does nothing.

In most cases, executing this command triggers the rebuilding of the indexes for aTable.
If you pass the optional * parameter, the rebuilding of the indexes is performed in asynchronous mode. This means that the method calling the command continues its execution after this call, regardless of whether the indexing is finished or not. If you omit this parameter, the rebuilding of the indexes blocks the execution of the method until the rebuilding operation is completed.

The RESUME INDEXES command can only be called from 4D Server or a local 4D. If this command is executed from a remote 4D machine, the error -10513 is generated. This error can be intercepted using a method installed by the ON ERR CALL command.

Ver também

CREATE INDEX
PAUSE INDEXES

Propriedades

Número do comando1294
Thread-seguro