Only transfer data that's being used, to reduce loading and speed things up.
This commit is contained in:
parent
7c03fc78b0
commit
c120a8b28d
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ my $count_files_sql = q!select count(*) from asset where className like 'Web
|
|||
|
||||
# Order by lineage to put corrupt parents before corrupt children
|
||||
# Join assetData to get all asset and assetData
|
||||
my $iterator_sql = "SELECT * FROM asset LEFT JOIN assetData USING ( assetId ) ";
|
||||
my $iterator_sql = "SELECT assetId, className, revisionDate, parentId FROM asset LEFT JOIN assetData USING ( assetId ) ";
|
||||
my $sql_args = [];
|
||||
if ($op_assetId) {
|
||||
my $asset_selector = 'where assetId = ? ';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue