Skip to content

Commit

Permalink
v.patch
Browse files Browse the repository at this point in the history
increase buffer size for SQL statements to DB_SQL_MAX
  • Loading branch information
metzm committed Apr 3, 2020
1 parent a6cf558 commit 9de8682
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vector/v.patch/main.c
Expand Up @@ -636,7 +636,7 @@ int copy_records(dbDriver * driver_in, dbString * table_name_in,

while (1) {
int more;
char buf[2000];
char buf[DB_SQL_MAX];

if (db_fetch(&cursor, DB_NEXT, &more) != DB_OK) {
db_close_cursor(&cursor);
Expand Down

0 comments on commit 9de8682

Please sign in to comment.