Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(pdo_sqlite): Handles correctly data insertions #813

Merged

Conversation

jboulen
Copy link
Contributor

@jboulen jboulen commented Mar 30, 2016

In some cases, data insertion with sqlite driver doesn't work.

  • if data insertion contains a single quote, data isn't inserted in table.
  • if null value is sent, data will be converted to empty string. "IS NULL" operator will not work.

I attach a migration example.

20160330000000_sqlite_insertion_issue.txt

@robmorgan robmorgan changed the base branch from 0.5.x-dev to master January 21, 2017 18:27
@robmorgan robmorgan merged commit 8086220 into cakephp:master Jan 21, 2017
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