N°3049 Fix notice when having an ENUM field with values containing parenthesis

This commit is contained in:
Pierre Goiffon
2020-05-27 17:20:48 +02:00
parent 336637a7a4
commit e6a8f492d5
2 changed files with 7 additions and 2 deletions

View File

@@ -101,6 +101,11 @@ class CMDBSourceTest extends ItopTestCase
"ENUM('1','2','3') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '1'",
"enum('1','2','3') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT '1'",
),
'ENUM with values containing parenthesis' => array(
true,
"ENUM('CSP A','CSP M','NA','OEM(ROC)','OPEN(VL)','RETAIL (Boite)') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci",
"enum('CSP A','CSP M','NA','OEM(ROC)','OPEN(VL)','RETAIL (Boite)') CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci",
),
);
}
}