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

Use TempTable methods #13819

Merged
merged 1 commit into from
Mar 28, 2019
Merged

Use TempTable methods #13819

merged 1 commit into from
Mar 28, 2019

Conversation

mfb
Copy link
Contributor

@mfb mfb commented Mar 14, 2019

Overview

Use the TempTable methods to create some more temporary tables.

Before

Various classes create temporary tables via raw SQL.

After

Use CRM_Utils_SQL_TempTable methods to create temporary tables. It should no longer be necessary to cleanup temporary tables in tests as they will have unique names.

@civibot
Copy link

civibot bot commented Mar 14, 2019

(Standard links)

@civibot civibot bot added the master label Mar 14, 2019
@mfb mfb force-pushed the temp-table branch 8 times, most recently from 956c644 to df84458 Compare March 14, 2019 23:43
@mfb mfb changed the title Use TempTable methods; add TempTable::setName() method. Use TempTable methods Mar 14, 2019
@mfb mfb force-pushed the temp-table branch 3 times, most recently from e24d719 to b451f0b Compare March 15, 2019 02:47
@eileenmcnaughton
Copy link
Contributor

@mfb can you rebase this? It's stale because the (slooowww) functions from the Activity BAO have now been entirely removed

@eileenmcnaughton
Copy link
Contributor

I tested these last 2 cases - all good. Merging

@eileenmcnaughton eileenmcnaughton merged commit 2ceef78 into civicrm:master Mar 28, 2019
@mfb
Copy link
Contributor Author

mfb commented Mar 29, 2019

\o/ we could also do some similar fixes for import.

@eileenmcnaughton
Copy link
Contributor

@mfb yeah - although I want some tests added to import before I touch that huckery code!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants