Commit 6df2a7d0 authored by unknown's avatar unknown

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.
parent 45945b84
...@@ -247,6 +247,7 @@ sp_get_flags_for_command(LEX *lex) ...@@ -247,6 +247,7 @@ sp_get_flags_for_command(LEX *lex)
case SQLCOM_TRUNCATE: case SQLCOM_TRUNCATE:
case SQLCOM_COMMIT: case SQLCOM_COMMIT:
case SQLCOM_ROLLBACK: case SQLCOM_ROLLBACK:
case SQLCOM_LOAD:
case SQLCOM_LOAD_MASTER_DATA: case SQLCOM_LOAD_MASTER_DATA:
case SQLCOM_LOCK_TABLES: case SQLCOM_LOCK_TABLES:
case SQLCOM_CREATE_PROCEDURE: case SQLCOM_CREATE_PROCEDURE:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment