open-mpi / mtt

MPI Testing Tool
https://open-mpi.github.io/mtt
Other
61 stars 47 forks source link

Create variables that map the client's field names to the MTTDatabase field names #132

Open ompiteam opened 9 years ago

ompiteam commented 9 years ago

It shouldn't ''hurt'' to rename a column. There should be a single location to change client field names that map to database field names (e.g., {{{lib/MTT/Mappings.pm}}}?). Sample {{{Mappings.pm}}} excerpt:

{{{

!perl

... our $db_platform_name = "platform_name"; our $db_platform_type = "platform_type"; our $db_result_stderr = "result_stderr"; our $db_result_stdout = "result_stdout"; our $db_results_id = "results_id"; our $db_start_timestamp = "start_timestamp"; our $db_stop_timestamp = "stop_timestamp"; ... }}}

This entails substituting a plethora of {{{{name}}}} items to be {{{{$db_name}}}}, but in the long run would make changing a column name in the database much more painless.

ompiteam commented 9 years ago

Imported from trac issue 131. Created by emallove on 2006-11-08T11:20:43, last modified: 2007-09-11T15:05:39

ompiteam commented 9 years ago

Trac comment by emallove on 2006-11-10 13:59:22:

(In [429]) * More name mismatch cleanup (see #131 and #59)

ompiteam commented 9 years ago

Trac comment by emallove on 2007-02-28 11:26:27:

Milestone v2.1 deleted