summaryrefslogtreecommitdiff
path: root/scripts/mysqlaccess.sh
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2004-03-30 19:24:28 +0300
committerunknown <monty@mysql.com>2004-03-30 19:24:28 +0300
commitbc12d57fa781c3c0320733b9f096835f951edbbc (patch)
tree3ba6124dc8f91baccee6bbd806fe1056d021e326 /scripts/mysqlaccess.sh
parentceeaa24d187b228fd6e8b1ac1e667d341155640f (diff)
downloadmariadb-git-bc12d57fa781c3c0320733b9f096835f951edbbc.tar.gz
Fix to get correct metadata when using temporary tables to create result. (Bug #2654)
client/mysqltest.c: Added support for --enable_metadata mysql-test/t/order_by.test: Improved comment scripts/mysqlaccess.sh: CGI is required (Bug #2988) sql/field.cc: Fix to get correct metadata when using temporary tables to create result sql/field.h: Fix to get correct metadata when using temporary tables to create result sql/sql_insert.cc: Fix to get correct metadata when using temporary tables to create result
Diffstat (limited to 'scripts/mysqlaccess.sh')
-rw-r--r--scripts/mysqlaccess.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/mysqlaccess.sh b/scripts/mysqlaccess.sh
index 75ef63ecdd0..9fd1f63f67a 100644
--- a/scripts/mysqlaccess.sh
+++ b/scripts/mysqlaccess.sh
@@ -414,7 +414,6 @@ _HOWTO
use Getopt::Long;
use Sys::Hostname;
use IPC::Open3;
-#use CGI; #moved to use of CGI by monty
# ****************************
@@ -527,7 +526,7 @@ if ($MySQLaccess::CMD) { #command-line version
}
}
if ($MySQLaccess::CGI) { #CGI-version
- use CGI;
+ require CGI;
$Q = new CGI;
$Param{'help'} = $Q->param('help') ;
$Param{'host'} = $Q->param('host') || $Q->param('h') || $Param{'host'};