|
@@ -86,7 +86,7 @@ const
|
|
testCurrencyValues : Array[0..testValuesCount-1] of currency = (-100,-65.5,-54.34,-43.34,-2.50,-0.2,45.40,0.3,45.4,127,128,255,256,45,0.3,45.4,127,128,255,256,45,1234.56,43.23,43.43,99.88);
|
|
testCurrencyValues : Array[0..testValuesCount-1] of currency = (-100,-65.5,-54.34,-43.34,-2.50,-0.2,45.40,0.3,45.4,127,128,255,256,45,0.3,45.4,127,128,255,256,45,1234.56,43.23,43.43,99.88);
|
|
testIntValues : Array[0..testValuesCount-1] of integer = (-maxInt,-maxInt+1,-maxSmallint-1,-maxSmallint,-256,-255,-128,-127,-1,0,1,127,128,255,256,maxSmallint,maxSmallint+1,MaxInt-1,MaxInt,100,130,150,-150,-132,234);
|
|
testIntValues : Array[0..testValuesCount-1] of integer = (-maxInt,-maxInt+1,-maxSmallint-1,-maxSmallint,-256,-255,-128,-127,-1,0,1,127,128,255,256,maxSmallint,maxSmallint+1,MaxInt-1,MaxInt,100,130,150,-150,-132,234);
|
|
testSmallIntValues : Array[0..testValuesCount-1] of smallint = (-maxSmallint,-maxSmallint+1,-256,-255,-128,-127,-1,0,1,127,128,255,256,maxSmallint,maxSmallint-1,100,110,120,130,150,-150,-132,234,231,42);
|
|
testSmallIntValues : Array[0..testValuesCount-1] of smallint = (-maxSmallint,-maxSmallint+1,-256,-255,-128,-127,-1,0,1,127,128,255,256,maxSmallint,maxSmallint-1,100,110,120,130,150,-150,-132,234,231,42);
|
|
- testLargeIntValues : Array[0..testValuesCount-1] of LargeInt = (-MaxSIntValue,-MaxSIntValue+1,-maxInt-1,-maxInt+1,-maxSmallint,-maxSmallint+1,-256,-255,-128,-127,-1,0,1,127,128,255,256,maxSmallint,maxSmallint-1,maxSmallint+1,MaxInt-1,MaxInt,MaxSIntValue-1,MaxSIntValue,235253244);
|
|
|
|
|
|
+ testLargeIntValues : Array[0..testValuesCount-1] of LargeInt = ( -$7fffffffffffffff,-$7ffffffffffffffe,-maxInt-1,-maxInt+1,-maxSmallint,-maxSmallint+1,-256,-255,-128,-127,-1,0,1,127,128,255,256,maxSmallint,maxSmallint-1,maxSmallint+1,MaxInt-1,MaxInt,$7fffffffffffffff-1,$7fffffffffffffff,235253244);
|
|
testBooleanValues : Array[0..testValuesCount-1] of boolean = (true,false,false,true,true,false,false,true,false,true,true,true,false,false,false,false,true,true,true,true,false,true,true,false,false);
|
|
testBooleanValues : Array[0..testValuesCount-1] of boolean = (true,false,false,true,true,false,false,true,false,true,true,true,false,false,false,false,true,true,true,true,false,true,true,false,false);
|
|
testStringValues : Array[0..testValuesCount-1] of string = (
|
|
testStringValues : Array[0..testValuesCount-1] of string = (
|
|
'',
|
|
'',
|
|
@@ -104,14 +104,14 @@ const
|
|
'1234567890',
|
|
'1234567890',
|
|
'_!@#$%^&*(',
|
|
'_!@#$%^&*(',
|
|
'_!@#$%^&*(',
|
|
'_!@#$%^&*(',
|
|
-// ' ''quotes'' ',
|
|
|
|
|
|
+ ' ''quotes'' ',
|
|
')-;:/?.<>',
|
|
')-;:/?.<>',
|
|
'~`|{}- =', // note that there's no \ (backslash) since some db's uses that as escape-character
|
|
'~`|{}- =', // note that there's no \ (backslash) since some db's uses that as escape-character
|
|
' WRaP ',
|
|
' WRaP ',
|
|
'wRaP ',
|
|
'wRaP ',
|
|
' wRAP',
|
|
' wRAP',
|
|
'this',
|
|
'this',
|
|
- 'is',
|
|
|
|
|
|
+// 'is',
|
|
'fun',
|
|
'fun',
|
|
'VB7^',
|
|
'VB7^',
|
|
'vdfbst'
|
|
'vdfbst'
|
|
@@ -176,7 +176,7 @@ end;
|
|
|
|
|
|
destructor TDBConnector.destroy;
|
|
destructor TDBConnector.destroy;
|
|
begin
|
|
begin
|
|
- FUsedDatasets.Destroy;
|
|
|
|
|
|
+ if assigned(FUsedDatasets) then FUsedDatasets.Destroy;
|
|
DropNDatasets;
|
|
DropNDatasets;
|
|
DropFieldDataset;
|
|
DropFieldDataset;
|
|
end;
|
|
end;
|