1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-23 22:50:09 +03:00

B #6113: Fix DB encoding for onedb upgrade (#2488)

(cherry picked from commit 0b958f46b472d3af903218b5ecc1a0331f99bc66)
This commit is contained in:
Pavel Czerný 2023-02-08 13:12:26 +01:00 committed by Ruben S. Montero
parent f376c3580c
commit 56f090fe4d
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

View File

@ -332,6 +332,7 @@ class BackEndMySQL < OneDBBacKEnd
"T.table_name = '#{table}';"
) do |row|
enconding = row[:character_set_name]
enconding ||= row[:CHARACTER_SET_NAME]
end
table_to_nk(enconding)