Miss-counted const string length

This commit is contained in:
2020-11-09 12:38:06 +00:00
parent c93e367700
commit f6af7b7e3c

View File

@@ -323,7 +323,7 @@ int64_t updateQuery(struct stored_conn_t *sconn,
strbld_str(sb, "UPDATE ", 7); strbld_str(sb, "UPDATE ", 7);
escapeTableName_sb(sb, table, table_len); escapeTableName_sb(sb, table, table_len);
strbld_str(sb, " SET ", 4); strbld_str(sb, " SET ", 5);
strbld_str(sb, set, set_len); strbld_str(sb, set, set_len);
compileWhereBuilder_sb(sb, wb, 1); compileWhereBuilder_sb(sb, wb, 1);