Skip to content

Due FULLTEXT usage, bump the DB server check to 5.5 ( + MariaDB Support )#654

Merged
Groruk merged 1 commit intosbpp:v1.xfrom
iNilo:patch-2
Aug 19, 2020
Merged

Due FULLTEXT usage, bump the DB server check to 5.5 ( + MariaDB Support )#654
Groruk merged 1 commit intosbpp:v1.xfrom
iNilo:patch-2

Conversation

@iNilo
Copy link
Contributor

@iNilo iNilo commented Mar 24, 2020

Description

All of the fields use FULLTEXT

FULLTEXT KEY `reason` (`reason`),

FULLTEXT KEY `authid_2` (`authid`)

FULLTEXT `commenttxt` (`commenttxt`),

This is only supported from Mysql 5.5 onwards and MariaDB 10.0.5

Added extra checks for MariaDB and bumped the requirement from 5.0 to 5.5

Motivation and Context

When you are below version 5.5 or MariaDB 10.0.5 you will get SQL fails on creation of tables

How Has This Been Tested?

Fixed the issue, tried the installer.
Now detects and halts the install.
If you give it an up-to-date DB it will continue

Screenshots (if appropriate):

pre-fix:
brave_2020-03-24_14-48-17

SQL error (due no FULLTEXT support)
brave_2020-03-24_14-48-56

post-fix:

brave_2020-03-24_14-51-09

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.

@Groruk Groruk merged commit 6bd5f70 into sbpp:v1.x Aug 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants