Merge remote branch 'upstream/master'
This commit is contained in:
commit
54dfe9eb0f
@ -59,6 +59,7 @@ VerboseMultiSubmit, ReplaceHelpImg
|
||||
- [interface] Designer sometimes places tables on the top menu
|
||||
- bug #3546277 [core] Call to undefined function __() when config file has wrong permissions
|
||||
- bug #3540922 [edit] Error searching table with many fields
|
||||
- bug #3555104 [edit] Cannot copy a DB with table & views
|
||||
|
||||
3.5.2.1 (2012-08-03)
|
||||
- [security] Fixed local path disclosure vulnerability, see PMASA-2012-3
|
||||
|
||||
@ -172,7 +172,7 @@ class PMA_Menu
|
||||
if (strlen($this->_table)
|
||||
&& ! (isset($_REQUEST['purge']) && $_REQUEST['purge'] == '1')
|
||||
) {
|
||||
include_once './libraries/tbl_info.inc.php';
|
||||
include './libraries/tbl_info.inc.php';
|
||||
|
||||
$retval .= $separator;
|
||||
if ($GLOBALS['cfg']['NavigationBarIconic']) {
|
||||
|
||||
@ -782,7 +782,7 @@ class PMA_Table
|
||||
|
||||
// do not create the table if dataonly
|
||||
if ($what != 'dataonly') {
|
||||
require_once "libraries/plugin_interface.lib.php";
|
||||
include_once "libraries/plugin_interface.lib.php";
|
||||
// get Export SQL instance
|
||||
$export_sql_plugin = PMA_getPlugin(
|
||||
"export",
|
||||
@ -845,7 +845,7 @@ class PMA_Table
|
||||
// this a view definition; we just found the first db name
|
||||
// that follows DEFINER VIEW
|
||||
// so change it for the new db name
|
||||
$parsed_sql[$i]['data'] = $target_for_view;
|
||||
$parsed_sql[$i]['data'] = $target_for_view;
|
||||
// then we have to find all references to the source db
|
||||
// and change them to the target db, ensuring we stay into
|
||||
// the $parsed_sql limits
|
||||
@ -854,6 +854,7 @@ class PMA_Table
|
||||
for (++$i; $i <= $last; $i++) {
|
||||
if ($parsed_sql[$i]['type'] == $table_delimiter
|
||||
&& $parsed_sql[$i]['data'] == $backquoted_source_db
|
||||
&& $parsed_sql[$i - 1]['type'] != 'punct_qualifier'
|
||||
) {
|
||||
$parsed_sql[$i]['data'] = $target_for_view;
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -63,14 +63,9 @@ if ($showtable) {
|
||||
$tbl_storage_engine = isset($showtable['Engine'])
|
||||
? strtoupper($showtable['Engine'])
|
||||
: '';
|
||||
// a new comment could be coming from tbl_operations.php
|
||||
// and we want to show it in the header
|
||||
if (isset($submitcomment) && isset($comment)) {
|
||||
$show_comment = $comment;
|
||||
} else {
|
||||
$show_comment = isset($showtable['Comment'])
|
||||
? $showtable['Comment']
|
||||
: '';
|
||||
$show_comment = '';
|
||||
if (isset($showtable['Comment'])) {
|
||||
$show_comment = $showtable['Comment'];
|
||||
}
|
||||
}
|
||||
$tbl_collation = empty($showtable['Collation'])
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
* Gets core libraries and defines some variables
|
||||
*/
|
||||
require_once 'libraries/common.inc.php';
|
||||
|
||||
PMA_Response::getInstance()->disable();
|
||||
|
||||
/**
|
||||
* Displays PHP information
|
||||
|
||||
1986
po/be@latin.po
1986
po/be@latin.po
File diff suppressed because it is too large
Load Diff
1966
po/en_GB.po
1966
po/en_GB.po
File diff suppressed because it is too large
Load Diff
1945
po/phpmyadmin.pot
1945
po/phpmyadmin.pot
File diff suppressed because it is too large
Load Diff
1975
po/pt_BR.po
1975
po/pt_BR.po
File diff suppressed because it is too large
Load Diff
1976
po/sr@latin.po
1976
po/sr@latin.po
File diff suppressed because it is too large
Load Diff
1986
po/uz@latin.po
1986
po/uz@latin.po
File diff suppressed because it is too large
Load Diff
2057
po/zh_CN.po
2057
po/zh_CN.po
File diff suppressed because it is too large
Load Diff
1983
po/zh_TW.po
1983
po/zh_TW.po
File diff suppressed because it is too large
Load Diff
@ -180,7 +180,7 @@ if (isset($result) && empty($message_to_show)) {
|
||||
$_type = 'success';
|
||||
if (empty($_message)) {
|
||||
$_message = $result
|
||||
? $message = PMA_Message::success(
|
||||
? PMA_Message::success(
|
||||
__('Your SQL query has been executed successfully')
|
||||
)
|
||||
: PMA_Message::error(__('Error'));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user