summaryrefslogtreecommitdiff
path: root/sql/sql_lex.h
diff options
context:
space:
mode:
authorunknown <kostja@vajra.(none)>2007-05-16 10:21:39 +0400
committerunknown <kostja@vajra.(none)>2007-05-16 10:21:39 +0400
commit5af1df9c76b62b838116235b4d0bfb6f638cf702 (patch)
tree2295de4497bb7d779e22313f151b6bcdd25ce092 /sql/sql_lex.h
parentd71f4248aa284eb73c882dff033b1eca4ac158ad (diff)
parent7e628372e9b21e0355b9b8145e12a0ca31e98260 (diff)
downloadmariadb-git-5af1df9c76b62b838116235b4d0bfb6f638cf702.tar.gz
Merge vajra.(none):/opt/local/work/mysql-5.0-21483
into vajra.(none):/opt/local/work/mysql-5.1-21483 sql/sp_head.cc: Auto merged sql/sql_base.cc: Auto merged sql/sql_lex.h: Auto merged mysql-test/r/insert.result: Manual merge. mysql-test/t/insert.test: Manual merge. sql/sql_insert.cc: Manual merge.
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 2144b2efce0..3dca1d15b88 100644
--- a/sql/sql_lex.h
+++ b/sql/sql_lex.h
@@ -971,6 +971,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; }
};