Search found 1 match

by guillaume
09.03.2007, 10:16
Forum: Feature Requests
Topic: [bug_rejected] Boolean Parameter in sqlite query
Replies: 12
Views: 5120

[bug_rejected] Boolean Parameter in sqlite query

file : dbc\ZDbcSqLiteStatement.pas
function : TZSQLitePreparedStatement.PrepareSQLParam(...)
line : 333

Code: Select all

if SoftVarManager.GetAsBoolean(Value) then Result := '''Y'''
else Result := '''N''';
Change to :

Code: Select all

if SoftVarManager.GetAsBoolean(Value) then Result := '1'
else Result := '0';