bradymiller wrote on Sunday, May 24, 2009:
hey,
While sleuthing through openemr for internationalization stuff, while trying to use oe of the ROS forms, I was told the form_reviewofs was gone. Lo and behold the table is not there anymore (I confirmed it was there in 3.0.1 release). I then tried to import this table directly through phpmyadmin and got this error:
Error
SQL query:
CREATE TABLE `form_reviewofs` ( `id` bigint(20) NOT NULL auto_increment, `date` datetime default NULL, `pid` bigint(20) default NULL, `user` varchar(255) default NULL, `groupname` varchar(255) default NULL, `authorized` tinyint(4) default NULL, `activity` tinyint(4) default NULL, `fever` varchar(255) default NULL, `chills` varchar(255) default NULL, `night_sweats` varchar(255) default NULL, `weight_loss` varchar(255) default NULL, `poor_appetite` varchar(255) default NULL, `insomnia` varchar(255) default NULL, `fatigued` varchar(255) default NULL, `depressed` varchar(255) default NULL, `hyperactive` varchar(255) default NULL, `exposure_to_foreign_countries` varchar(255) default NULL, `cataracts` varchar(255) default NULL, `cataract_surgery` varchar(255) default NULL, `glaucoma` varchar(255) default NULL, `double_vision` varchar(255) default NULL, `blurred_vision` varchar(255) default NULL, `poor_hearing` varchar(255) default NULL, `heada[…]
MySQL said: Documentation
#1118 - Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. You have to change some columns to TEXT or BLOBs
The UTF8 format pushed the size of this thing over the limit. confirmed this because if I force a latin1 database then I don’t get error when improting the table and it works just fine.
Setting varchars to 255 for simple toggles seems a bit extreme?
-brady