Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data buffer fixes #24

Merged
merged 6 commits into from
Aug 3, 2016
Merged

Data buffer fixes #24

merged 6 commits into from
Aug 3, 2016

Commits on Jul 29, 2016

  1. Handle partial SQLGetData results

    Deal with the case that the buffer for SQLGetData is too small,
    and also with missing trailing zeros.
    jgoizueta committed Jul 29, 2016
    Configuration menu
    Copy the full SHA
    3db51c0 View commit details
    Browse the repository at this point in the history
  2. Use adequate minimum buffer size for numeric data

    To avoid loss of precision
    jgoizueta committed Jul 29, 2016
    Configuration menu
    Copy the full SHA
    df59364 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2016

  1. Limit size of varying columns and buffers

    Some types (e.g. PostGIS geometry columns which are mapped to text)
    may have huge sized. We now use type text for those large columns
    and limit the buffer size (which is no problem since
    GetData by parts was implemented)
    jgoizueta committed Aug 1, 2016
    Configuration menu
    Copy the full SHA
    8149e32 View commit details
    Browse the repository at this point in the history
  2. Fix various binary column problems

    * Non-supported column types (including bit-strings) are now omitted
    * bit(1) is interpreted as boolean
    * Conversion to bytea (longvarbinary) is handled properly
    
    The buf_used variable has been added to keep track of the buffer size
    in case of binary data (non null-terminated) so it will be available
    for future binary conversions.
    jgoizueta committed Aug 1, 2016
    Configuration menu
    Copy the full SHA
    4caff4f View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2016

  1. Configuration menu
    Copy the full SHA
    f903e6a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cb4a4c2 View commit details
    Browse the repository at this point in the history