Reindex field in multi-user mode

Fran=?ISO-8859-1?B?5w==?=ois Van Lerberghe frvanlerberghe at gmail.com
Tue Sep 24 06:53:03 CDT 2013


Hello,

In multi-user mode, is it safe to write
    Vdatabase.SqlExecute("REINDEX FIELD myTableName.myFieldName")

What does happen if an other user
    - have locked a record of myTableName in read and write mode
    or
    - send this same code in the same time
    or
    - make a query using this field/index in the very same time

Must I lock the entire table in write mode (EVLockType.kReadWrite) before
sending this sql query ?

François Van Lerberghe
Rue Thier Monty, 15 A
4570 Marchin
Belgique



More information about the Valentina mailing list