fcl-db: sqlite: starting from SQLite 3.7.16, there is changed output of PRAGMA table_info. Now column "pk" shows order of given column in PK (or zero if column is not a part of PK).
Patch keeps backward compatibility.
Test TestMultipleFieldPKIndexDefs

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@23927 3ad0048d-3df7-0310-abae-a5850022a9f2