Do not load base64 data into phrase edit.
This will fix unnecessary memory usage/latency in this application when dealing with base64 recordings.
This commit is contained in:
parent
a2bda47f35
commit
ea0823ea4d
|
|
@ -296,8 +296,8 @@
|
||||||
unset($sql, $parameters);
|
unset($sql, $parameters);
|
||||||
}
|
}
|
||||||
|
|
||||||
//get the recordings
|
//get the recording names from the database. Do not select everything otherwise we can pull in large base64 data for no reason
|
||||||
$sql = "select * from v_recordings ";
|
$sql = "select recording_name, recording_filename from v_recordings ";
|
||||||
$sql .= "where domain_uuid = :domain_uuid ";
|
$sql .= "where domain_uuid = :domain_uuid ";
|
||||||
$sql .= "order by recording_name asc ";
|
$sql .= "order by recording_name asc ";
|
||||||
$parameters['domain_uuid'] = $_SESSION['domain_uuid'];
|
$parameters['domain_uuid'] = $_SESSION['domain_uuid'];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue