|
@@ -1185,9 +1185,9 @@ begin
|
|
end;
|
|
end;
|
|
|
|
|
|
if (FieldType in [ftString,ftFixedChar]) and // field types mapped to TStringField
|
|
if (FieldType in [ftString,ftFixedChar]) and // field types mapped to TStringField
|
|
- (FieldSize >= dsMaxStringSize) then
|
|
|
|
|
|
+ (FieldSize > MaxSmallint) then
|
|
begin
|
|
begin
|
|
- FieldSize:=dsMaxStringSize-1;
|
|
|
|
|
|
+ FieldSize := MaxSmallint;
|
|
end
|
|
end
|
|
else
|
|
else
|
|
// any exact numeric type with scale 0 can have identity attr.
|
|
// any exact numeric type with scale 0 can have identity attr.
|
|
@@ -1536,8 +1536,6 @@ begin
|
|
end;
|
|
end;
|
|
|
|
|
|
destructor TODBCCursor.Destroy;
|
|
destructor TODBCCursor.Destroy;
|
|
-var
|
|
|
|
- Res:SQLRETURN;
|
|
|
|
begin
|
|
begin
|
|
{$IF NOT((FPC_VERSION>=2) AND (FPC_RELEASE>=1))}
|
|
{$IF NOT((FPC_VERSION>=2) AND (FPC_RELEASE>=1))}
|
|
FBlobStreams.Free;
|
|
FBlobStreams.Free;
|