1 |
|
unit Test5; |
2 |
+ |
{$IFDEF MSWINDOWS} |
3 |
+ |
{$DEFINE WINDOWS} |
4 |
+ |
{$ENDIF} |
5 |
|
|
6 |
< |
{$mode objfpc}{$H+} |
6 |
> |
{$IFDEF FPC} |
7 |
> |
{$mode delphi} |
8 |
|
{$codepage utf8} |
9 |
+ |
{$ENDIF} |
10 |
|
|
11 |
|
{Test 5: Update/Insert Returning and Activity Check} |
12 |
|
|
42 |
|
private |
43 |
|
procedure DoQuery(Attachment: IAttachment); |
44 |
|
public |
45 |
< |
function TestTitle: string; override; |
46 |
< |
procedure RunTest(CharSet: string; SQLDialect: integer); override; |
45 |
> |
function TestTitle: AnsiString; override; |
46 |
> |
procedure RunTest(CharSet: AnsiString; SQLDialect: integer); override; |
47 |
|
end; |
48 |
|
|
49 |
|
implementation |
109 |
|
writeln(OutFile,'Transaction inactive'); |
110 |
|
end; |
111 |
|
|
112 |
< |
function TTest5.TestTitle: string; |
112 |
> |
function TTest5.TestTitle: AnsiString; |
113 |
|
begin |
114 |
|
Result := 'Test 5: Update Returning and Activity Check'; |
115 |
|
end; |
116 |
|
|
117 |
< |
procedure TTest5.RunTest(CharSet: string; SQLDialect: integer); |
117 |
> |
procedure TTest5.RunTest(CharSet: AnsiString; SQLDialect: integer); |
118 |
|
var Attachment: IAttachment; |
119 |
|
DPB: IDPB; |
120 |
|
begin |