diff --git a/packages/fcl-db/src/base/dsparams.inc b/packages/fcl-db/src/base/dsparams.inc index d6d44d98e8..9c45884854 100644 --- a/packages/fcl-db/src/base/dsparams.inc +++ b/packages/fcl-db/src/base/dsparams.inc @@ -534,6 +534,8 @@ begin Result:=nil else if VarIsArray(FValue) then Result:=FValue + else if VarIsStr(FValue) then + Result:=BytesOf(VarToStr(FValue)) else // todo: conversion from other variant types to TBytes Result:=FValue;