1. Smart City doo
  2. Valentina Server
  3. Вторник, Январь 28 2020, 09:45 AM
  4.  Подписаться через email
Drop indexed suspended : Field subfolders.path is still indexed because of Unique or PK constraint.

Sometimes I get this warning message in vServer log.

How to avoid it?

regards,
Zoran
Комментарий
There are no comments made yet.
Ivan Smahin Ответ принят

set property WarningMode to 0;
-- your code
set property WarningMode to 1;
Комментарий
There are no comments made yet.
Smart City doo Ответ принят

set property WarningMode to 0;
-- your code
set property WarningMode to 1;

No, I don't want to avoid warning messages in log. :)
Can you explain me what this message means?

regards,
Zoran
Комментарий
There are no comments made yet.
Ivan Smahin Ответ принят
That message is result of attempt to turn off "indexed" flag for the "unique" field.
Unique field is always indexed and such call like

unique_field.put_Indexed(false)

do nothing except the warning.
Комментарий
There are no comments made yet.
  • Страница :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.