Fix GHC 7.6 FFI breakage
Bump version to 0.6.6.1
Added tag 0.6.6.1 for changeset ad804833b553
Add a hack to support both Cabal-1.16 and Cabal-1.18 Setup.hs script (fixed number of arguments for programFindLocation). Taken from hdbc-postgresql commit e9b2fbab07b8f55ae6a9e120ab0b98c433842a8b.
Call mysql_stmt_store_result after excuting a statement.
Allocate 4,096 bytes at most for each column in a result row.

For example, MySQL returns 65,536*3 bytes as the maximum length of TEXT column in utf-8. But in most cases, the column doesn't have such big data. So I made it allocate 4,096 bytes at most here.

When the data is actually larger than this size, mysql_stmt_fetch returns MYSQL_DATA_TRUNCATED and we get the whole data using mysql_stmt_fetch_column.