Add ARMV6L to architectures that support database encryption
Background
-
The recently added
r136/ydb575subtest failed on ARMV6L with the following diff.--- ydb575/ydb575.diff --- 9c9 < %YDB-E-CRYPTINIT, Could not initialize encryption library while opening encrypted file r136_0/ydb575/mumps.dat. Environment variable ydb_passwd/gtm_passwd not set --- > %YDB-E-GVUNDEF, Global variable undefined: ^x -
The test creates an encrypted database and then does a get of
^x. It expects to see aCRYPTINITerror but in the actual test, we get aGVUNDEFerror. -
This is because the database was created with encryption turned OFF even though the test explicitly enables encryption.
Issue
-
While adding support for YottaDB on ARMV6L, 0023d7a1 forgot to add it to the list of architectures that support ENCRYPTION in
sr_port/gdeinit.m. This meant that even if one runs achange -segment DEFAULT -encryptioninside GDE, ashow -segmentwould still show asENCR= OFF. NotENCR= ON. -
This meant there is no way to create encrypted databases on ARMV6L.
Fix
-
sr_port/gdeinit.mis fixed in this commit to recognizearmv6las an architecture that supports database encryption. -
While at this,
armv7lis also added to the same list since it should also support encryption just likearmv6ldoes.