diff options
author | unknown <gluh@eagle.intranet.mysql.r18.ru> | 2005-06-16 12:12:47 +0500 |
---|---|---|
committer | unknown <gluh@eagle.intranet.mysql.r18.ru> | 2005-06-16 12:12:47 +0500 |
commit | 8dd1be2d971ba0433392d0c6cfbf658fa26107c2 (patch) | |
tree | af4b9981765963be82fa1e0134c19ed9cc8ffe3e /sql/sql_lex.h | |
parent | d27132953d608aed019e48ee180821fc87b47556 (diff) | |
download | mariadb-git-8dd1be2d971ba0433392d0c6cfbf658fa26107c2.tar.gz |
Fix for bug#11055: information_schema: routines.sql_data_access has wrong value
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r-- | sql/sql_lex.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h index 8af416f0ce8..052873640c6 100644 --- a/sql/sql_lex.h +++ b/sql/sql_lex.h @@ -114,6 +114,14 @@ enum enum_sp_data_access SP_MODIFIES_SQL_DATA }; +const LEX_STRING sp_data_access_name[]= +{ + { (char*) STRING_WITH_LEN("") }, + { (char*) STRING_WITH_LEN("CONTAINS SQL") }, + { (char*) STRING_WITH_LEN("NO SQL") }, + { (char*) STRING_WITH_LEN("READS SQL DATA") }, + { (char*) STRING_WITH_LEN("MODIFIES SQL DATA") } +}; #define DERIVED_SUBQUERY 1 #define DERIVED_VIEW 2 |