Essayez de faire le calcul à l'extérieur :
SELECT CAST(IFNULL(comboCount, 1) AS INT) * COUNT(partID) INTO comboCount
FROM productOption
Si cela ne fonctionne pas, essayez de CAST comme UNSIGNED; pas INT .
Essayez de faire le calcul à l'extérieur :
SELECT CAST(IFNULL(comboCount, 1) AS INT) * COUNT(partID) INTO comboCount
FROM productOption
Si cela ne fonctionne pas, essayez de CAST comme UNSIGNED; pas INT .