[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_7_1-23834-ge2228ee

Marc Delisle lem9 at users.sourceforge.net
Thu Dec 1 11:55:10 CET 2011


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


- Log -----------------------------------------------------------------
commit e2228eed7795063c9007b46177d20a07d285a021
Author: Marc Delisle <marc at infomarc.info>
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




More information about the Git mailing list