summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rwxr-xr-xlib/mysql-functions6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/mysql-functions b/lib/mysql-functions
index cd35df4..27f327b 100755
--- a/lib/mysql-functions
+++ b/lib/mysql-functions
@@ -1492,7 +1492,11 @@ mysql_retrieve_static_information() {
printf ' FROM `compressions`;\n'
printf 'SELECT CONCAT('
printf '"package_compression_suffix_regex=\\"",'
- printf 'GROUP_CONCAT(`compressions`.`suffix` SEPARATOR "\\\\|"),'
+ printf 'GROUP_CONCAT('
+ printf 'REPLACE('
+ printf '`compressions`.`suffix`,'
+ printf '".","\\\\."'
+ printf ') SEPARATOR "\\\\|"),'
printf '"\\""'
printf ') FROM `compressions`;\n'
} | \