We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1776d9f commit c31b18dCopy full SHA for c31b18d
system/cache/store/JDBCStore.cfc
@@ -417,18 +417,15 @@ component implements="coldbox.system.cache.store.IObjectStore" accessors="true"
417
* @objectKey The object key to clear
418
*/
419
function clear( required objectKey ){
420
- var localQueryOptions = duplicate( variables.queryOptions );
421
- localQueryOptions[ "result" ] = "local.q";
422
-
+ var options = { "result" : "local.q" };
423
queryExecute(
424
"DELETE
425
FROM #variables.table#
426
WHERE id = ?
427
",
428
[ getNormalizedID( arguments.objectKey ) ],
429
- localQueryOptions
+ options.append( variables.queryOptions )
430
);
431
432
return ( q.recordCount ? true : false );
433
}
434
0 commit comments