-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 11/12/2010 04:46 PM, Dave Dyer wrote: > The standard shell behaves very badly if you accidentally > select some BLOB data or excessively long strings. I recommend > this change:
You are free to change your copy and to redistribute that change in any way you deem fit. > #define MAX_STRING_SIZE 200 [..] > and substitute > > cautious_print_string(p->out,z); > > for the fprintf in the display loop. Who says it is printing to screen? It could be a file or a device expecting the correct values. I suggest adding to your copy of the code, perhaps a dot command to set the cautious length, make it freely available and see how many people pounce on your new functionality :-) Roger -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkzd78MACgkQmOOfHg372QRgAgCgjKgR2MFiv/yTGBg5CLeBO1eC cq8Anjokw4Tlejj35VuKr4Fb7bkWHH2X =3bmb -----END PGP SIGNATURE----- _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users