The branch, master has been updated
       via  e2228eed7795063c9007b46177d20a07d285a021 (commit)
      from  0b04f907565ecde39010aa5b6b342cdbe7d4713c (commit)


- Log -----------------------------------------------------------------
commit e2228eed7795063c9007b46177d20a07d285a021
Author: Marc Delisle <[email protected]>
Date:   Thu Dec 1 05:54:37 2011 -0500

    View editing via a generated ALTER VIEW

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog         |    1 +
 tbl_structure.php |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 9fb4838..c4e6afa 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -60,6 +60,7 @@ phpMyAdmin - ChangeLog
 + rfe #1632106 [interface] Improved error handling
 + patch #3432835 [interface] Add useful intermediate pages to pageselector
 + [interface] Improved index editor
++ View editing via a generated ALTER VIEW
 
 3.4.9.0 (not yet released)
 - bug #3442028 [edit] Inline editing enum fields with null shows no dropdown
diff --git a/tbl_structure.php b/tbl_structure.php
index 9de9d5a..c2a4bd2 100644
--- a/tbl_structure.php
+++ b/tbl_structure.php
@@ -595,6 +595,7 @@ if (! $tbl_is_view && ! $db_is_information_schema) {
 
 if ($tbl_is_view) {
     $create_view = PMA_DBI_get_definition($db, 'VIEW', $table);
+    $create_view = preg_replace('@^CREATE@', 'ALTER', $create_view);
     echo PMA_linkOrButton(
         'tbl_sql.php' . PMA_generate_common_url(
             $url_params +


hooks/post-receive
-- 
phpMyAdmin

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Phpmyadmin-git mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-git

Reply via email to