commit | fc215e759c49ad8fd2ef83537a1a0ee203c25e6e | [log] [tgz] |
---|---|---|
author | Sky Malice <skym@chromium.org> | Fri Jan 06 22:57:22 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jan 06 22:57:22 2023 |
tree | 176d0aa23ccb32b6fa9ef95d37cdcd6fe240f943 | |
parent | 7f0cf2eb93a0eef93477d72eedaf3d6b964ec643 [diff] |
GetPowerOverviewForType first power is last modified. Surprisingly the correct behavior is achievable by only adding another SORT BY condition, with MAX. This results in the most recently modified row's column values being used when there was previously ambiguity. Without this, it seems that even if the inner table was sorted, that sort order is ignored and the sorting of the primary key (id) is used instead. Also updated tests to use shorter constants for repeated values, allowing more terse setup. Bug: 1376612 Change-Id: I6ff647fd8b6ad0d1032e7125401cb7b9bd45c61d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4144299 Reviewed-by: Brandon Wylie <wylieb@chromium.org> Commit-Queue: Sky Malice <skym@chromium.org> Cr-Commit-Position: refs/heads/main@{#1089932}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.