4
if ( (scalar(@ARGV) != 2 ) || ($ARGV[0] =~ /[^0-9]/i ) )
8
if( $ARGV[0] =~ /[^0-9]/i )
12
print "\n\nFirst parameter <Rowcount> should be an integer value. \n"
29
if ( $ARGV[1] =~ /innodb/i )
35
# First Table "tb1.txt"
38
$file = 'innodb_tb1.txt';
40
open ( FILE_INPUT, ">$file");
42
$oldhandle = select(FILE_INPUT);
44
#Data type declarations
58
for ($count=0; $count < $ARGV[0]; $count++)
64
$char = &get_next_char($count);
66
$char_0 = &get_next_char_0($count);
68
$longtext = &get_next_longtext($count);
70
$tinytext = &get_next_tinytext($count);
72
$s_int = &get_next_s_int($count,$ARGV[0]);
74
$decimal = $count. "\." .$count;
77
print ($char_0); #char(0)##
79
print ("\t",$char_0); #char binary(0)##
81
print ("\t",$char_0); #char ascii(0)##
83
print ("\t",$tinytext); #tiny text unicode##
85
print ("\t",$tinytext); #text
87
print ("\t",$longtext); #medium text
89
print ("\t",$longtext); #long text
91
print ("\t",$tinytext); #tiny blob
93
print ("\t",$tinytext); #blob
95
print ("\t",$longtext); #medium blob
97
print ("\t",$longtext); #long blob
99
print ("\t",$char); #binary
101
print ("\t",&random(127)); #tiny int
103
print ("\t",&random(255)); #tiny int unsigned
105
print ("\t",&random(127)); #tiny int zerofill
107
print ("\t",&random(255)); #tiny int unsigned zerofill
109
print ("\t",&random(32767)); #smallint
111
print ("\t",&random(65535)); #smallint unsigned
113
print ("\t",&random(32767)); #smallint zerofill
115
print ("\t",&random(65535)); #smallint unsigned zerofill
117
print ("\t",$s_int); #mediumint
119
print ("\t",$u_int); #mediumint unsigned
121
print ("\t",$u_int); #mediumint zerofill
123
print ("\t",$u_int); #mediumint unsigned zerofill
125
print ("\t",$s_int); #int
127
print ("\t",$u_int); #int unsigned
129
print ("\t",$u_int); #int zerofill
131
print ("\t",$u_int); #int unsigned zerofill
133
print ("\t",$s_int); #bigint
135
print ("\t",$u_int); #bigint unsigned
137
print ("\t",$u_int); #bigint zerofill
139
print ("\t",$u_int); #bigint unsigned zerofill
141
print ("\t",$s_int); #decimal
143
print ("\t",$u_int); #decimal unsigned
145
print ("\t",$u_int); #decimal zerofill
147
print ("\t",$u_int); #decimal unsigned zerofill not null
149
print ("\t",$s_int); #decimal(0) not null
151
print ("\t",$s_int); #decimal(254) not null
153
print ("\t",$u_int); #decimal (0) unsigned not null
155
print ("\t",$u_int); #decimal (254) unsigned not null
157
print ("\t",$u_int); #decimal(0) zerofill not null
159
print ("\t",$u_int); #decimal(254) zerofill not null
161
print ("\t",$u_int); #decimal (0) unsigned zerofill not null
163
print ("\t",$u_int); #decimal (254) unsigned zerofill not null
165
print ("\t",$s_int); #decimal (0,0) not null
167
print ("\t",$decimal); #decimal(253,253) not null
169
print ("\t",$u_int); #decimal (0,0) unsigned not null
171
print ("\t",$decimal); #decimal (253,253) unsigned not null
173
print ("\t",$u_int); #decimal(0,0) zerofill not null
175
print ("\t",$decimal); #decimal(253,253) zerofill not null
177
print ("\t",$u_int); #decimal (0,0) unsigned zerofill not null
179
print ("\t",$decimal); #decimal (253,253) unsigned zerofill not null
181
print ("\t",$s_int); #numeric not null
183
print ("\t",$u_int); #numeric unsigned not null
185
print ("\t",$u_int); #numeric zerofill not null
187
print ("\t",$u_int); #numeric unsigned zerofill not null
189
print ("\t",$s_int); #numeric(0) not null
191
print ("\t",$s_int); #numeric(254) not null
203
# Second Table "tb2.txt"
206
$file = 'innodb_tb2.txt';
208
open ( FILE_INPUT, ">$file");
210
$oldhandle = select(FILE_INPUT);
223
$current_time = "838:59:59";
225
$s_time = "00:00:00";
227
$s_date = "1970-01-01";
229
$current_date = "1000-01-00";
231
$current_year = 1901;
233
$u_current_float = 1.175494351e-38;
235
$s_current_float = -1.175494351e-38;
243
for ($count=0; $count < $ARGV[0]; $count++)
249
$char = &get_next_char($count);
251
$s_int = &get_next_s_int($count,$ARGV[0]);
253
$longtext = &get_next_longtext($count);
255
$tinytext = &get_next_tinytext($count);
257
$decimal = $count. "\." .$count;
259
$int = &get_next_int($int);
261
$enum = &get_next_enum($enum);
263
$set = &get_next_set($set);
265
$current_date = &get_next_date($current_date);
267
$current_time = &get_next_time($current_time);
269
$current_year = &get_next_year($current_year);
271
$u_current_float = &get_next_float($u_current_float);
273
$s_current_float = &get_next_float($s_current_float);
275
$s_time = &get_next_s_time($s_time);
277
$s_date = &get_next_s_date($s_date);
279
$datetime = &get_next_datetime($s_date,$s_time);
281
$timestamp = &get_next_timestamp($s_date,$s_time);
284
print ($u_int); #numeric (0) unsigned
286
print ("\t",$u_int); #numeric (254) unsigned
288
print ("\t",$u_int); #numeric (0) zerofill
290
print ("\t",$u_int); #numeric (254) zerofill
292
print ("\t",$u_int); #numeric (0) unsigned zerofill
294
print ("\t",$u_int); #numeric (254) unsigned zerofill
296
print ("\t",$s_int); #numeric (0,0)
298
print ("\t",$decimal); #numeric (253,253)
300
print ("\t",$u_int); #numeric (0,0) unsigned
302
print ("\t",$decimal); #numeric (253,253) unsigned
304
print ("\t",$u_int); #numeric (0,0) zerofill
306
print ("\t",$decimal); #numeric (253,253) zerofill
308
print ("\t",$u_int); #numeric (0,0) unsigned zerofill
310
print ("\t",$decimal); #numeric (253,253) unsigned zerofill
312
print ("\t",$s_current_float); #real
314
print ("\t",$u_current_float); #real unsigned
316
print ("\t",$u_current_float); #real zerofill
318
print ("\t",$u_current_float); #real unsigned zerofill
320
print ("\t",$s_current_float); #double
322
print ("\t",$u_current_float); #double unsigned
324
print ("\t",$u_current_float); #double zerofill
326
print ("\t",$u_current_float); #double unsigned zerofill
328
print ("\t",$s_current_float); #float not null
330
print ("\t",$u_current_float); #float unsigned not null
332
print ("\t",$u_current_float); #float zerofill not null
334
print ("\t",$u_current_float); #float unsigned zerofill not null
336
print ("\t",$s_current_float); #float(0) not null
338
print ("\t",$s_current_float); #float(23) not null
340
print ("\t",$u_current_float); #float(0) unsigned not null
342
print ("\t",$u_current_float); #float(23) unsigned not null
344
print ("\t",$u_current_float); #float(0) zerofill not null
346
print ("\t",$u_current_float); #float(23) zerofill not null
348
print ("\t",$u_current_float); #float(0) unsigned zerofill not null
350
print ("\t",$u_current_float); #float(23) unsigned zerofill not null
352
print ("\t",$s_current_float); #float(24) not null
354
print ("\t",$s_current_float); #float(53) not null
356
print ("\t",$u_current_float); #float(24) unsigned not null
358
print ("\t",$u_current_float); #float(53) unsigned not null
360
print ("\t",$u_current_float); #float(24) zerofill not null
362
print ("\t",$u_current_float); #float(53) zerofill not null
364
print ("\t",$u_current_float); #float(24) unsigned zerofill not null
366
print ("\t",$u_current_float); #float(53) unsigned zerofill not null
368
print ("\t",$current_date); #date not null
370
print ("\t",$current_time); #time not null
372
print ("\t",$datetime); #datetime not null
374
print ("\t",$timestamp); #timestamp not null
376
print ("\t",$current_year); #year not null
378
print ("\t",$current_year); #year(3) not null
380
print ("\t",$current_year); #year(4) not null
382
print ("\t",$enum); #enum("1enum","2enum") not null
384
print ("\t",$set); #set("1set","2set") not null
396
# Third Table "tb3.txt"
399
$file = 'innodb_tb3.txt';
401
open ( FILE_INPUT, ">$file");
403
$oldhandle = select(FILE_INPUT);
413
for ($count=0; $count < $ARGV[0]; $count++)
420
$char = &get_next_char($count);
422
$longtext = &get_next_longtext($count);
424
$tinytext = &get_next_tinytext($count);
426
$s_int = &get_next_s_int($count,$ARGV[0]);
428
$decimal = $count. "\." .$count;
431
print ($char); #char not null
433
print ("\t",$char); #char binary not null
435
print ("\t",$char); #char ascii not null
437
print ("\t",$tinytext); #tinytext not null
439
print ("\t",$tinytext); #text not null
441
print ("\t",$longtext); #mediumtext not null
443
print ("\t",$longtext); #longtext not null unicode##
445
print ("\t",$tinytext); #tinyblob not null
447
print ("\t",$tinytext); #blob not null
449
print ("\t",$longtext); #mediumblob not null
451
print ("\t",$longtext); #longblob not null
453
print ("\t",$char); #binary not null
455
print ("\t",&random(127)); #tinyint not null
457
print ("\t",&random(255)); #tinyint unsigned not null
459
print ("\t",&random(127)); #tinyint zerofill not null
461
print ("\t",&random(255)); #tinyint unsigned zerofill not null
463
print ("\t",&random(32767)); #smallint not null
465
print ("\t",&random(65535)); #smallint unsigned not null
467
print ("\t",&random(32767)); #smallint zerofill not null
469
print ("\t",&random(65535)); #smallint unsigned zerofill not null
471
print ("\t",$s_int); #mediumint not null
473
print ("\t",$u_int); #mediumint unsigned not null
475
print ("\t",$u_int); #mediumint zerofill not null
477
print ("\t",$u_int); #mediumint unsigned zerofill not null
479
print ("\t",$s_int); #int not null
481
print ("\t",$u_int); #int unsigned not null
483
print ("\t",$u_int); #int zerofill not null
485
print ("\t",$u_int); #int unsigned zerofill not null
487
print ("\t",$s_int); #bigint not null
489
print ("\t",$u_int); #bigint unsigned not null
491
print ("\t",$u_int); #bigint zerofill not null
493
print ("\t",$u_int); #bigint unsigned zerofill not null
495
print ("\t",$s_int); #decimal not null
497
print ("\t",$u_int); #decimal unsigned not null
499
print ("\t",$u_int); #decimal zerofill not null
501
print ("\t",$u_int); #decimal unsigned zerofill
503
print ("\t",$s_int); #decimal(0)
505
print ("\t",$s_int); #decimal(254)
507
print ("\t",$u_int); #decimal (0) unsigned
509
print ("\t",$u_int); #decimal (254) unsigned
511
print ("\t",$u_int); #decimal(0) zerofill
513
print ("\t",$u_int); #decimal(254) zerofill
515
print ("\t",$u_int); #decimal (0) unsigned zerofill
517
print ("\t",$u_int); #decimal (254) unsigned zerofill
519
print ("\t",$s_int); #decimal (0,0)
521
print ("\t",$decimal); #decimal(253,253)
523
print ("\t",$u_int); #decimal (0,0) unsigned
525
print ("\t",$decimal); #decimal (253,253) unsigned
527
print ("\t",$u_int); #decimal(0,0) zerofill
529
print ("\t",$decimal); #decimal(253,253) zerofill
531
print ("\t",$u_int); #decimal (0,0) unsigned zerofill
533
print ("\t",$decimal); #decimal (253,253) unsigned zerofill
535
print ("\t",$s_int); #numeric
537
print ("\t",$u_int); #numeric unsigned
539
print ("\t",$u_int); #numeric zerofill
541
print ("\t",$u_int); #numeric unsigned zerofill
543
print ("\t",$s_int); #numeric(0)
545
print ("\t",$s_int); #numeric(254)
557
# Fourth Table "tb4.txt"
560
$file = 'innodb_tb4.txt';
562
open ( FILE_INPUT, ">$file");
564
$oldhandle = select(FILE_INPUT);
578
$s_time = "00:00:00";
580
$s_date = "1970-01-01";
582
$current_time = "838:59:59";
584
$current_date = "1000-01-00";
586
$current_year = 1901;
588
$u_current_float = 1.175494351e-38;
590
$s_current_float = -1.175494351e-38;
598
for ($count=0; $count < $ARGV[0]; $count++)
604
# $bit = &get_next_bit(0);
606
$char = &get_next_char($count);
608
$char_0 = &get_next_char_0($count);
610
$char_55 = &get_next_char_55($count);
612
$char_90 = &get_next_char_90($count);
614
$char_100 = &get_next_char_100($count);
616
$char_255 = &get_next_char_255($count);
618
$varchar_500 = &get_next_varchar_500($count);
620
$longtext = &get_next_longtext($count);
622
$tinytext = &get_next_tinytext($count);
624
$s_int = &get_next_s_int($count,$ARGV[0]);
626
$decimal = $count. "\." .$count;
628
$int = &get_next_int($int);
630
$enum = &get_next_enum($enum);
632
$set = &get_next_set($set);
634
$current_date = &get_next_date($current_date);
636
$current_time = &get_next_time($current_time);
638
$current_year = &get_next_year($current_year);
640
$u_current_float = &get_next_float($u_current_float);
642
$s_current_float = &get_next_float($s_current_float);
644
$s_time = &get_next_s_time($s_time);
646
$s_date = &get_next_s_date($s_date);
648
$datetime = &get_next_datetime($s_date,$s_time);
650
$timestamp = &get_next_timestamp($s_date,$s_time);
653
print ($u_int); #numeric (0) unsigned not null
655
print ("\t",$u_int); #numeric (254) unsigned not null
657
print ("\t",$u_int); #numeric (0) zerofill not null
659
print ("\t",$u_int); #numeric (254) zerofill not null
661
print ("\t",$u_int); #numeric (0) unsigned zerofill not null
663
print ("\t",$u_int); #numeric (254) unsigned zerofill not null
665
print ("\t",$s_int); #numeric (0,0) not null
667
print ("\t",$decimal); #numeric (253,253) not null
669
print ("\t",$u_int); #numeric (0,0) unsigned not null
671
print ("\t",$decimal); #numeric (253,253) unsigned not null
673
print ("\t",$u_int); #numeric (0,0) zerofill not null
675
print ("\t",$decimal); #numeric (253,253) zerofill not null
677
print ("\t",$u_int); #numeric (0,0) unsigned zerofill not null
679
print ("\t",$decimal); #numeric (253,253) unsigned zerofill not null
681
print ("\t",$s_current_float); #real not null
683
print ("\t",$u_current_float); #real unsigned not null
685
print ("\t",$u_current_float); #real zerofill not null
687
print ("\t",$u_current_float); #real unsigned zerofill not null
689
print ("\t",$s_current_float); #double not null
691
print ("\t",$u_current_float); #double unsigned not null
693
print ("\t",$u_current_float); #double zerofill not null
695
print ("\t",$u_current_float); #double unsigned zerofill not null
697
print ("\t",$s_current_float); #float
699
print ("\t",$u_current_float); #float unsi gned
701
print ("\t",$u_current_float); #float zerofill
703
print ("\t",$u_current_float); #float unsigned zerofill
705
print ("\t",$s_current_float); #float(0)
707
print ("\t",$s_current_float); #float(23)
709
print ("\t",$u_current_float); #float(0) unsigned
711
print ("\t",$u_current_float); #float(23) unsigned
713
print ("\t",$u_current_float); #float(0) zerofill
715
print ("\t",$u_current_float); #float(23) zerofill
717
print ("\t",$u_current_float); #float(0) unsigned zerofill
719
print ("\t",$u_current_float); #float(23) unsigned zerofill
721
print ("\t",$s_current_float); #float(24)
723
print ("\t",$s_current_float); #float(53)
725
print ("\t",$u_current_float); #float(24) unsigned
727
print ("\t",$u_current_float); #float(53) unsigned
729
print ("\t",$u_current_float); #float(24) zerofill
731
print ("\t",$u_current_float); #float(53) zerofill
733
print ("\t",$u_current_float); #float(24) unsigned zerofill
735
print ("\t",$u_current_float); #float(53) unsigned zerofill
737
print ("\t",$current_date); #date
739
print ("\t",$current_time); #time
741
print ("\t",$datetime); #datetime
743
print ("\t",$timestamp); #timestamp
745
print ("\t",$current_year); #year
747
print ("\t",$current_year); #year(3)
749
print ("\t",$current_year); #year(4)
751
print ("\t",$enum); #enum("1enum","2enum")
753
print ("\t",$set); #set("1set","2set")
755
print ("\t",$char_0); #char(0) unicode##
757
print ("\t",$char_90); #char(90)##
759
print ("\t",$char_255); #char(255) ascii##
761
print ("\t",$char_0); #varchar(0)##
763
print ("\t",$varchar_500); #varchar(20000) binary##
765
print ("\t",$varchar_500); #varchar(2000) unicode##
767
print ("\t",$char_100); #char(100) unicode##
769
# print ("\t",$bit); #Bit(0)##
784
#Next Database "MyIsam"
787
elsif ( $ARGV[1] =~ /myisam/i )
792
# Fifth Table "tb5.txt"
795
$file = 'myisam_tb1.txt';
797
open ( FILE_INPUT, ">$file");
799
$oldhandle = select(FILE_INPUT);
803
#Data type declarations
817
for ($count=0; $count < $ARGV[0]; $count++)
823
$char = &get_next_char($count);
825
$longtext = &get_next_longtext($count);
827
$tinytext = &get_next_tinytext($count);
829
$s_int = &get_next_s_int($count,$ARGV[0]);
831
$decimal = $count. "\." .$count;
836
print ("\t",$char); #char binary
838
print ("\t",$char); #char ascii
840
print ("\t",$tinytext); #tiny text unicode##
842
print ("\t",$tinytext); #text
844
print ("\t",$longtext); #medium text
846
print ("\t",$longtext); #long text
848
print ("\t",$tinytext); #tiny blob
850
print ("\t",$tinytext); #blob
852
print ("\t",$longtext); #medium blob
854
print ("\t",$longtext); #long blob
856
print ("\t",$char); #binary
858
print ("\t",&random(127)); #tiny int
860
print ("\t",&random(255)); #tiny int unsigned
862
print ("\t",&random(127)); #tiny int zerofill
864
print ("\t",&random(255)); #tiny int unsigned zerofill
866
print ("\t",&random(32767)); #smallint
868
print ("\t",&random(65535)); #smallint unsigned
870
print ("\t",&random(32767)); #smallint zerofill
872
print ("\t",&random(65535)); #smallint unsigned zerofill
874
print ("\t",$s_int); #mediumint
876
print ("\t",$u_int); #mediumint unsigned
878
print ("\t",$u_int); #mediumint zerofill
880
print ("\t",$u_int); #mediumint unsigned zerofill
882
print ("\t",$s_int); #int
884
print ("\t",$u_int); #int unsigned
886
print ("\t",$u_int); #int zerofill
888
print ("\t",$u_int); #int unsigned zerofill
890
print ("\t",$s_int); #bigint
892
print ("\t",$u_int); #bigint unsigned
894
print ("\t",$u_int); #bigint zerofill
896
print ("\t",$u_int); #bigint unsigned zerofill
898
print ("\t",$s_int); #decimal not null
900
print ("\t",$u_int); #decimal unsigned not null
902
print ("\t",$u_int); #decimal zerofill not null
904
print ("\t",$u_int); #decimal unsigned zerofill not null
906
print ("\t",$s_int); #decimal(0) not null
908
print ("\t",$s_int); #decimal(254) not null
910
print ("\t",$u_int); #decimal (0) unsigned not null
912
print ("\t",$u_int); #decimal (254) unsigned not null
914
print ("\t",$u_int); #decimal(0) zerofill not null
916
print ("\t",$u_int); #decimal(254) zerofill not null
918
print ("\t",$u_int); #decimal (0) unsigned zerofill not null
920
print ("\t",$u_int); #decimal (254) unsigned zerofill not null
922
print ("\t",$s_int); #decimal (0,0) not null
924
print ("\t",$decimal); #decimal(253,253) not null
926
print ("\t",$u_int); #decimal (0,0) unsigned not null
928
print ("\t",$decimal); #decimal (253,253) unsigned not null
930
print ("\t",$u_int); #decimal(0,0) zerofill not null
932
print ("\t",$decimal); #decimal(253,253) zerofill not null
934
print ("\t",$u_int); #decimal (0,0) unsigned zerofill not null
936
print ("\t",$decimal); #decimal (253,253) unsigned zerofill not null
938
print ("\t",$s_int); #numeric not null
940
print ("\t",$u_int); #numeric unsigned not null
942
print ("\t",$u_int); #numeric zerofill not null
944
print ("\t",$u_int); #numeric unsigned zerofill not null
946
print ("\t",$s_int); #numeric(0) not null
948
print ("\t",$s_int); #numeric(254) not null
960
# Sixth Table "tb6.txt"
963
$file = 'myisam_tb2.txt';
965
open ( FILE_INPUT, ">$file");
967
$oldhandle = select(FILE_INPUT);
980
$s_time = "00:00:00";
982
$s_date = "1970-01-01";
984
$current_time = "838:59:59";
986
$current_date = "1000-01-00";
988
$current_year = 1901;
990
$u_current_float = 1.175494351e-38;
992
$s_current_float = -1.175494351e-38;
1000
for ($count=0; $count < $ARGV[0]; $count++)
1006
$char = &get_next_char($count);
1008
$s_int = &get_next_s_int($count,$ARGV[0]);
1010
$longtext = &get_next_longtext($count);
1012
$tinytext = &get_next_tinytext($count);
1014
$decimal = $count. "\." .$count;
1016
$int = &get_next_int($int);
1018
$enum = &get_next_enum($enum);
1020
$set = &get_next_set($set);
1022
$current_date = &get_next_date($current_date);
1024
$current_time = &get_next_time($current_time);
1026
$current_year = &get_next_year($current_year);
1028
$u_current_float = &get_next_float($u_current_float);
1030
$s_current_float = &get_next_float($s_current_float);
1032
$s_time = &get_next_s_time($s_time);
1034
$s_date = &get_next_s_date($s_date);
1036
$datetime = &get_next_datetime($s_date,$s_time);
1038
$timestamp = &get_next_timestamp($s_date,$s_time);
1041
$geometry = &get_next_geometry($count);
1043
$point = &get_next_point($count);
1045
$linestring = &get_next_linestring($count);
1047
$polygon = &get_next_polygon($count);
1049
$geometry_collection = &get_next_geometry_collection($count);
1051
$multipoint = &get_next_multipoint($count);
1053
$multilinestring = &get_next_multilinestring($count);
1055
$multipolygon = &get_next_multipolygon($count);
1058
print ($u_int); #numeric (0) unsigned
1060
print ("\t",$u_int); #numeric (254) unsigned
1062
print ("\t",$u_int); #numeric (0) zerofill
1064
print ("\t",$u_int); #numeric (254) zerofill
1066
print ("\t",$u_int); #numeric (0) unsigned zerofill
1068
print ("\t",$u_int); #numeric (254) unsigned zerofill
1070
print ("\t",$s_int); #numeric (0,0)
1072
print ("\t",$decimal); #numeric (253,253)
1074
print ("\t",$u_int); #numeric (0,0) unsigned
1076
print ("\t",$decimal); #numeric (253,253) unsigned
1078
print ("\t",$u_int); #numeric (0,0) zerofill
1080
print ("\t",$decimal); #numeric (253,253) zerofill
1082
print ("\t",$u_int); #numeric (0,0) unsigned zerofill
1084
print ("\t",$decimal); #numeric (253,253) unsigned zerofill
1086
print ("\t",$s_current_float); #real
1088
print ("\t",$u_current_float); #real unsigned
1090
print ("\t",$u_current_float); #real zerofill
1092
print ("\t",$u_current_float); #real unsigned zerofill
1094
print ("\t",$s_current_float); #double
1096
print ("\t",$u_current_float); #double unsigned
1098
print ("\t",$u_current_float); #double zerofill
1100
print ("\t",$u_current_float); #double unsigned zerofill
1102
print ("\t",$s_current_float); #float not null
1104
print ("\t",$u_current_float); #float unsigned not null
1106
print ("\t",$u_current_float); #float zerofill not null
1108
print ("\t",$u_current_float); #float unsigned zerofill not null
1110
print ("\t",$s_current_float); #float(0) not null
1112
print ("\t",$s_current_float); #float(23) not null
1114
print ("\t",$u_current_float); #float(0) unsigned not null
1116
print ("\t",$u_current_float); #float(23) unsigned not null
1118
print ("\t",$u_current_float); #float(0) zerofill not null
1120
print ("\t",$u_current_float); #float(23) zerofill not null
1122
print ("\t",$u_current_float); #float(0) unsigned zerofill not null
1124
print ("\t",$u_current_float); #float(23) unsigned zerofill not null
1126
print ("\t",$s_current_float); #float(24) not null
1128
print ("\t",$s_current_float); #float(53) not null
1130
print ("\t",$u_current_float); #float(24) unsigned not null
1132
print ("\t",$u_current_float); #float(53) unsigned not null
1134
print ("\t",$u_current_float); #float(24) zerofill not null
1136
print ("\t",$u_current_float); #float(53) zerofill not null
1138
print ("\t",$u_current_float); #float(24) unsigned zerofill not null
1140
print ("\t",$u_current_float); #float(53) unsigned zerofill not null
1142
print ("\t",$current_date); #date not null
1144
print ("\t",$current_time); #time not null
1146
print ("\t",$datetime); #datetime not null
1148
print ("\t",$timestamp); #timestamp not null
1150
print ("\t",$current_year); #year not null
1152
print ("\t",$current_year); #year(3) not null
1154
print ("\t",$current_year); #year(4) not null
1156
print ("\t",$enum); #enum("1enum","2enum") not null
1158
print ("\t",$set); #set("1set","2set") not null
1160
print ("\t",$geometry); #geometry not null
1162
print ("\t",$point); #point not null
1164
print ("\t",$linestring); #linestring not null
1166
print ("\t",$polygon); #polygon not null
1168
print ("\t",$geometry_collection); #geometrycollection not null
1170
print ("\t",$multipoint); #multipoint not null
1172
print ("\t",$multilinestring); #multilinestring not null
1174
print ("\t",$multipolygon); #multipolygon not null
1177
#geometry not null, point not null, linestring not null, polygon not null, geometrycollection not null, multipoint not null, multilinestring not null, multipolygon not null
1186
select ($oldhandle);
1191
# Seventh Table "tb7.txt"
1194
$file = 'myisam_tb3.txt';
1196
open ( FILE_INPUT, ">$file");
1198
$oldhandle = select(FILE_INPUT);
1207
for ($count=0; $count < $ARGV[0]; $count++)
1214
$char = &get_next_char($count);
1216
$longtext = &get_next_longtext($count);
1218
$tinytext = &get_next_tinytext($count);
1220
$s_int = &get_next_s_int($count,$ARGV[0]);
1222
$decimal = $count. "\." .$count;
1225
print ($char); #char not null
1227
print ("\t",$char); #char binary not null
1229
print ("\t",$char); #char ascii not null
1231
print ("\t",$tinytext); #tinytext not null
1233
print ("\t",$tinytext); #text not null
1235
print ("\t",$longtext); #mediumtext not null
1237
print ("\t",$longtext); #longtext not null unicode##
1239
print ("\t",$tinytext); #tinyblob not null
1241
print ("\t",$tinytext); #blob not null
1243
print ("\t",$longtext); #mediumblob not null
1245
print ("\t",$longtext); #longblob not null
1247
print ("\t",$char); #binary not null
1249
print ("\t",&random(127)); #tinyint not null
1251
print ("\t",&random(255)); #tinyint unsigned not null
1253
print ("\t",&random(127)); #tinyint zerofill not null
1255
print ("\t",&random(255)); #tinyint unsigned zerofill not null
1257
print ("\t",&random(32767)); #smallint not null
1259
print ("\t",&random(65535)); #smallint unsigned not null
1261
print ("\t",&random(32767)); #smallint zerofill not null
1263
print ("\t",&random(65535)); #smallint unsigned zerofill not null
1265
print ("\t",$s_int); #mediumint not null
1267
print ("\t",$u_int); #mediumint unsigned not null
1269
print ("\t",$u_int); #mediumint zerofill not null
1271
print ("\t",$u_int); #mediumint unsigned zerofill not null
1273
print ("\t",$s_int); #int not null
1275
print ("\t",$u_int); #int unsigned not null
1277
print ("\t",$u_int); #int zerofill not null
1279
print ("\t",$u_int); #int unsigned zerofill not null
1281
print ("\t",$s_int); #bigint not null
1283
print ("\t",$u_int); #bigint unsigned not null
1285
print ("\t",$u_int); #bigint zerofill not null
1287
print ("\t",$u_int); #bigint unsigned zerofill not null
1289
print ("\t",$s_int); #decimal
1291
print ("\t",$u_int); #decimal unsigned
1293
print ("\t",$u_int); #decimal zerofill
1295
print ("\t",$u_int); #decimal unsigned zerofill
1297
print ("\t",$s_int); #decimal(0)
1299
print ("\t",$s_int); #decimal(254)
1301
print ("\t",$u_int); #decimal (0) unsigned
1303
print ("\t",$u_int); #decimal (254) unsigned
1305
print ("\t",$u_int); #decimal(0) zerofill
1307
print ("\t",$u_int); #decimal(254) zerofill
1309
print ("\t",$u_int); #decimal (0) unsigned zerofill
1311
print ("\t",$u_int); #decimal (254) unsigned zerofill
1313
print ("\t",$s_int); #decimal (0,0)
1315
print ("\t",$decimal); #decimal(253,253)
1317
print ("\t",$u_int); #decimal (0,0) unsigned
1319
print ("\t",$decimal); #decimal (253,253) unsigned
1321
print ("\t",$u_int); #decimal(0,0) zerofill
1323
print ("\t",$decimal); #decimal(253,253) zerofill
1325
print ("\t",$u_int); #decimal (0,0) unsigned zerofill
1327
print ("\t",$decimal); #decimal (253,253) unsigned zerofill
1329
print ("\t",$s_int); #numeric
1331
print ("\t",$u_int); #numeric unsigned
1333
print ("\t",$u_int); #numeric zerofill
1335
print ("\t",$u_int); #numeric unsigned zerofill
1337
print ("\t",$s_int); #numeric(0)
1339
print ("\t",$s_int); #numeric(254)
1346
select ($oldhandle);
1351
# Eighth Table "tb8.txt"
1354
$file = 'myisam_tb4.txt';
1356
open ( FILE_INPUT, ">$file");
1358
$oldhandle = select(FILE_INPUT);
1371
$s_time = "00:00:00";
1373
$s_date = "1970-01-01";
1377
$current_time = "838:59:59";
1379
$current_date = "1000-01-00";
1381
$current_year = 1901;
1383
$u_current_float = 1.175494351e-38;
1385
$s_current_float = -1.175494351e-38;
1392
for ($count=0; $count < $ARGV[0]; $count++)
1398
$bit = &get_next_bit(30);
1400
$char = &get_next_char($count);
1402
$char_0 = &get_next_char_0($count);
1404
$char_55 = &get_next_char_55($count);
1406
$char_90 = &get_next_char_90($count);
1408
$char_100 = &get_next_char_100($count);
1410
$char_255 = &get_next_char_255($count);
1412
$varchar_500 = &get_next_varchar_500($count);
1414
$longtext = &get_next_longtext($count);
1416
$tinytext = &get_next_tinytext($count);
1418
$s_int = &get_next_s_int($count,$ARGV[0]);
1420
$decimal = $count. "\." .$count;
1422
$enum = &get_next_enum($enum);
1424
$set = &get_next_set($set);
1426
$current_date = &get_next_date($current_date);
1428
$current_time = &get_next_time($current_time);
1430
$current_year = &get_next_year($current_year);
1432
$u_current_float = &get_next_float($u_current_float);
1434
$s_current_float = &get_next_float($s_current_float);
1436
$s_time = &get_next_s_time($s_time);
1438
$s_date = &get_next_s_date($s_date);
1440
$datetime = &get_next_datetime($s_date,$s_time);
1442
$timestamp = &get_next_timestamp($s_date,$s_time);
1444
$geometry = &get_next_geometry($count);
1446
$point = &get_next_point($count);
1448
$linestring = &get_next_linestring($count);
1450
$polygon = &get_next_polygon($count);
1452
$geometry_collection = &get_next_geometry_collection($count);
1454
$multipoint = &get_next_multipoint($count);
1456
$multilinestring = &get_next_multilinestring($count);
1458
$multipolygon = &get_next_multipolygon($count);
1461
print ($u_int); #numeric (0) unsigned not null
1463
print ("\t",$u_int); #numeric (254) unsigned not null
1465
print ("\t",$u_int); #numeric (0) zerofill not null
1467
print ("\t",$u_int); #numeric (254) zerofill not null
1469
print ("\t",$u_int); #numeric (0) unsigned zerofill not null
1471
print ("\t",$u_int); #numeric (254) unsigned zerofill not null
1473
print ("\t",$s_int); #numeric (0,0) not null
1475
print ("\t",$decimal); #numeric (253,253) not null
1477
print ("\t",$u_int); #numeric (0,0) unsigned not null
1479
print ("\t",$decimal); #numeric (253,253) unsigned not null
1481
print ("\t",$u_int); #numeric (0,0) zerofill not null
1483
print ("\t",$decimal); #numeric (253,253) zerofill not null
1485
print ("\t",$u_int); #numeric (0,0) unsigned zerofill not null
1487
print ("\t",$decimal); #numeric (253,253) unsigned zerofill not null
1489
print ("\t",$s_current_float); #real not null
1491
print ("\t",$u_current_float); #real unsigned not null
1493
print ("\t",$u_current_float); #real zerofill not null
1495
print ("\t",$u_current_float); #real unsigned zerofill not null
1497
print ("\t",$s_current_float); #double not null
1499
print ("\t",$u_current_float); #double unsigned not null
1501
print ("\t",$u_current_float); #double zerofill not null
1503
print ("\t",$u_current_float); #double unsigned zerofill not null
1505
print ("\t",$s_current_float); #float
1507
print ("\t",$u_current_float); #float unsigned
1509
print ("\t",$u_current_float); #float zerofill
1511
print ("\t",$u_current_float); #float unsigned zerofill
1513
print ("\t",$s_current_float); #float(0)
1515
print ("\t",$s_current_float); #float(23)
1517
print ("\t",$u_current_float); #float(0) unsigned
1519
print ("\t",$u_current_float); #float(23) unsigned
1521
print ("\t",$u_current_float); #float(0) zerofill
1523
print ("\t",$u_current_float); #float(23) zerofill
1525
print ("\t",$u_current_float); #float(0) unsigned zerofill
1527
print ("\t",$u_current_float); #float(23) unsigned zerofill
1529
print ("\t",$s_current_float); #float(24)
1531
print ("\t",$s_current_float); #float(53)
1533
print ("\t",$u_current_float); #float(24) unsigned
1535
print ("\t",$u_current_float); #float(53) unsigned
1537
print ("\t",$u_current_float); #float(24) zerofill
1539
print ("\t",$u_current_float); #float(53) zerofill
1541
print ("\t",$u_current_float); #float(24) unsigned zerofill
1543
print ("\t",$u_current_float); #float(53) unsigned zerofill
1545
print ("\t",$current_date); #date
1547
print ("\t",$current_time); #time
1549
print ("\t",$datetime); #datetime
1551
print ("\t",$timestamp); #timestamp
1553
print ("\t",$current_year); #year
1555
print ("\t",$current_year); #year(3)
1557
print ("\t",$current_year); #year(4)
1559
print ("\t",$enum); #enum("1enum","2enum")
1561
print ("\t",$set); #set("1set","2set")
1563
print ("\t",$geometry); #geometry
1565
print ("\t",$point); #point
1567
print ("\t",$linestring); #linestring
1569
print ("\t",$polygon); #polygon
1571
print ("\t",$geometry_collection); #geometrycollection
1573
print ("\t",$multipoint); #multipoint
1575
print ("\t",$multilinestring); #multilinestring
1577
print ("\t",$multipolygon); #multipolygon
1579
print ("\t",$char_255); #char(255) unicode##
1581
print ("\t",$char_55); #char(60) ascii##
1583
print ("\t",$char_255); #char(255) binary##
1585
print ("\t",$char_0); #varchar(0) binary##
1587
print ("\t",$varchar_500); #varbinary(20000)##
1589
print ("\t",$char_100); #varchar(120) unicode##
1591
print ("\t",$char_100); #char(100) unicode##
1593
print ("\t",$bit); #bit(30)##
1595
#geometry, point, linestring, polygon, geometrycollection, multipoint, multilinestring, multipolygon
1602
select ($oldhandle);
1610
elsif ( $ARGV[1] =~ /memory/i )
1615
# Ninth Table "tb9.txt"
1618
$file = 'memory_tb1.txt';
1620
open ( FILE_INPUT, ">$file");
1622
$oldhandle = select(FILE_INPUT);
1626
#Data type declarations
1639
for ($count=0; $count < $ARGV[0]; $count++)
1645
$char = &get_next_char($count);
1647
$longtext = &get_next_longtext($count);
1649
$tinytext = &get_next_tinytext($count);
1651
$s_int = &get_next_s_int($count,$ARGV[0]);
1653
$decimal = $count. "\." .$count;
1656
print ($char); #char
1658
print ("\t",$char); #char binary
1660
print ("\t",$char); #char ascii
1662
print ("\t",$char); #binary
1664
print ("\t",&random(127)); #tiny int
1666
print ("\t",&random(255)); #tiny int unsigned
1668
print ("\t",&random(127)); #tiny int zerofill
1670
print ("\t",&random(255)); #tiny int unsigned zerofill
1672
print ("\t",&random(32767)); #smallint
1674
print ("\t",&random(65535)); #smallint unsigned
1676
print ("\t",&random(32767)); #smallint zerofill
1678
print ("\t",&random(65535)); #smallint unsigned zerofill
1680
print ("\t",$s_int); #mediumint
1682
print ("\t",$u_int); #mediumint unsigned
1684
print ("\t",$u_int); #mediumint zerofill
1686
print ("\t",$u_int); #mediumint unsigned zerofill
1688
print ("\t",$s_int); #int
1690
print ("\t",$u_int); #int unsigned
1692
print ("\t",$u_int); #int zerofill
1694
print ("\t",$u_int); #int unsigned zerofill
1696
print ("\t",$s_int); #bigint
1698
print ("\t",$u_int); #bigint unsigned
1700
print ("\t",$u_int); #bigint zerofill
1702
print ("\t",$u_int); #bigint unsigned zerofill
1704
print ("\t",$s_int); #decimal
1706
print ("\t",$u_int); #decimal unsigned
1708
print ("\t",$u_int); #decimal zerofill
1710
print ("\t",$u_int); #decimal unsigned zerofill not null
1712
print ("\t",$s_int); #decimal(0) not null
1714
print ("\t",$s_int); #decimal(254) not null
1716
print ("\t",$u_int); #decimal (0) unsigned not null
1718
print ("\t",$u_int); #decimal (254) unsigned not null
1720
print ("\t",$u_int); #decimal(0) zerofill not null
1722
print ("\t",$u_int); #decimal(254) zerofill not null
1724
print ("\t",$u_int); #decimal (0) unsigned zerofill not null
1726
print ("\t",$u_int); #decimal (254) unsigned zerofill not null
1728
print ("\t",$s_int); #decimal (0,0) not null
1730
print ("\t",$decimal); #decimal(253,253) not null
1732
print ("\t",$u_int); #decimal (0,0) unsigned not null
1734
print ("\t",$decimal); #decimal (253,253) unsigned not null
1736
print ("\t",$u_int); #decimal(0,0) zerofill not null
1738
print ("\t",$decimal); #decimal(253,253) zerofill not null
1740
print ("\t",$u_int); #decimal (0,0) unsigned zerofill not null
1742
print ("\t",$decimal); #decimal (253,253) unsigned zerofill not null
1744
print ("\t",$s_int); #numeric not null
1746
print ("\t",$u_int); #numeric unsigned not null
1748
print ("\t",$u_int); #numeric zerofill not null
1750
print ("\t",$u_int); #numeric unsigned zerofill not null
1752
print ("\t",$s_int); #numeric(0) not null
1754
print ("\t",$s_int); #numeric(254) not null
1761
select ($oldhandle);
1768
# Tenth Table "tb10.txt"
1771
$file = 'memory_tb2.txt';
1773
open ( FILE_INPUT, ">$file");
1775
$oldhandle = select(FILE_INPUT);
1786
$s_time = "00:00:00";
1788
$s_date = "1970-01-01";
1792
$current_time = "838:59:59";
1794
$current_date = "1000-01-00";
1796
$current_year = 1901;
1798
$u_current_float = 1.175494351e-38;
1800
$s_current_float = -1.175494351e-38;
1808
for ($count=0; $count < $ARGV[0]; $count++)
1814
$char = &get_next_char($count);
1816
$s_int = &get_next_s_int($count,$ARGV[0]);
1818
$longtext = &get_next_longtext($count);
1820
$tinytext = &get_next_tinytext($count);
1822
$decimal = $count. "\." .$count;
1824
$int = &get_next_int($int);
1826
$enum = &get_next_enum($enum);
1828
$set = &get_next_set($set);
1830
$current_date = &get_next_date($current_date);
1832
$current_time = &get_next_time($current_time);
1834
$current_year = &get_next_year($current_year);
1836
$u_current_float = &get_next_float($u_current_float);
1838
$s_current_float = &get_next_float($s_current_float);
1840
$s_time = &get_next_s_time($s_time);
1842
$s_date = &get_next_s_date($s_date);
1844
$datetime = &get_next_datetime($s_date,$s_time);
1846
$timestamp = &get_next_timestamp($s_date,$s_time);
1849
print ($u_int); #numeric (0) unsigned
1851
print ("\t",$u_int); #numeric (254) unsigned
1853
print ("\t",$u_int); #numeric (0) zerofill
1855
print ("\t",$u_int); #numeric (254) zerofill
1857
print ("\t",$u_int); #numeric (0) unsigned zerofill
1859
print ("\t",$u_int); #numeric (254) unsigned zerofill
1861
print ("\t",$s_int); #numeric (0,0)
1863
print ("\t",$decimal); #numeric (253,253)
1865
print ("\t",$u_int); #numeric (0,0) unsigned
1867
print ("\t",$decimal); #numeric (253,253) unsigned
1869
print ("\t",$u_int); #numeric (0,0) zerofill
1871
print ("\t",$decimal); #numeric (253,253) zerofill
1873
print ("\t",$u_int); #numeric (0,0) unsigned zerofill
1875
print ("\t",$decimal); #numeric (253,253) unsigned zerofill
1877
print ("\t",$s_current_float); #real
1879
print ("\t",$u_current_float); #real unsigned
1881
print ("\t",$u_current_float); #real zerofill
1883
print ("\t",$u_current_float); #real unsigned zerofill
1885
print ("\t",$s_current_float); #double
1887
print ("\t",$u_current_float); #double unsigned
1889
print ("\t",$u_current_float); #double zerofill
1891
print ("\t",$u_current_float); #double unsigned zerofill
1893
print ("\t",$s_current_float); #float not null
1895
print ("\t",$u_current_float); #float unsigned not null
1897
print ("\t",$u_current_float); #float zerofill not null
1899
print ("\t",$u_current_float); #float unsigned zerofill not null
1901
print ("\t",$s_current_float); #float(0) not null
1903
print ("\t",$s_current_float); #float(23) not null
1905
print ("\t",$u_current_float); #float(0) unsigned not null
1907
print ("\t",$u_current_float); #float(23) unsigned not null
1909
print ("\t",$u_current_float); #float(0) zerofill not null
1911
print ("\t",$u_current_float); #float(23) zerofill not null
1913
print ("\t",$u_current_float); #float(0) unsigned zerofill not null
1915
print ("\t",$u_current_float); #float(23) unsigned zerofill not null
1917
print ("\t",$s_current_float); #float(24) not null
1919
print ("\t",$s_current_float); #float(53) not null
1921
print ("\t",$u_current_float); #float(24) unsigned not null
1923
print ("\t",$u_current_float); #float(53) unsigned not null
1925
print ("\t",$u_current_float); #float(24) zerofill not null
1927
print ("\t",$u_current_float); #float(53) zerofill not null
1929
print ("\t",$u_current_float); #float(24) unsigned zerofill not null
1931
print ("\t",$u_current_float); #float(53) unsigned zerofill not null
1933
print ("\t",$current_date); #date not null
1935
print ("\t",$current_time); #time not null
1937
print ("\t",$datetime); #datetime not null
1939
print ("\t",$timestamp); #timestamp not null
1941
print ("\t",$current_year); #year not null
1943
print ("\t",$current_year); #year(3) not null
1945
print ("\t",$current_year); #year(4) not null
1947
print ("\t",$enum); #enum("1enum","2enum") not null
1949
print ("\t",$set); #set("1set","2set") not null
1956
select ($oldhandle);
1962
# Eleventh Table "tb11.txt"
1965
$file = 'memory_tb3.txt';
1967
open ( FILE_INPUT, ">$file");
1969
$oldhandle = select(FILE_INPUT);
1979
for ($count=0; $count < $ARGV[0]; $count++)
1986
$char = &get_next_char($count);
1988
$longtext = &get_next_longtext($count);
1990
$tinytext = &get_next_tinytext($count);
1992
$s_int = &get_next_s_int($count,$ARGV[0]);
1994
$decimal = $count. "\." .$count;
1997
print ($char); #char not null
1999
print ("\t",$char); #char binary not null
2001
print ("\t",$char); #char ascii not null
2003
# OBN - Added two strings to address the missing f121, f122 used in trigger testing
2004
# as char(50). In MyISAM, innodb they are text and tinytext
2005
print ("\t",$char); #char (50)
2006
print ("\t",$char); #char (50)
2007
# OBN - End of modification
2009
print ("\t",$char); #binary not null
2011
print ("\t",&random(127)); #tinyint not null
2013
print ("\t",&random(255)); #tinyint unsigned not null
2015
print ("\t",&random(127)); #tinyint zerofill not null
2017
print ("\t",&random(255)); #tinyint unsigned zerofill not null
2019
print ("\t",&random(32767)); #smallint not null
2021
print ("\t",&random(65535)); #smallint unsigned not null
2023
print ("\t",&random(32767)); #smallint zerofill not null
2025
print ("\t",&random(65535)); #smallint unsigned zerofill not null
2027
print ("\t",$s_int); #mediumint not null
2029
print ("\t",$u_int); #mediumint unsigned not null
2031
print ("\t",$u_int); #mediumint zerofill not null
2033
print ("\t",$u_int); #mediumint unsigned zerofill not null
2035
print ("\t",$s_int); #int not null
2037
print ("\t",$u_int); #int unsigned not null
2039
print ("\t",$u_int); #int zerofill not null
2041
print ("\t",$u_int); #int unsigned zerofill not null
2043
print ("\t",$s_int); #bigint not null
2045
print ("\t",$u_int); #bigint unsigned not null
2047
print ("\t",$u_int); #bigint zerofill not null
2049
print ("\t",$u_int); #bigint unsigned zerofill not null
2051
print ("\t",$s_int); #decimal not null
2053
print ("\t",$u_int); #decimal unsigned not null
2055
print ("\t",$u_int); #decimal zerofill not null
2057
print ("\t",$u_int); #decimal unsigned zerofill
2059
print ("\t",$s_int); #decimal(0)
2061
print ("\t",$s_int); #decimal(254)
2063
print ("\t",$u_int); #decimal (0) unsigned
2065
print ("\t",$u_int); #decimal (254) unsigned
2067
print ("\t",$u_int); #decimal(0) zerofill
2069
print ("\t",$u_int); #decimal(254) zerofill
2071
print ("\t",$u_int); #decimal (0) unsigned zerofill
2073
print ("\t",$u_int); #decimal (254) unsigned zerofill
2075
print ("\t",$s_int); #decimal (0,0)
2077
print ("\t",$decimal); #decimal(253,253)
2079
print ("\t",$u_int); #decimal (0,0) unsigned
2081
print ("\t",$decimal); #decimal (253,253) unsigned
2083
print ("\t",$u_int); #decimal(0,0) zerofill
2085
print ("\t",$decimal); #decimal(253,253) zerofill
2087
print ("\t",$u_int); #decimal (0,0) unsigned zerofill
2089
print ("\t",$decimal); #decimal (253,253) unsigned zerofill
2091
print ("\t",$s_int); #numeric
2093
print ("\t",$u_int); #numeric unsigned
2095
print ("\t",$u_int); #numeric zerofill
2097
print ("\t",$u_int); #numeric unsigned zerofill
2099
print ("\t",$s_int); #numeric(0)
2101
print ("\t",$s_int); #numeric(254)
2108
select ($oldhandle);
2114
# Twelfth Table "tb12.txt"
2117
$file = 'memory_tb4.txt';
2119
open ( FILE_INPUT, ">$file");
2121
$oldhandle = select(FILE_INPUT);
2134
$s_time = "00:00:00";
2136
$s_date = "1970-01-01";
2140
$current_time = "838:59:59";
2142
$current_date = "1000-01-00";
2144
$current_year = 1901;
2146
$u_current_float = 1.175494351e-38;
2148
$s_current_float = -1.175494351e-38;
2155
for ($count=0; $count < $ARGV[0]; $count++)
2161
# $bit = &get_next_bit(64);
2163
$char = &get_next_char($count);
2165
$char_0 = &get_next_char_0($count);
2167
$char_55 = &get_next_char_55($count);
2169
$char_90 = &get_next_char_90($count);
2171
$char_100 = &get_next_char_100($count);
2173
$char_255 = &get_next_char_255($count);
2175
$varchar_500 = &get_next_varchar_500($count);
2177
$longtext = &get_next_longtext($count);
2179
$tinytext = &get_next_tinytext($count);
2181
$s_int = &get_next_s_int($count,$ARGV[0]);
2183
$decimal = $count. "\." .$count;
2185
$int = &get_next_int($int);
2187
$enum = &get_next_enum($enum);
2189
$set = &get_next_set($set);
2191
$current_date = &get_next_date($current_date);
2193
$current_time = &get_next_time($current_time);
2195
$current_year = &get_next_year($current_year);
2197
$u_current_float = &get_next_float($u_current_float);
2199
$s_current_float = &get_next_float($s_current_float);
2201
$s_time = &get_next_s_time($s_time);
2203
$s_date = &get_next_s_date($s_date);
2205
$datetime = &get_next_datetime($s_date,$s_time);
2207
$timestamp = &get_next_timestamp($s_date,$s_time);
2210
print ($u_int); #numeric (0) unsigned not null
2212
print ("\t",$u_int); #numeric (254) unsigned not null
2214
print ("\t",$u_int); #numeric (0) zerofill not null
2216
print ("\t",$u_int); #numeric (254) zerofill not null
2218
print ("\t",$u_int); #numeric (0) unsigned zerofill not null
2220
print ("\t",$u_int); #numeric (254) unsigned zerofill not null
2222
print ("\t",$s_int); #numeric (0,0) not null
2224
print ("\t",$decimal); #numeric (253,253) not null
2226
print ("\t",$u_int); #numeric (0,0) unsigned not null
2228
print ("\t",$decimal); #numeric (253,253) unsigned not null
2230
print ("\t",$u_int); #numeric (0,0) zerofill not null
2232
print ("\t",$decimal); #numeric (253,253) zerofill not null
2234
print ("\t",$u_int); #numeric (0,0) unsigned zerofill not null
2236
print ("\t",$decimal); #numeric (253,253) unsigned zerofill not null
2238
print ("\t",$s_current_float); #real not null
2240
print ("\t",$u_current_float); #real unsigned not null
2242
print ("\t",$u_current_float); #real zerofill not null
2244
print ("\t",$u_current_float); #real unsigned zerofill not null
2246
print ("\t",$s_current_float); #double not null
2248
print ("\t",$u_current_float); #double unsigned not null
2250
print ("\t",$u_current_float); #double zerofill not null
2252
print ("\t",$u_current_float); #double unsigned zerofill not null
2254
print ("\t",$s_current_float); #float
2256
print ("\t",$u_current_float); #float unsigned
2258
print ("\t",$u_current_float); #float zerofill
2260
print ("\t",$u_current_float); #float unsigned zerofill
2262
print ("\t",$s_current_float); #float(0)
2264
print ("\t",$s_current_float); #float(23)
2266
print ("\t",$u_current_float); #float(0) unsigned
2268
print ("\t",$u_current_float); #float(23) unsigned
2270
print ("\t",$u_current_float); #float(0) zerofill
2272
print ("\t",$u_current_float); #float(23) zerofill
2274
print ("\t",$u_current_float); #float(0) unsigned zerofill
2276
print ("\t",$u_current_float); #float(23) unsigned zerofill
2278
print ("\t",$s_current_float); #float(24)
2280
print ("\t",$s_current_float); #float(53)
2282
print ("\t",$u_current_float); #float(24) unsigned
2284
print ("\t",$u_current_float); #float(53) unsigned
2286
print ("\t",$u_current_float); #float(24) zerofill
2288
print ("\t",$u_current_float); #float(53) zerofill
2290
print ("\t",$u_current_float); #float(24) unsigned zerofill
2292
print ("\t",$u_current_float); #float(53) unsigned zerofill
2294
print ("\t",$current_date); #date
2296
print ("\t",$current_time); #time
2298
print ("\t",$datetime); #datetime
2300
print ("\t",$timestamp); #timestamp
2302
print ("\t",$current_year); #year
2304
print ("\t",$current_year); #year(3)
2306
print ("\t",$current_year); #year(4)
2308
print ("\t",$enum); #enum("1enum","2enum")
2310
print ("\t",$set); #set("1set","2set")
2312
print ("\t",$char_90); #char(95) unicode##
2314
print ("\t",$char_255); #char(255) unicode##
2316
print ("\t",$char_100); #char(130) binary##
2318
print ("\t",$varchar_500); #varchar(25000) binary##
2320
print ("\t",$char_0); #varbinary(0)##
2322
print ("\t",$varchar_500); #varchar(1200) unicode##
2324
# print ("\t",$bit); #Bit(64)##
2331
select ($oldhandle);
2352
#Subroutines START HERE
2355
sub get_next_geometry
2361
$index = $count % 6 ;
2364
@ascii = ('\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0ďż˝\0\0\0\0\0\0ďż˝\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@',
2366
'\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0ďż˝\0\0\0\0\0\0ďż˝\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0@\0\0\0\0\0\0@',
2368
'\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@\0\0\0\0\0\0@\0\0\0\0\0\0@\0\0\0\0\0\0@\0\0\0\0\0\0@',
2370
'\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0@\0\0\0\0\0\0@\0\0\0\0\0\0@\0\0\0\0\0\0@\0\0\0\0\0\0@\0\0\0\0\0\0@',
2372
'\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0@\0\0\0\0\0\0@\0\0\0\0\0\0@\0\0\0\0\0\0@\0\0\0\0\0\0@\0\0\0\0\0\0@',
2374
'\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0@\0\0\0\0\0\0@\0\0\0\0\0\0@\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0 @',
2376
'\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0@\0\0\0\0\0\0@\0\0\0\0\0\0 @\0\0\0\0\0\0 @\0\0\0\0\0\0"@\0\0\0\0\0\0"@',
2378
'\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0 @\0\0\0\0\0\0 @\0\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@\0\0\0\0\0\06@\0\0\0\0\0\08@\0\0\0\0\0\06@\0\0\0\0\0\06@',
2622
'\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\02@\0\0\0\0\0\02@\0\0\0\0\0@@\0\0\0\0\0\02@\0\0\0\0\0@@\0\0\0\0\0@@\0\0\0\0\0\0ďż˝\0\0\0\0\0@@\0\0\0\0\0\02@\0\0\0\0\0\02@\0\0\0\0\0\0\0\0\07@\0\0\0\0\0\07@\0\0\0\0\0\09@\0\0\0\0\0\07@\0\0\0\0\0\09@\0\0\0\0\0\09@\0\0\0\0\0\07@\0\0\0\0\0\09@\0\0\0\0\0\07@\0\0\0\0\0\07@',
2624
'\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\03@\0\0\0\0\0\03@\0\0\0\0\0@@\0\0\0\0\0\0ďż˝\0\0\0\0\0@@\0\0\0\0\0@@\0\0\0\0\0\03@\0\0\0\0\0@@\0\0\0\0\0\03@\0\0\0\0\0\03@\0\0\0\0\0\0\0\0\08@\0\0\0\0\0\08@\0\0\0\0\0\0:@\0\0\0\0\0\08@\0\0\0\0\0\0:@\0\0\0\0\0\0:@\0\0\0\0\0\08@\0\0\0\0\0\0:@\0\0\0\0\0\08@\0\0\0\0\0\08@');
2627
return($ascii[$index]);
2632
sub get_next_multipoint
2638
$index = $count % 6 ;
2641
@ascii = ('\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0',
2643
'\0\0\0\0\0\0\0\0\0\0\0\0\0ďż˝\0\0\0\0\0\0ďż˝',
2645
'\0\0\0\0\0\0\0\0\0\0\0\0\0\0@\0\0\0\0\0\0\0@',
2647
'\0\0\0\0\0\0\0\0\0\0\0\0\0@\0\0\0\0\0\0*@',
2649
'\0\0\0\0\0\0\0\0\0\0\0\0\0@\0\0\0\0\0\0@',
2651
'\0\0\0\0\0\0\0\0\0\0\0\0\0@\0\0\0\0\0\0@',
2653
'\0\0\0\0\0\0\0\0\0\0\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788
'\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\02@\0\0\0\0\0\02@\0\0\0\0\0@@\0\0\0\0\0\02@\0\0\0\0\0@@\0\0\0\0\0@@\0\0\0\0\0\0ďż˝\0\0\0\0\0@@\0\0\0\0\0\02@\0\0\0\0\0\02@\0\0\0\0\0\0\0\0\07@\0\0\0\0\0\07@\0\0\0\0\0\09@\0\0\0\0\0\07@\0\0\0\0\0\09@\0\0\0\0\0\09@\0\0\0\0\0\07@\0\0\0\0\0\09@\0\0\0\0\0\07@\0\0\0\0\0\07@',
2790
'\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\03@\0\0\0\0\0\03@\0\0\0\0\0@@\0\0\0\0\0\0ďż˝\0\0\0\0\0@@\0\0\0\0\0@@\0\0\0\0\0\03@\0\0\0\0\0@@\0\0\0\0\0\03@\0\0\0\0\0\03@\0\0\0\0\0\0\0\0\08@\0\0\0\0\0\08@\0\0\0\0\0\0:@\0\0\0\0\0\08@\0\0\0\0\0\0:@\0\0\0\0\0\0:@\0\0\0\0\0\08@\0\0\0\0\0\0:@\0\0\0\0\0\08@\0\0\0\0\0\08@');
2793
return($ascii[$index]);
2804
if (($next_int>= 0) && ($next_int<= 255))
2831
my($next_enum) = @_;
2890
my($max_size) = $col_size / 8;
2892
# my($sp_char) = "\x01";
2894
my($max_no) = 9 x $max_size;
2896
if ($ret_bit < $max_no)
2920
my($index) = $count % 72;
2922
@ascii = ('!','@','#','$','%','^','&','*','(',')','_','+','=','-','|','{','}','[',']',
2924
'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X',
2926
'Y','Z','a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u',
2928
'v','w','x','y','z');
2931
return($ascii[$index]);
2939
my($ret_string) = '';
2941
return($ret_string);
2945
sub get_next_char_55
2950
my($local_count) = $count % 15;
2952
my($ret_string) = '';
2954
my($index) = $count % 72;
2956
@ascii = ('!','@','#','$','%','^','&','*','(',')','_','+','=','-','|','{','}','[',']',
2958
'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X',
2960
'Y','Z','a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u',
2962
'v','w','x','y','z');
2964
for($loop_count=0;$loop_count <= $local_count; $loop_count++)
2968
$ret_string = $ret_string.$ascii[$index];
2970
$index = ($index + 1) % 72;
2974
$ret_string = $count.$ret_string;
2976
return($ret_string);
2981
sub get_next_char_90
2986
my($ret_string) = '';
2988
my($local_count) = $count % 25;
2990
my($index) = $count % 72;
2992
@ascii = ('!','@','#','$','%','^','&','*','(',')','_','+','=','-','|','{','}','[',']',
2994
'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X',
2996
'Y','Z','a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u',
2998
'v','w','x','y','z');
3001
for($loop_count=0; $loop_count <= $local_count; $loop_count++)
3005
$ret_string = $ret_string.$ascii[$index];
3007
$index = ($index + 1) % 72;
3010
$ret_string = $count.$ret_string;
3012
return($ret_string);
3017
sub get_next_char_100
3022
my($local_count) = $count % 50;
3024
my($ret_string) = '';
3026
my($index) = $count % 72;
3028
@ascii = ('!','@','#','$','%','^','&','*','(',')','_','+','=','-','|','{','}','[',']',
3030
'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X',
3032
'Y','Z','a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u',
3034
'v','w','x','y','z');
3036
for($loop_count=0; $loop_count <= $local_count; $loop_count++)
3040
$ret_string = $ret_string.$ascii[$index];
3042
$index = ($index + 1) % 72;
3045
$ret_string = $count.$ret_string;
3047
return($ret_string);
3053
sub get_next_char_255
3058
my($local_count) = $count % 125;
3060
my($ret_string) = '';
3062
my($index) = $count % 72;
3064
@ascii = ('!','@','#','$','%','^','&','*','(',')','_','+','=','-','|','{','}','[',']',
3066
'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X',
3068
'Y','Z','a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v',
3072
for($loop_count=0; $loop_count<$local_count; $loop_count++)
3076
$ret_string = $ret_string.$ascii[$index];
3078
$index = ($index + 1) % 72;
3081
$ret_string = $count.$ret_string;
3083
return($ret_string);
3088
sub get_next_varchar_500
3092
my($ret_string) = '';
3094
my($local_count) = $count % 100;
3096
my($index) = $count % 72;
3098
@ascii = ('!','@','#','$','%','^','&','*','(',')','_','+','=','-','|','{','}','[',']',
3100
'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X',
3102
'Y','Z','a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u',
3104
'v','w','x','y','z');
3106
for($loop_count=0; $loop_count<$local_count; $loop_count++)
3110
$ret_string = $ret_string.$ascii[$index];
3112
$index = ($index + 1) % 72;
3115
$ret_string = $count.$ret_string;
3117
return($ret_string);
3127
my($next_float) = @_;
3129
$next_float = $next_float + 1e-47;
3131
return($next_float);
3138
sub get_next_tinytext
3144
my($default_char) = "a";
3146
$index = $count % 20 ;
3149
@ascii = ("\140","\141","\142","\143","\144","\145","\146","\147","\136","\137","\150",
3151
"\151","\152","\153","\154","\155","\156","\157","\134","\135");
3154
my($quotient) = $count / 100;
3156
$quotient =~ s/\.[0-9]*// ;
3158
$tinytext = $default_char.$ascii[$index].$quotient;
3167
sub get_next_longtext
3173
my($default_char) = "a";
3175
$index = $count % 20 ;
3177
$multp = $count % 100;
3179
@ascii = ("\140","\141","\142","\143","\144","\145","\146","\147","\136","\137","\150",
3181
"\151","\152","\153","\154","\155","\156","\157","\134","\135");
3184
$longtext = $count.$ascii[$index].$default_char x $multp;
3196
my($next_year) = @_;
3198
if (($next_year >= 1901) && ($next_year < 2155))
3221
sub get_next_datetime
3225
my($date,$time) = @_;
3227
$datetime = $date." ".$time;
3239
my($count,$maxsize) = @_;
3241
$s_int = int($count - ($maxsize/2));
3250
sub get_next_timestamp
3254
my($date,$time) = @_;
3256
my($pattern1) = "-";
3258
my($pattern2) = ":";
3260
@split_date = split(/$pattern1/,$date);
3262
@split_time = split(/$pattern2/,$time);
3264
$timestamp = "$split_date[0]"."$split_date[1]"."$split_date[2]"."$split_time[0]"."$split_time[1]"."$split_time[2]";
3279
@words = split(/$pattern/, $time);
3294
if(($hour == -838)&&($min == 0)&&($sec == 0))
3346
if($hour !~ /[0-9][0-9]/)
3355
if($min !~ /[0-9][0-9]/)
3365
if($sec !~ /[0-9][0-9]/)
3374
$time = "$hour".":"."$min".":"."$sec";
3390
@words = split(/$pattern/, $date);
3408
if($year =~ /[0-9][0-9]00/)
3412
if($year % 400 == 0)
3488
if (($month == 1) || ($month == 3) || ($month == 5) || ($month == 7) || ($month == 8) || ($month == 10) || ($month == 12))
3565
if($month !~ /[0-9][0-9]/)
3569
$month = "0".$month;
3575
if($day !~ /[0-9][0-9]/)
3585
$date = "$year"."-"."$month"."-"."$day";
3604
@words = split(/$pattern/, $date);
3607
$year = "$words[0]";
3609
$month = "$words[1]";
3614
if (($month == "02") )
3622
if($year =~ /[0-9][0-9]00/)
3626
if($year % 400 == 0)
3703
if (($month == "01") || ($month == "03") || ($month == "05") || ($month == "07") || ($month == "08") || ($month == "10") || ($month == "12"))
3742
$year = $year + "0001";
3780
if($month !~ /[0-9][0-9]/)
3784
$month = "0".$month;
3790
if($day !~ /[0-9][0-9]/)
3800
$date = "$year"."-"."$month"."-"."$day";
3819
@words = split(/$pattern/, $time);
3823
$hour = "$words[0]";
3834
if(($hour == "23")&&($min == "59")&&($sec == "59"))
3865
$min = $min + "01" ;
3877
$hour = $hour + "01" ;
3886
if($hour !~ /[0-9][0-9]/)
3895
if($min !~ /[0-9][0-9]/)
3905
if($sec !~ /[0-9][0-9]/)
3914
$time = "$hour".":"."$min".":"."$sec";
3929
print "\n\nUsage: Perl DataGen.pl <Rowcount> <Storage Engine>";
3931
print "\n\n<Rowcount>: The number of rows in the table " .
3933
"\n<Storage Engine>: The storage engine parameter" .
3935
" will be of the following types:" .
3937
"\n\t\t InnoDB | MyIsam | Memory" .
3939
"\n\nE.g. Perl DataGen.pl 5000 InnoDB" .
3941
"\n\nThis will generate 4 text files containing 5000" .
3943
" records each for the 4 types of InnoDB tables.\n\n";
3955
$random = int(rand($limit));