summaryrefslogtreecommitdiff
path: root/sql/sp_head.cc
diff options
context:
space:
mode:
authorunknown <cmiller@zippy.(none)>2006-05-23 10:29:58 -0400
committerunknown <cmiller@zippy.(none)>2006-05-23 10:29:58 -0400
commit6df2a7d0badef381f0e7878e2d1a13fee55d7835 (patch)
tree1e5741020bb786dc5187276f45ca4bb2a992511d /sql/sp_head.cc
parent45945b84e7dd2f0406ee8332557f1ae0ff7dd31c (diff)
downloadmariadb-git-6df2a7d0badef381f0e7878e2d1a13fee55d7835.tar.gz
Guilhelm suggested that the "load data infile" command should be flagged as
not transaction-safe for stored procedures. Related to Bug#11151. sql/sp_head.cc: Guilhelm suggested that the "load data infile" command should be flagged as not transaction-safe for stored procedures.
Diffstat (limited to 'sql/sp_head.cc')
-rw-r--r--sql/sp_head.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sp_head.cc b/sql/sp_head.cc
index bba9479c8f3..d1bd6715075 100644
--- a/sql/sp_head.cc
+++ b/sql/sp_head.cc
@@ -247,6 +247,7 @@ sp_get_flags_for_command(LEX *lex)
case SQLCOM_TRUNCATE:
case SQLCOM_COMMIT:
case SQLCOM_ROLLBACK:
+ case SQLCOM_LOAD:
case SQLCOM_LOAD_MASTER_DATA:
case SQLCOM_LOCK_TABLES:
case SQLCOM_CREATE_PROCEDURE: