#include static void one_row() { int i; printf("INSERT INTO t1 VALUES ('"); for (i= 0; i < 10*1024*1024; i++) printf("a"); printf("');\n"); } int main() { int i; printf("DROP TABLE IF EXISTS t1;\n"); printf("CREATE TABLE t1 (a LONGBLOB) ENGINE=MyISAM;\n"); for (i= 0 ; i < 1024; i++) one_row(); }