mirror of
https://gitee.com/wangbin579/cetus.git
synced 2024-12-01 19:37:38 +08:00
Fix partition rewrite problems
This commit is contained in:
parent
921c62b9e4
commit
6d3b65750c
@ -582,6 +582,9 @@ sql_construct_update(sql_update_t *p)
|
||||
for (i = 0; p->set_list && i < p->set_list->len; ++i) {
|
||||
sql_expr_t *expr = g_ptr_array_index(p->set_list, i);
|
||||
append_sql_expr(s, expr);
|
||||
if ((i + 1) < p->set_list->len) {
|
||||
g_string_append(s, ",");
|
||||
}
|
||||
}
|
||||
|
||||
if (p->where_clause) {
|
||||
|
Loading…
Reference in New Issue
Block a user