summaryrefslogtreecommitdiff
path: root/tests/pmail.pl
diff options
context:
space:
mode:
authorunknown <monty@donna.mysql.com>2001-01-12 13:52:32 +0200
committerunknown <monty@donna.mysql.com>2001-01-12 13:52:32 +0200
commit1a10224cacd1036f79a387698f982bfb5e36add6 (patch)
treefeed2fb14dbc49c9f89bfedaa06d5d15c58c8993 /tests/pmail.pl
parent5060e7f3fef7658bff42f5fa955689ec58d70e15 (diff)
downloadmariadb-git-1a10224cacd1036f79a387698f982bfb5e36add6.tar.gz
Patches for NetBSD/macppc
Fixed bug in LEFT JOIN Added bdb_log_buffer_size Docs/manual.texi: Added documentation for mysqlhotcopy client/mysql.cc: Fixed core dump when column names couldn't be read configure.in: Fixed possible error mit-pthreads/Changes-mysql: Patches for NetBSD/macppc mit-pthreads/config/config.guess: Patches for NetBSD/macppc mit-pthreads/config/configure.in: Patches for NetBSD/macppc mit-pthreads/config/configure: Patches for NetBSD/macppc mysql-test/r/join_outer.result: New join test mysql-test/t/join_outer.test: New join test scripts/mysqlhotcopy.sh: Patches from ASK sql/ha_berkeley.cc: Adeed log buffer cache sql/ha_berkeley.h: Adeed log buffer cache sql/log.cc: Fixed possible overrun bug sql/mysqld.cc: Fix for Mac OS X public beta Added bdb_log_buffer_size sql/sql_select.cc: Fixed bug in LEFT JOIN tests/mail_to_db.pl: Removed unsubscribe tails tests/pmail.pl: Sort mails according to date
Diffstat (limited to 'tests/pmail.pl')
-rwxr-xr-xtests/pmail.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/pmail.pl b/tests/pmail.pl
index 4ca2033b4d1..c7f8d4ee368 100755
--- a/tests/pmail.pl
+++ b/tests/pmail.pl
@@ -9,7 +9,7 @@
use DBI;
use Getopt::Long;
-$VER="1.4a";
+$VER="1.5";
@fldnms= ("mail_from","mail_to","cc","date","time_zone","file","sbj","txt");
$fields=8;
@@ -18,7 +18,7 @@ $fields=8;
$opt_user= $opt_password= "";
$opt_socket= "/tmp/mysql.sock";
$opt_port= 3306;
-$opt_db="test";
+$opt_db="mail";
$opt_table="mails";
$opt_help=$opt_count=0;
@@ -61,7 +61,7 @@ foreach $val (@fldnms)
}
$fields++;
}
-$query.= " from $opt_table where $ARGV[0]";
+$query.= " from $opt_table where $ARGV[0] order by date desc";
####
#### Send query and save result