-
Notifications
You must be signed in to change notification settings - Fork 174
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
[conflict_resolver] Rename TableName to TestName #9270
[conflict_resolver] Rename TableName to TestName #9270
Conversation
654a847
to
3d39c25
Compare
@@ -2077,7 +2077,7 @@ abstract class NDB_BVL_Instrument extends NDB_Page | |||
if (!in_array($key, $this->_doubleDataEntryDiffIgnoreColumns)) { | |||
if ($otherData[$key] != $value) { | |||
$diff[] = [ | |||
'TableName' => $this->table, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this line is the only one that is required for the bug fix. The rest is just to make the column name "right" but involves changing the default schema, and regenerating the release patch very late in the release testing.
I think we should just change $this->table
to $this->testName
here for this release, and make the rest of the SQL changes (which are just renaming the column and the code to go with it) in the next release.
b954df0
to
9c72739
Compare
I was having some trouble with the raisinbread exporting, will try again later |
"raisinbread/RB_files/RB_conflicts_resolved.sql" and "raisinbread/RB_files/RB_conflicts_unresolved.sql" need to modify as well. |
@driusan I'm partial to a full change, I can regenerate the patch its a very small addition and I really hate the idea of having a column table name storing the testname cause it will be forgotten and confusing I'm sure. lets just get it done properly now |
@@ -1624,7 +1624,7 @@ function testDiff() | |||
$this->_instrument->diff($otherInstrument), | |||
[ | |||
[ | |||
'TableName' => 'medical_history', | |||
'TestName' => 'medical_history', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change 'medical_history' to 'Test' after "php/libraries/NDB_BVL_Instrument.class.inc" diff function changed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Brief summary of changes
Testing instructions (if applicable)
Link(s) to related issue(s)