Skip to content

Conversation

@mglaman
Copy link
Owner

@mglaman mglaman commented Jul 11, 2024

fixes #10

@mglaman
Copy link
Owner Author

mglaman commented Jul 12, 2024

This will error with non-PDO commands per https://www.drupal.org/project/drupal/issues/3036487

    // Create a user-space case-insensitive collation with UTF-8 support.
    $pdo->sqliteCreateCollation('NOCASE_UTF8', ['Drupal\Component\Utility\Unicode', 'strcasecmp']);

Comment on lines +103 to +105
// TODO support this collation somehow
// see https://www.drupal.org/project/drupal/issues/3036487
$sql = str_replace('NOCASE_UTF8', 'NOCASE', $sql);
Copy link
Owner Author

@mglaman mglaman Jul 12, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NOCASE_UTF8 is added at runtime by Drupal via PDO. I don't think there is any way to support this

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.

Allow exporting Drupal database to use locally, with DDEV.

2 participants