diff options
author | Glenn Elliott <gelliott@cs.unc.edu> | 2014-10-03 18:18:54 -0400 |
---|---|---|
committer | Glenn Elliott <gelliott@cs.unc.edu> | 2014-10-03 18:18:54 -0400 |
commit | a8263c416bd87e6cdf22606de8bdd764d77bca2e (patch) | |
tree | bf8cad2f021f571f3241b9b0854f0db3cf1448d1 | |
parent | a703f86dc5465b05b8ffb46bda35c2c63c1be2bd (diff) |
reorder the prikey of scaled_sched_results
-rw-r--r-- | rtss14/createtables.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rtss14/createtables.sql b/rtss14/createtables.sql index 1d92184..59da723 100644 --- a/rtss14/createtables.sql +++ b/rtss14/createtables.sql | |||
@@ -156,5 +156,5 @@ CREATE TABLE scaled_sched_results( | |||
156 | avg_bandwidth REAL, | 156 | avg_bandwidth REAL, |
157 | 157 | ||
158 | FOREIGN KEY(dp) REFERENCES dp_ptested(id), | 158 | FOREIGN KEY(dp) REFERENCES dp_ptested(id), |
159 | PRIMARY KEY(dp, eff_ts_util, scale_factor) | 159 | PRIMARY KEY(dp, scale_factor, eff_ts_util) |
160 | ) ENGINE=InnoDB; | 160 | ) ENGINE=InnoDB; |