diff roundup/backends/rdbms_common.py @ 6599:39189dd94f2c

issue2551189 - increase size of words in full text index. Increased indexed word maxlength to 50 DB migration code is written and tests work. Restructured some tests to allow for code reuse. Docs. If this passes CI without errors 2551189 should be done. However, testing on my system generates errors. Encoding (indexer unicode russian unicode string invalid) and collation errors (utf8_bin not valid) when running under python2. No issues with python3 and I haven't changed code that should cause these since the last successful build in CI. So if this fails in CI we will have more checkins.
author John Rouillard <rouilj@ieee.org>
date Wed, 26 Jan 2022 15:04:09 -0500
parents 91ab3e0ffcd0
children e1588ae185dc 408fd477761f
line wrap: on
line diff
--- a/roundup/backends/rdbms_common.py	Wed Jan 26 08:58:46 2022 -0500
+++ b/roundup/backends/rdbms_common.py	Wed Jan 26 15:04:09 2022 -0500
@@ -416,9 +416,9 @@
         pass
 
     def fix_version_6_tables(self):
-        # Default (used by mysql): NOOP
-        # sqlite/postgres override this to add fts
-        # full text search tables.
+        # Default (used by nobody): NOOP
+        # Each backend mysql, postgres, sqlite overrides this
+        # You would think ALTER commands would be the same but nooo.
         pass
 
     def _convert_journal_tables(self):

Roundup Issue Tracker: http://roundup-tracker.org/