summaryrefslogtreecommitdiff
path: root/sql/sql_lex.h
diff options
context:
space:
mode:
authorunknown <kostja@vajra.(none)>2007-05-16 09:52:01 +0400
committerunknown <kostja@vajra.(none)>2007-05-16 09:52:01 +0400
commit7e628372e9b21e0355b9b8145e12a0ca31e98260 (patch)
treec990b139823c3fe164a9109ccc0b8e3cdc26e02f /sql/sql_lex.h
parentb763ff9a6b0d946a691559db6d69bd821783b8a9 (diff)
parent3395c53efcf07126fdf05ccd4ffdafb8ce319751 (diff)
downloadmariadb-git-7e628372e9b21e0355b9b8145e12a0ca31e98260.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-5.0-runtime
into vajra.(none):/opt/local/work/mysql-5.0-21483 sql/sp_head.cc: Auto merged sql/sql_base.cc: Auto merged sql/sql_insert.cc: Auto merged sql/sql_lex.h: Auto merged
Diffstat (limited to 'sql/sql_lex.h')
-rw-r--r--sql/sql_lex.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/sql_lex.h b/sql/sql_lex.h
index d34124095d3..6c9283126c4 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -886,6 +886,12 @@ public:
query_tables_own_last= 0;
}
}
+ /**
+ true if the parsed tree contains references to stored procedures
+ or functions, false otherwise
+ */
+ bool uses_stored_routines() const
+ { return sroutines_list.elements != 0; }
};