139 |
|
function GetScale: integer; override; |
140 |
|
function GetCharSetID: cardinal; override; |
141 |
|
function GetCodePage: TSystemCodePage; override; |
142 |
+ |
function GetCharSetWidth: integer; override; |
143 |
|
function GetIsNull: Boolean; override; |
144 |
|
function GetIsNullable: boolean; override; |
145 |
|
function GetSQLData: PByte; override; |
263 |
|
constructor Create(Attachment: TFB25Attachment; Transaction: ITransaction; |
264 |
|
sql: AnsiString; aSQLDialect: integer); |
265 |
|
constructor CreateWithParameterNames(Attachment: TFB25Attachment; |
266 |
< |
Transaction: ITransaction; sql: AnsiString; aSQLDialect: integer; GenerateParamNames: boolean); |
266 |
> |
Transaction: ITransaction; sql: AnsiString; aSQLDialect: integer; GenerateParamNames: boolean; |
267 |
> |
CaseSensitiveParams: boolean=false); |
268 |
|
destructor Destroy; override; |
269 |
|
function FetchNext: boolean; |
270 |
|
|
356 |
|
CharSetID2CodePage(GetCharSetID,result); |
357 |
|
end; |
358 |
|
|
359 |
+ |
function TIBXSQLVAR.GetCharSetWidth: integer; |
360 |
+ |
begin |
361 |
+ |
result := 1; |
362 |
+ |
with Statement.GetAttachment DO |
363 |
+ |
CharSetWidth(GetCharSetID,result); |
364 |
+ |
end; |
365 |
+ |
|
366 |
|
function TIBXSQLVAR.GetIsNull: Boolean; |
367 |
|
begin |
368 |
|
result := IsNullable and (FNullIndicator = -1); |
1188 |
|
InternalPrepare; |
1189 |
|
end; |
1190 |
|
|
1191 |
< |
constructor TFB25Statement.CreateWithParameterNames(Attachment: TFB25Attachment; |
1192 |
< |
Transaction: ITransaction; sql: AnsiString; aSQLDialect: integer; |
1193 |
< |
GenerateParamNames: boolean); |
1191 |
> |
constructor TFB25Statement.CreateWithParameterNames( |
1192 |
> |
Attachment: TFB25Attachment; Transaction: ITransaction; sql: AnsiString; |
1193 |
> |
aSQLDialect: integer; GenerateParamNames: boolean; |
1194 |
> |
CaseSensitiveParams: boolean); |
1195 |
|
begin |
1196 |
|
inherited CreateWithParameterNames(Attachment,Transaction,sql,aSQLDialect,GenerateParamNames); |
1197 |
|
FDBHandle := Attachment.Handle; |
1198 |
|
FFirebird25ClientAPI := Attachment.Firebird25ClientAPI; |
1199 |
|
OnDatabaseError := FFirebird25ClientAPI.IBDataBaseError; |
1200 |
|
FSQLParams := TIBXINPUTSQLDA.Create(self); |
1201 |
+ |
FSQLParams.CaseSensitiveParams := CaseSensitiveParams; |
1202 |
|
FSQLRecord := TIBXOUTPUTSQLDA.Create(self); |
1203 |
|
InternalPrepare; |
1204 |
|
end; |