diff options
author | unknown <bell@sanja.is.com.ua> | 2005-01-05 16:48:23 +0200 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2005-01-05 16:48:23 +0200 |
commit | 47dc78e6a3bb6554504da0869705c2155d7b772d (patch) | |
tree | 2d4c17ce2b2688d209f1864bea4459a6021d896a /sql/table.h | |
parent | 4fd1524c0a0e3fed746a8f2af743cafbb12abfd4 (diff) | |
download | mariadb-git-47dc78e6a3bb6554504da0869705c2155d7b772d.tar.gz |
fixed views with PS protocol
mysql-test/r/view.result:
query cache part moved to separate test
mysql-test/t/view.test:
query cache part moved to separate test
sql/item_func.cc:
fixed for safety
sql/sql_base.cc:
do not use real table call with view
fixed wrapping * substitured items
fixed fix_fields call parameter (refference)
sql/sql_yacc.yy:
added initialisation of SELECT in commands which can use subqueries
sql/table.cc:
fised fix_fields call parameter
sql/table.h:
new view specific method
Diffstat (limited to 'sql/table.h')
-rw-r--r-- | sql/table.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/table.h b/sql/table.h index 391b4908f96..60a5796791a 100644 --- a/sql/table.h +++ b/sql/table.h @@ -428,6 +428,7 @@ public: bool end_of_fields() { return ptr == array_end; } const char *name(); Item *item(THD *thd) { return ptr->item; } + Item **item_ptr() {return &ptr->item; } Field *field() { return 0; } }; |