Miss-counted const string length
This commit is contained in:
@@ -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);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user