From 09180e0e8bf6da09be65a43c391c4cb5703b9d77 Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Wed, 29 Sep 2004 20:29:56 +0000 Subject: [PATCH] bug #1035524 --- ChangeLog | 1 + tbl_properties_operations.php | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index 49b70f0f5..31b99e6d2 100755 --- a/ChangeLog +++ b/ChangeLog @@ -8,6 +8,7 @@ $Source$ 2004-09-29 Marc Delisle * sql.php, libraries/common.lib.php: bug #1036678, incorrect appending of LIMIT to queries, and bug #1037004, UPDATE statement not showing + * tbl_properties_operations.php: bug #1035524, cannot add comments to table 2004-09-29 Michal Čihař * tbl_addfield.php, tbl_create.php, tbl_properties.inc.php, lang/*: Better diff --git a/tbl_properties_operations.php b/tbl_properties_operations.php index ae11b4e17..3eb47fd8b 100644 --- a/tbl_properties_operations.php +++ b/tbl_properties_operations.php @@ -22,6 +22,10 @@ $cfgRelation = PMA_getRelationsParam(); */ require_once('./libraries/mysql_charsets.lib.php'); +// reselect current db (needed in some cases probably due to +// the calling of relation.lib.php) +PMA_DBI_select_db($db); + /** * Updates table comment, type and options if required */