• unknown's avatar
    sql_updatable_view_key replaced with updatable_views_with_limit · 95335c64
    unknown authored
    now default behaviour do not prevent any updates of view.
    Also updating VIEWs of queries without LIMIT clause will not be checked at all (there will not be even warning)
    (changes according to discussion on last dev-conf)
    
    
    mysql-test/r/view.result:
      sql_updatable_view_key replaced with updatable_views_with_limit, default behaviour changed
    mysql-test/t/view.test:
      sql_updatable_view_key replaced with updatable_views_with_limit, default behaviour changed
    sql/mysqld.cc:
      sql_updatable_view_key replaced with updatable_views_with_limit, default behaviour changed
    sql/set_var.cc:
      sql_updatable_view_key replaced with updatable_views_with_limit, default behaviour changed
    sql/sql_class.h:
      sql_updatable_view_key replaced with updatable_views_with_limit, default behaviour changed
    sql/sql_view.cc:
      sql_updatable_view_key replaced with updatable_views_with_limit, default behaviour changed
    sql/sql_view.h:
      sql_updatable_view_key replaced with updatable_views_with_limit, default behaviour changed
    95335c64
sql_view.cc 28.7 KB