HomeSoftware Heritage

fixed character-set detection regex
8510a41bb3e3Unpublished

Unpublished Commit · Learn More

Repository Importing: This repository is still importing.

Description

fixed character-set detection regex

Previous regex matched COLLATE value instead of CHARACTER SET. For
example:

CREATE DATABASE test /*!40100 DEFAULT CHARACTER SET utf8 COLLATE utf8_bin */

Returned utf8_bin instead of utf8 causing an unfortunate database refresh in my
configuration. Fixed the regex by adding the optional presence of the COLLATE
keyword.

Details

Provenance
Olivier Bilodeau <olivier@bottomlesspit.org>Authored on
olasdPushed on Sep 10 2015, 1:23 PM
Parents
rSPMYaf4b8bff0ad5: Merge pull request #128 from bodepd/fix_account
Branches
Unknown
Tags
Unknown

Event Timeline

Olivier Bilodeau <olivier@bottomlesspit.org> committed rSPMY8510a41bb3e3: fixed character-set detection regex (authored by Olivier Bilodeau <olivier@bottomlesspit.org>).Dec 11 2012, 6:56 PM