Skip to content

Commit c31b18d

Browse files
committed
fix for not duplicating structs.
1 parent 1776d9f commit c31b18d

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

system/cache/store/JDBCStore.cfc

+2-5
Original file line numberDiff line numberDiff line change
@@ -417,18 +417,15 @@ component implements="coldbox.system.cache.store.IObjectStore" accessors="true"
417417
* @objectKey The object key to clear
418418
*/
419419
function clear( required objectKey ){
420-
var localQueryOptions = duplicate( variables.queryOptions );
421-
localQueryOptions[ "result" ] = "local.q";
422-
420+
var options = { "result" : "local.q" };
423421
queryExecute(
424422
"DELETE
425423
FROM #variables.table#
426424
WHERE id = ?
427425
",
428426
[ getNormalizedID( arguments.objectKey ) ],
429-
localQueryOptions
427+
options.append( variables.queryOptions )
430428
);
431-
432429
return ( q.recordCount ? true : false );
433430
}
434431

0 commit comments

Comments
 (0)