Skip to content

Commit

Permalink
[b/352468287] Move all existing SQLs to a 'cdb' subdirectory (#476)
Browse files Browse the repository at this point in the history
Create a new directory for multi-tenant DB systems. Since all existing SQLs are designed for this case, move them to the new directory.
  • Loading branch information
misolt authored Jul 19, 2024
1 parent 2ba1d13 commit 245abb7
Show file tree
Hide file tree
Showing 21 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ static OracleStatsQuery createStatspack(String name, Duration queriedDuration)
private static OracleStatsQuery create(
boolean isRequired, Duration queriedDuration, String name, StatsSource statsSource)
throws IOException {
String path = String.format("oracle-stats/%s/%s.sql", statsSource.value, name);
String path = String.format("oracle-stats/cdb/%s/%s.sql", statsSource.value, name);
return new AutoValue_OracleStatsQuery(
isRequired, queriedDuration, name, loadFile(path), statsSource);
}
Expand Down

0 comments on commit 245abb7

Please sign in to comment.