summaryrefslogtreecommitdiff
path: root/sql/sql_yacc.yy
diff options
context:
space:
mode:
authorbell@sanja.is.com.ua <>2003-03-21 10:03:43 +0200
committerbell@sanja.is.com.ua <>2003-03-21 10:03:43 +0200
commit2a410e95db46bcd54e23bbd94cddb657e9e90889 (patch)
tree20f8a35df08d45baafaa257e86d9c97d7ee55c08 /sql/sql_yacc.yy
parent0694d567f0a40ae9ef44ba5efaafdbcd0cabec53 (diff)
parent95c4b297b61fdaa69f9134aae5f933dbbc227946 (diff)
downloadmariadb-git-2a410e95db46bcd54e23bbd94cddb657e9e90889.tar.gz
Merge sanja.is.com.ua:/home/bell/mysql/mysql-4.0
into sanja.is.com.ua:/home/bell/mysql/work-qcfile-4.0
Diffstat (limited to 'sql/sql_yacc.yy')
-rw-r--r--sql/sql_yacc.yy8
1 files changed, 6 insertions, 2 deletions
diff --git a/sql/sql_yacc.yy b/sql/sql_yacc.yy
index b986b72df32..8d56a403ba3 100644
--- a/sql/sql_yacc.yy
+++ b/sql/sql_yacc.yy
@@ -2450,13 +2450,17 @@ procedure_item:
opt_into:
INTO OUTFILE TEXT_STRING
{
- if (!(Lex->exchange= new sql_exchange($3.str,0)))
+ THD *thd= current_thd;
+ thd->safe_to_cache_query= 0;
+ if (!(thd->lex.exchange= new sql_exchange($3.str,0)))
YYABORT;
}
opt_field_term opt_line_term
| INTO DUMPFILE TEXT_STRING
{
- if (!(Lex->exchange= new sql_exchange($3.str,1)))
+ THD *thd= current_thd;
+ thd->safe_to_cache_query= 0;
+ if (!(thd->lex.exchange= new sql_exchange($3.str,1)))
YYABORT;
};