summaryrefslogtreecommitdiff
path: root/sql/sql_show.cc
diff options
context:
space:
mode:
authormonty@mashka.mysql.fi <>2003-09-11 19:06:23 +0300
committermonty@mashka.mysql.fi <>2003-09-11 19:06:23 +0300
commit45aa92c574e032bcf85b7207732158433e64afd5 (patch)
treeba442d57a65bd55a0d0fec02aa6abeae237a568b /sql/sql_show.cc
parent80565e13527206b0e8fac4a1f01cea96dd23423a (diff)
downloadmariadb-git-45aa92c574e032bcf85b7207732158433e64afd5.tar.gz
After merge fixes.
Note that mix_innodb_myisam_binlog and union fails after this patch (Will be fixed shortly by maintaners of this code)
Diffstat (limited to 'sql/sql_show.cc')
-rw-r--r--sql/sql_show.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_show.cc b/sql/sql_show.cc
index 0e1ad17c252..685d00db391 100644
--- a/sql/sql_show.cc
+++ b/sql/sql_show.cc
@@ -1035,7 +1035,7 @@ static void append_directory(THD *thd, String *packet, const char *dir_type,
const char *filename)
{
uint length;
- if (filename && !(thd->sql_mode & MODE_NO_DIR_IN_CREATE))
+ if (filename && !(thd->variables.sql_mode & MODE_NO_DIR_IN_CREATE))
{
length= dirname_length(filename);
packet->append(' ');