Browse Source

* TSQLConnector GetNextValueSQL must call proxy implementation

git-svn-id: trunk@42792 -
michael 6 years ago
parent
commit
ea62b51a1f
1 changed files with 6 additions and 1 deletions
  1. 6 1
      packages/fcl-db/src/sqldb/sqldb.pp

+ 6 - 1
packages/fcl-db/src/sqldb/sqldb.pp

@@ -756,7 +756,7 @@ type
     function LoadField(cursor : TSQLCursor; FieldDef : TFieldDef; buffer : pointer; out CreateBlob : boolean) : boolean; override;
     procedure LoadBlobIntoBuffer(FieldDef: TFieldDef;ABlobBuf: PBufBlobField; cursor: TSQLCursor; ATransaction : TSQLTransaction); override;
     procedure FreeFldBuffers(cursor : TSQLCursor); override;
-
+    function GetNextValueSQL(const SequenceName: string; IncrementBy: Integer): string; override;
     function GetTransactionHandle(trans : TSQLHandle): pointer; override;
     function Commit(trans : TSQLHandle) : boolean; override;
     function RollBack(trans : TSQLHandle) : boolean; override;
@@ -3635,6 +3635,11 @@ begin
   FProxy.FreeFldBuffers(cursor);
 end;
 
+function TSQLConnector.GetNextValueSQL(const SequenceName: string; IncrementBy: Integer): string;
+begin
+  Result:=Proxy.GetNextValueSQL(SequenceName, IncrementBy);
+end;
+
 function TSQLConnector.LoadField(cursor: TSQLCursor; FieldDef: TFieldDef;
   buffer: pointer; out CreateBlob: boolean): boolean;
 begin