User:BigChimp

From Free Pascal wiki
Revision as of 12:56, 23 October 2012 by BigChimp (talk | contribs)
Jump to navigationJump to search

Just a guy fiddling with computers. I don't have a Delphi or formal programming background... but Lazarus/FreePascal really works for me!

Database test framework run

Ran database test framework for FPC trunk on 25 September 2012.

Remarks on some TTestFieldTypes tests:

  • TTestFieldTypes.TestInsertLargeStrFields tries to create a 16000 character field; UTF8 encoded Firebird dbs only support up to about 8000 characters (32768 bytes). So the same problem as the UTF8 field length issue.
  • TTestFieldTypes.TestCrossStringDateParam: exception invalid variant type cast=>conversion error or something? would require stepping through the code to find out what's wrong I suppose
  • TTestFieldTypes.TestTemporaryTable: fixed test; Firebird supports temp tables
  • TTestFieldTypes.TestLargeRecordSize: fields are 8192 chars; same issue as TTestFieldTypes.TestInsertLargeStrFields

todo: do the rest

SQLDB internals

dsMaxStringSize (e.g. in fields.inc) indicates some maximum string field before a field becomes ftMemo??