summaryrefslogtreecommitdiff
path: root/sql/sql_lex.h
diff options
context:
space:
mode:
authorkostja@vajra.(none) <>2007-05-16 09:52:01 +0400
committerkostja@vajra.(none) <>2007-05-16 09:52:01 +0400
commitf10effe40230b126581202d3b234f7d3e2243af7 (patch)
treec990b139823c3fe164a9109ccc0b8e3cdc26e02f /sql/sql_lex.h
parent35616ba5c7c42104946e607206ddca1f7c7b21ee (diff)
parent747842e10bd7b93218252907e220e6da6e5dfcbd (diff)
downloadmariadb-git-f10effe40230b126581202d3b234f7d3e2243af7.tar.gz
Merge bk-internal.mysql.com:/home/bk/mysql-5.0-runtime
into vajra.(none):/opt/local/work/mysql-5.0-21483
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; }
};