• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Strangeness during sync
#9
Don't want to give you any extra work either Wink.

Results for the current database (on device as well as in the cloud):

sqlite> select count(*) from Songs;
1607
sqlite> select count(*) from Songs,TextDisplaySettings where Songs.id = TextDisplaySettings.SongId and TransposeKey < 0;
554

It seems that all songs that were added but never involved in a transpose have TransposeKey = -1. Isn't this just the default value?

But I also noticed that I have 373 entries in TextDisplaySettings for existing songs that refer to non-existent files. Sometimes even multiple, e.g.

   

(File 1930 exists, but 14410 does not.)

Must I be afraid I have a serious database corruption, or has there been a time where removing files did not remove the corresponding TextDisplaySettings entry?

I have manually added foreign keys to the tables and enabled foreign key checking, and it only seems to be so for the TextDisplaySettings. All other tables check ok.
Johan
johanvromans.nl — hetgeluidvanseptember.nl — mojore.nl -- howsagoin.nl
Samsung Galaxy Note S7FE (T733) 12.4", Android 13.0, AirTurn Duo & Digit (Gigs).
Samsung Galaxy Note S4 (T830) 10.5", Android 10.0 (maintenance and backup).
Samsung A3 (A320FL), Android 8.0.0 (emergency).
Reply


Messages In This Thread
Strangeness during sync - by sciurius - 06-29-2019, 10:30 PM
RE: Strangeness during sync - by sciurius - 06-29-2019, 10:35 PM
RE: Strangeness during sync - by Zubersoft - 06-30-2019, 04:03 PM
RE: Strangeness during sync - by sciurius - 06-30-2019, 10:25 PM
RE: Strangeness during sync - by Zubersoft - 07-01-2019, 01:49 AM
RE: Strangeness during sync - by Zubersoft - 07-03-2019, 12:42 PM
RE: Strangeness during sync - by sciurius - 07-04-2019, 01:24 AM
RE: Strangeness during sync - by Zubersoft - 07-04-2019, 03:33 PM
RE: Strangeness during sync - by sciurius - 07-04-2019, 07:17 PM
RE: Strangeness during sync - by Zubersoft - 07-05-2019, 04:29 AM
RE: Strangeness during sync - by sciurius - 07-05-2019, 05:07 AM
RE: Strangeness during sync - by Zubersoft - 07-05-2019, 07:40 AM
RE: Strangeness during sync - by sciurius - 07-05-2019, 05:37 PM
RE: Strangeness during sync - by Zubersoft - 07-06-2019, 04:45 PM



Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2024 MyBB Group.