ports/152693: [patch] databases/dbf2mysql can be compiled with current MySQL client library
Miroslav Lachman
000.fbsd at quip.cz
Thu Dec 2 11:50:07 UTC 2010
The following reply was made to PR ports/152693; it has been noted by GNATS.
From: Miroslav Lachman <000.fbsd at quip.cz>
To: freebsd-gnats-submit at FreeBSD.org
Cc:
Subject: Re: ports/152693: [patch] databases/dbf2mysql can be compiled with
current MySQL client library
Date: Thu, 02 Dec 2010 12:29:24 +0100
There are additional improvements from Debian's patch
http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg787955.html
It adds support for charset settings.
But charset support is incomplete, it needs CHARACTER SET in LOAD DATA
query:
sprintf (query, "LOAD DATA LOCAL INFILE '%s' REPLACE INTO table %s
CHARACTER SET %s FIELDS TERMINATED BY ',' ENCLOSED BY ''''", datafile,
table, charset);
If somebody is willing to test & committ it, I can produce the patches
for FreeBSD ports system. Just let me know.
Miroslav Lachman
More information about the freebsd-ports-bugs
mailing list