diff options
author | unknown <bell@sanja.is.com.ua> | 2004-07-22 17:52:04 +0300 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2004-07-22 17:52:04 +0300 |
commit | af14cae0dd6d81108e2883603ad56da45d3d8a83 (patch) | |
tree | 93275fbebca583b4ac1098787e6492559cfdc5ea /sql/table.h | |
parent | e660728d2b302b509dce1561223a7f3b401bdd1b (diff) | |
download | mariadb-git-af14cae0dd6d81108e2883603ad56da45d3d8a83.tar.gz |
made different fields for view updatebility in principle and updatability during this execution (BUG#4601)
mysql-test/r/view.result:
fixed ps variavles test
test of view built over updatable view
mysql-test/t/view.test:
fixed ps variavles test
test of view built over updatable view
sql/sql_acl.cc:
mpre optimal locking (found by Monty)
sql/sql_view.cc:
made different fields for view updatebility in principle and updatability during this execution
sql/table.h:
made different fields for view updatebility in principle and updatability during this execution
Diffstat (limited to 'sql/table.h')
-rw-r--r-- | sql/table.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/table.h b/sql/table.h index 166cea84b53..75d54d9d069 100644 --- a/sql/table.h +++ b/sql/table.h @@ -215,8 +215,8 @@ typedef struct st_table_list LEX_STRING view_name; /* save view name */ LEX_STRING timestamp; /* GMT time stamp of last operation */ ulonglong file_version; /* version of file's field set */ + ulonglong updatable_view; /* VIEW can be updated */ ulonglong revision; /* revision control number */ - ulonglong updatable; /* Is VIEW updateable */ ulonglong algorithm; /* 0 any, 1 tmp tables , 2 merging */ uint effective_algorithm; /* which algorithm was really used */ GRANT_INFO grant; @@ -224,6 +224,7 @@ typedef struct st_table_list uint outer_join; /* Which join type */ uint shared; /* Used in multi-upd */ uint32 db_length, real_name_length; + bool updatable; /* VIEW/TABLE can be updated now */ bool straight; /* optimize with prev table */ bool updating; /* for replicate-do/ignore table */ bool force_index; /* prefer index over table scan */ |