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

lib: Increase max size of SQL statements #1124

Merged
merged 4 commits into from
Jul 25, 2022

Commits on Nov 28, 2020

  1. lib: Increase max size of SQL statements

    Increases length of SQL statements in db.execute and elsewhere (DB_SQL_MAX)
    from 1024 * pow(2, 3) to 1024 * pow(2, 6). Longer SQL statements are needed
    for long attribute values, but also for tables with a lot of columns,
    esp. when this table needs to be dropped and re-created during v.db.dropcolumn
    (which is the original motivation for this change).
    
    The new value is much higher than the current one and the SQL in the
    v.db.dropcolumn case above. If every occurence of DB_SQL_MAX in the
    code (77) would be allocated at the same time, it would be still
    under 5 MiB.
    wenzeslaus committed Nov 28, 2020
    Configuration menu
    Copy the full SHA
    fb0879c View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2021

  1. Configuration menu
    Copy the full SHA
    d8dbf8e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    778fc01 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2022

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