synced/fixed vim line
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/* vim: set expandtab sw=4 ts=4 sts=4: */
|
||||
/* $Id$ */
|
||||
// vim: expandtab sw=4 ts=4 sts=4:
|
||||
|
||||
include_once 'pmd_common.php';
|
||||
require_once './libraries/relation.lib.php';
|
||||
extract($_POST);
|
||||
extract($_POST);
|
||||
extract($_GET);
|
||||
$die_save_pos = 0;
|
||||
include_once 'pmd_save_pos.php';
|
||||
@@ -29,19 +29,19 @@ if ($type_T1 == 'INNODB' && $type_T2 == 'INNODB') {
|
||||
$upd_rs = PMA_DBI_query($upd_query);
|
||||
}
|
||||
}
|
||||
//---------------------------------------------------------------------------------------------------
|
||||
//---------------------------------------------------------------------------------------------------
|
||||
|
||||
|
||||
PMA_query_as_cu('DELETE FROM '.$cfg['Server']['relation'].' WHERE '
|
||||
. 'master_db = \'' . PMA_sqlAddslashes($DB2) . '\''
|
||||
. 'AND master_table = \'' . PMA_sqlAddslashes($T2) . '\''
|
||||
. 'AND master_field = \'' . PMA_sqlAddslashes($F2) . '\''
|
||||
. 'AND foreign_db = \'' . PMA_sqlAddslashes($DB1) . '\''
|
||||
. 'AND foreign_table = \'' . PMA_sqlAddslashes($T1) . '\''
|
||||
. 'master_db = \'' . PMA_sqlAddslashes($DB2) . '\''
|
||||
. 'AND master_table = \'' . PMA_sqlAddslashes($T2) . '\''
|
||||
. 'AND master_field = \'' . PMA_sqlAddslashes($F2) . '\''
|
||||
. 'AND foreign_db = \'' . PMA_sqlAddslashes($DB1) . '\''
|
||||
. 'AND foreign_table = \'' . PMA_sqlAddslashes($T1) . '\''
|
||||
. 'AND foreign_field = \'' . PMA_sqlAddslashes($F1) . '\''
|
||||
, FALSE, PMA_DBI_QUERY_STORE);
|
||||
|
||||
PMD_return(1, 'strRelationDeleted');
|
||||
PMD_return(1, 'strRelationDeleted');
|
||||
|
||||
function PMD_return($b,$ret)
|
||||
{
|
||||
|
Reference in New Issue
Block a user