- Update copyright years.
- Update Standards-Version to 4.7.2.
- Remove «Rules-Requires-Root: no» field, which is now the default.
- Remove «Priority: optional» field, which is now the default.
- Wrap and sort fields.
- Add spaces around operators in make variables.
Change-Id: Ie711255518bae8920df18c4ad34db17d708e551a
commit 74f22addc intruduced a bug that results in copying eg.
july CDRs into august backup table. datetime obejcts are not
immutable, so clone it before modifying.
Change-Id: I12a52b1de7f4f5f68397148cd206035d2ac0b6b7
This syntax is discouraged, and it is not enabled by default any longer
starting with the 5.36 feature bundles. Stop using it so that we can
eventually bump our minimum required Perl version.
Fixes: Objects::ProhibitIndirectSyntax
Warned-by: perlcritic
Ref: https://metacpan.org/pod/feature#The-'indirect'-feature
Change-Id: I714b22191afcc3b4d2c82c32e3ea359b08b3caed
We only support keydb now, and the config knob has been removed. Simply
hardcode the $server_name to keydb.
Change-Id: If00db36e4873404839ba685fb3f8f6cf1ac83e52
lintian v2.115.3 - as currently present in Debian/booksworm - doesn't
support the existing syntax for the non-standard-toplevel-dir override,
and therefore fails with:
| E: ngcp-cleanup-tools-ce: non-standard-toplevel-dir [ngcp-data/]
| E: ngcp-cleanup-tools-pro: non-standard-toplevel-dir [ngcp-data/]
It instead expects the filename(s) to be listed under "[...]".
By using "*...*" instead, we can support the lintian versions as present
in bookworm and bullseye both at the same time.
Change-Id: Ie972616187981f29d4feb5fc3e7c94ca4d9d9281
mariadb version > 10.1 changed the default row_format
from COMPACT to DYNAMIC. system upgraded to 7.5 therefore
end up with table partitions with different row_format, since
creating tables do not honour row_format (mysql bug 95478).
this in turn causes "ALTER TABLE .. EXCHANGE PARTITION .."
statements to fail with an error 1731 ("non matching attribute
ROW_FORMAT between table and partition", see MDEV-26027).
a manual mitigation would mean to align the row_formats
using "ALTER TABLE .. ROW_FORMAT = ..". But this in turn can
result fail with erro 1118 ("row size too large") for tables
with many&long columns (ie. accounting.cdr).
this fix will now mitigate the situation by falling back to
the built-in rowcopy method, if it detects mismatching
row_format.
Change-Id: Ief220be41b2350fa1437b6f35d46d1811facb57f
* cleanup_data():
- print error message when deletion from a table
fails (usually a non-exiting table is provided)
- amount of affected rows is set to 0 if undefined
Change-Id: I066041aae5d6a65c766480a2bbaf976c6563d188