Try to update history in table only if configured so (bug #828356).
This commit is contained in:
@@ -18,6 +18,8 @@ $Source$
|
||||
export options in Opera (bug #828712).
|
||||
* db_details_structure.php3, lang/*: Show also overhead, allow to check
|
||||
all tables with overhead at once (JS only) (RFE #828090).
|
||||
* footer.inc.php3: Try to update history in table only if configured so
|
||||
(bug #828356).
|
||||
|
||||
2003-10-21 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* pdf_pages.php3: Patch 825672: show fields in Edit PDF scratchboard,
|
||||
|
@@ -45,7 +45,9 @@ if ($cfg['QueryFrame'] && $cfg['QueryFrameJS']) {
|
||||
if (isset($LockFromUpdate) && $LockFromUpdate == '1' && isset($sql_query)) {
|
||||
// When the button 'LockFromUpdate' was selected in the querywindow, it does not submit it's contents to
|
||||
// itself. So we create a SQL-history entry here.
|
||||
PMA_setHistory((isset($db) ? $db : ''), (isset($table) ? $table : ''), $cfg['Server']['user'], $sql_query);
|
||||
if ($cfg['QueryHistoryDB'] && $cfgRelation['historywork']) {
|
||||
PMA_setHistory((isset($db) ? $db : ''), (isset($table) ? $table : ''), $cfg['Server']['user'], $sql_query);
|
||||
}
|
||||
}
|
||||
?>
|
||||
if (!parent.frames.queryframe.querywindow.document.sqlform.LockFromUpdate || !parent.frames.queryframe.querywindow.document.sqlform.LockFromUpdate.checked) {
|
||||
|
Reference in New Issue
Block a user