diff --git a/src/osm_callbacks.c b/src/osm_callbacks.c index dafaf67abdc..c072ad237c9 100644 --- a/src/osm_callbacks.c +++ b/src/osm_callbacks.c @@ -19,7 +19,7 @@ ts_get_osm_callbacks(void) return *ptr; } -/* This interface and version of the struct will be remove donce we have a new version of OSM on all +/* This interface and version of the struct will be removed once we have a new version of OSM on all * instances */ static OsmCallbacks * diff --git a/tsl/test/expected/chunk_utils_internal.out b/tsl/test/expected/chunk_utils_internal.out index e1fcc22062c..232a77c2d06 100644 --- a/tsl/test/expected/chunk_utils_internal.out +++ b/tsl/test/expected/chunk_utils_internal.out @@ -924,10 +924,11 @@ SELECT ts_setup_osm_hook(); BEGIN; SELECT drop_chunks('hyper_constr', 10::int); NOTICE: hypertable_drop_chunks_hook - drop_chunks ------------------------------ - _timescaledb_internal.dummy -(1 row) + drop_chunks +------------------------------ + _timescaledb_internal.dummy0 + _timescaledb_internal.dummy1 +(2 rows) SELECT id, table_name FROM _timescaledb_catalog.chunk where hypertable_id = (Select id from _timescaledb_catalog.hypertable where table_name = 'hyper_constr'); diff --git a/tsl/test/src/test_chunk_stats.c b/tsl/test/src/test_chunk_stats.c index 6435aff656b..1a815b05173 100644 --- a/tsl/test/src/test_chunk_stats.c +++ b/tsl/test/src/test_chunk_stats.c @@ -60,10 +60,10 @@ osm_ht_drop_chunks_hook_mock(Oid osm_chunk_oid, const char *schema_name, const c { List *ret = NIL; elog(NOTICE, "hypertable_drop_chunks_hook "); - for (int i = 1; i < 2; i++) + for (int i = 0; i < 2; i++) { char *chunk_name; - chunk_name = psprintf("%s", "_timescaledb_internal.dummy"); + chunk_name = psprintf("%s%d", "_timescaledb_internal.dummy", i); ret = lappend(ret, chunk_name); } return ret;