drakinite wrote: ↑Wed May 05, 2021 11:22 am
Barry, I just realized that if you use the COM model when MM is not running, it (should) open MM. This can solve your issue of MM not being running.
Thanks Drakinite, I was not aware of that.
Ludek wrote: ↑Wed May 05, 2021 9:03 am
Deleting SQL insert triggers is not a good practice at all
It works, but it is not my first preference obviously.
My first preference would be that you ship a 64 bit version of your sql-related dlls. That way we could do as Petr intended.
Are you planning this, or is it off the table?
My second preference would be as I requested during the alpha of MM5 ... ie. deliver some songs.customx fields that are not covered by FTS. ... or even better, add a checkbox for each of the customx columns, into Options|Library|Fieldsm to condition whether or not the column is to be covered by FTS.
This way MM5 inter-operability will be enhanced by removing the tokenizer issue for selected customx columns. These columns have been provided for customer-specific purposes, and at the moment they are pain to update from external applications.
In my case I am using two customx columns.
Every row will contain a value in both columns, and in one column it will be mostly
distinct values. The data is numeric, so I will never want to search these values in FTS. Won't I reduce FTS overhead by their absence?
Ludek wrote: ↑Wed May 05, 2021 9:03 am
actually can cause unpredictable issues that could lead for a need to use Manage Database > Rebuild database, the MM tokenizer is needed to insert correct values to our SongsText table (sqlite's FTS engine), it is needed for indexing the text values without the special characters for the full-text-searching to work properly.
If I don't want a customx column covered by FTS search, then deleting the trigger is a no-harm activity isn't it. ... I think that I am better off by not having alll that dead weight is the SongsText file ... aren't I?
If will re look at the COM option after Drakinite's comment. ... Need to check overhead and responsiveness.
I need to to join the MM database to another sql database, and then run a query which updates the MM database.
I have checked, using your SQL Editor addon sandbox, that I can ATTACH and DROP my database, and that is OK. But are you sure that this is going to be a better solution than just dropping FTS support for a couple of unwanted customx columns?