Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试向实时数据库添加一列,该列不断被访问:-
ALTER TABLE `projects` ADD COLUMN `cTime` INT(30) NULL DEFAULT NULL AFTER `session`
它总是挂起。这是一个 MyISAM 表,我猜它正在尝试锁定该表。我试过IGNORE,但有没有强制这样做?
您的声明中有一个双重空值
ALTER TABLE `projects` ADD COLUMN `cTime` INT(30) DEFAULT NULL AFTER `session`