Skip to content
Snippets Groups Projects
Commit 3fb36a4b authored by Danny Auble's avatar Danny Auble
Browse files

Minor format changes, no real code change.

parent c781fcfa
No related branches found
No related tags found
No related merge requests found
...@@ -2733,8 +2733,7 @@ static uint32_t _archive_table(purge_type_t type, mysql_conn_t *mysql_conn, ...@@ -2733,8 +2733,7 @@ static uint32_t _archive_table(purge_type_t type, mysql_conn_t *mysql_conn,
case PURGE_TXN: case PURGE_TXN:
query = xstrdup_printf("select %s from \"%s\" where " query = xstrdup_printf("select %s from \"%s\" where "
"timestamp <= %ld && cluster='%s' " "timestamp <= %ld && cluster='%s' "
"order by timestamp asc " "order by timestamp asc for update",
"for update",
cols, sql_table, cols, sql_table,
period_end, cluster_name); period_end, cluster_name);
break; break;
...@@ -2742,8 +2741,7 @@ static uint32_t _archive_table(purge_type_t type, mysql_conn_t *mysql_conn, ...@@ -2742,8 +2741,7 @@ static uint32_t _archive_table(purge_type_t type, mysql_conn_t *mysql_conn,
case PURGE_CLUSTER_USAGE: case PURGE_CLUSTER_USAGE:
query = xstrdup_printf("select %s from \"%s_%s\" where " query = xstrdup_printf("select %s from \"%s_%s\" where "
"time_start <= %ld " "time_start <= %ld "
"order by time_start asc " "order by time_start asc for update",
"for update",
cols, cluster_name, sql_table, cols, cluster_name, sql_table,
period_end); period_end);
break; break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment