CONNECT engine fixes after 10.0 merge.

Adaptation to new API, small simplifications and bug fixes
This commit is contained in:
Sergei Golubchik 2013-04-19 20:35:43 +02:00
commit 6bd49441b5
18 changed files with 295 additions and 741 deletions

View file

@ -176,7 +176,7 @@ static int dbfhead(PGLOBAL g, FILE *file, PSZ fn, DBFHEADER *buf)
/* DBFColumns: constructs the result blocks containing the description */
/* of all the columns of a DBF file that will be retrieved by #GetData. */
/****************************************************************************/
PQRYRES DBFColumns(PGLOBAL g, char *fn, BOOL info)
PQRYRES DBFColumns(PGLOBAL g, const char *fn, BOOL info)
{
static int dbtype[] = {DB_CHAR, DB_SHORT, DB_CHAR,
DB_INT, DB_INT, DB_SHORT};