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

Add quotes to numeric incrementIds - The Sequel #388

Merged

Conversation

pepijnblom
Copy link
Contributor

Here's the second location where queries were built without quotes around increment_id if it was numeric.

@pepijnblom
Copy link
Contributor Author

pepijnblom commented Dec 5, 2017

@colinmollenhour Hi, sorry for getting back so late on this one. I've reverted the original code and only added the single line as per your request. It does make more sense to do it that way considering possible future patches.

Copy link
Contributor

@tmotyl tmotyl left a comment

Choose a reason for hiding this comment

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

looks good, whoever will merge it, please squash (as there are 7 commits here)

@colinmollenhour colinmollenhour merged commit cf8f84a into OpenMage:1.9.3.x Dec 13, 2017
edannenberg pushed a commit to edannenberg/magento-lts that referenced this pull request Dec 14, 2017
…e::isOrderIncrementIdUsed()

Cast increment ids to string to ensure use of index.
@pepijnblom pepijnblom deleted the feature/quote_numeric_increment_id branch December 28, 2017 08:23
edannenberg pushed a commit to edannenberg/magento-lts that referenced this pull request Feb 28, 2018
…e::isOrderIncrementIdUsed()

Cast increment ids to string to ensure use of index.
edannenberg pushed a commit to edannenberg/magento-lts that referenced this pull request Mar 20, 2018
…e::isOrderIncrementIdUsed()

Cast increment ids to string to ensure use of index.
edannenberg pushed a commit to edannenberg/magento-lts that referenced this pull request Jul 17, 2018
…e::isOrderIncrementIdUsed()

Cast increment ids to string to ensure use of index.
edannenberg pushed a commit to edannenberg/magento-lts that referenced this pull request Sep 19, 2018
…e::isOrderIncrementIdUsed()

Cast increment ids to string to ensure use of index.
edannenberg pushed a commit to edannenberg/magento-lts that referenced this pull request Feb 14, 2019
…e::isOrderIncrementIdUsed()

Cast increment ids to string to ensure use of index.
edannenberg pushed a commit to edannenberg/magento-lts that referenced this pull request Apr 1, 2019
…e::isOrderIncrementIdUsed()

Cast increment ids to string to ensure use of index.
edannenberg pushed a commit to edannenberg/magento-lts that referenced this pull request Aug 22, 2019
…e::isOrderIncrementIdUsed()

Cast increment ids to string to ensure use of index.
edannenberg pushed a commit to edannenberg/magento-lts that referenced this pull request Oct 25, 2019
…e::isOrderIncrementIdUsed()

Cast increment ids to string to ensure use of index.
@sreichel sreichel added the Component: Sales Relates to Mage_Sales label Jun 6, 2020
edannenberg pushed a commit to edannenberg/magento-lts that referenced this pull request Aug 20, 2020
…e::isOrderIncrementIdUsed()

Cast increment ids to string to ensure use of index.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Sales Relates to Mage_Sales enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants