It looks like you put it in the wrong place. You tried to run the query:
SELECT * FROM `pcms2_contents` WHERE 1 ALTER TABLE `pcms2_contents` ADD `ContentDataType` VARCHAR(32) NULL
it should just be:
ALTER TABLE `pcms2_contents` ADD `ContentDataType` VARCHAR(32) NULL