in reply to Re: Bitten by the lazy execution bug?
in thread Bitten by the lazy execution bug?
(minus indexes and other miscellanea) It's interesting that the two columns that have defaults specified don't need their respective variables ( $1 and $2) messed with. I tried recreating the table with a default for the explanation column, but apparently blob's can't have defaults as the default option was silently dropped. I also checked to see if, after a successful run of the script (using the my $x=$3; method), any "processor" values were null or any "code" values were '', and they weren't.CREATE TABLE `reference_code` ( `processor` enum('PTP','GNC') default NULL, `code` varchar(255) NOT NULL default '', `explanation` text NOT NULL )
|
|---|