mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Implement GetCurrentValueSQL and GetNextValueSQL to avoid compiler warnings about abstract methods present in an instantiated object.
This commit is contained in:
@@ -236,8 +236,8 @@ type
|
||||
function GetCurrentValue: Int64; virtual;
|
||||
function GetNextValue: Int64; virtual;
|
||||
|
||||
function GetCurrentValueSQL: string; virtual; abstract;
|
||||
function GetNextValueSQL: string; virtual; abstract;
|
||||
function GetCurrentValueSQL: string; virtual;
|
||||
function GetNextValueSQL: string; virtual;
|
||||
|
||||
function GetConnection: IZConnection; virtual;
|
||||
|
||||
@@ -1069,12 +1069,12 @@ begin
|
||||
Result := 0;
|
||||
end;
|
||||
|
||||
{
|
||||
|
||||
function TZAbstractSequence.GetCurrentValueSQL: String;
|
||||
begin
|
||||
result:='IMPLEMENT';
|
||||
Result := IntToStr(GetCurrentValue);
|
||||
end;
|
||||
}
|
||||
|
||||
|
||||
{**
|
||||
Gets the next unique key generated by this sequence.
|
||||
@@ -1085,12 +1085,11 @@ begin
|
||||
Result := 0;
|
||||
end;
|
||||
|
||||
{
|
||||
|
||||
function TZAbstractSequence.GetNextValueSQL: String;
|
||||
begin
|
||||
result:='IMPLEMENT';
|
||||
Result := IntToStr(GetNextValue);
|
||||
end;
|
||||
}
|
||||
|
||||
{**
|
||||
Sets the block size for this sequence.
|
||||
|
||||
Reference in New Issue
Block a user