1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

Small fix to mail_to_db.pl

tests/mail_to_db.pl:
  Small fix.
This commit is contained in:
unknown
2001-04-06 06:09:08 +03:00
parent 4c7ed6cad0
commit efc74d1b22

View File

@@ -17,7 +17,7 @@ use DBI;
use Getopt::Long; use Getopt::Long;
$| = 1; $| = 1;
$VER = "2.2"; $VER = "2.3";
$opt_help = 0; $opt_help = 0;
$opt_version = 0; $opt_version = 0;
@@ -517,12 +517,12 @@ Options:
--user=... Username for connecting. --user=... Username for connecting.
--password=... Password for the user. --password=... Password for the user.
--stdin Read mails from stdin. --stdin Read mails from stdin.
--max_mail_size=# Maximum size of a mail. --max_mail_size=# Maximum size of a mail in bytes.
Beware of the downside letting this variable be too big; Beware of the downside letting this variable be too big;
you may easily end up inserting a lot of attached you may easily end up inserting a lot of attached
binary files (like MS Word documents etc), which take binary files (like MS Word documents etc), which take
space, make the database slower and are not really space, make the database slower and are not really
searchable anyway. searchable anyway. (Default $opt_max_mail_size)
--create Create the mails table. This can be done with the first run. --create Create the mails table. This can be done with the first run.
--test Dry run. Print the queries and the result as it would be. --test Dry run. Print the queries and the result as it would be.
--no_path When inserting the file name, leave out any paths of --no_path When inserting the file name, leave out any paths of