Closed jljr222 closed 6 years ago
Which mysql version do you have? I can't reproduce this with 10.1.29-MariaDB but i could update thequery like this one:
SET @shopCredits = (SELECT IF( (SELECT COUNT(*) FROM INFORMATION_SCHEMA.COLUMNS WHERE table_name = 'ttt' AND table_schema = DATABASE() AND column_name = 'credits' ) > 0, "SELECT 1", "ALTER TABLE ttt ADD COLUMN
credits
INT(11) NOT NULL DEFAULT 0" )); PREPARE shopStatement FROM @shopCredits; EXECUTE shopStatement; DEALLOCATE PREPARE shopStatement;
// Edit So far i know, multiple queries doesn't work with sourcemod....
mysql Ver 14.14 Distrib 5.6.38
Could you try the build id 1589?
I'll try when I get out of work. Thanks @Bara
Just tried the latest dev release and this issue seems resolved.
This thread has been automatically locked.
Here's is a list what we need: