Skip to content
This repository has been archived by the owner on May 26, 2023. It is now read-only.

Fix empty IN() queries #134

Merged
merged 1 commit into from
Apr 27, 2015
Merged

Fix empty IN() queries #134

merged 1 commit into from
Apr 27, 2015

Conversation

bjornpost
Copy link
Collaborator

As reported by @Jud in #107. This PR replaces IN () with IN (null) when calling $binder->magicBind('x = ?', array(array()));. I've also included a simple test case.

@Jud
Copy link
Collaborator

Jud commented Apr 15, 2015

👍 LGTM

@bjornpost bjornpost added this to the 1.3.2 milestone Apr 19, 2015
@Jud
Copy link
Collaborator

Jud commented Apr 27, 2015

@bjornpost will merge after rebase.

Jud added a commit that referenced this pull request Apr 27, 2015
@Jud Jud merged commit c0353fe into lox:master Apr 27, 2015
@bjornpost bjornpost deleted the fix-in-query branch April 27, 2015 14:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants