Remove unused PMA_myHandler().
This commit is contained in:
@@ -25,6 +25,7 @@ $Source$
|
|||||||
(RFE #1012971), show just Access denied in case we denied it.
|
(RFE #1012971), show just Access denied in case we denied it.
|
||||||
* db_operations.php, db_details_links.php, db_details_structure.php:
|
* db_operations.php, db_details_links.php, db_details_structure.php:
|
||||||
Separate operations from structure (RFE #808029).
|
Separate operations from structure (RFE #808029).
|
||||||
|
* tbl_move_copy.php: Remove unused PMA_myHandler().
|
||||||
|
|
||||||
2004-10-19 Marc Delisle <lem9@users.sourceforge.net>
|
2004-10-19 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* libraries/database_interface.lib.php: bug #1041667, correctly
|
* libraries/database_interface.lib.php: bug #1041667, correctly
|
||||||
|
@@ -9,27 +9,6 @@ require_once('./libraries/common.lib.php');
|
|||||||
|
|
||||||
PMA_checkParameters(array('db', 'table'));
|
PMA_checkParameters(array('db', 'table'));
|
||||||
|
|
||||||
/**
|
|
||||||
* Insert data from one table to another one
|
|
||||||
*
|
|
||||||
* @param string the original insert statement
|
|
||||||
*
|
|
||||||
* @global string the database name
|
|
||||||
* @global string the original table name
|
|
||||||
* @global string the target database and table names
|
|
||||||
* @global string the sql query used to copy the data
|
|
||||||
*/
|
|
||||||
function PMA_myHandler($sql_insert = '')
|
|
||||||
{
|
|
||||||
global $db, $table, $target;
|
|
||||||
global $sql_insert_data;
|
|
||||||
|
|
||||||
$sql_insert = preg_replace('~INSERT INTO (`?)' . $table . '(`?)~i', 'INSERT INTO ' . $target, $sql_insert);
|
|
||||||
$result = PMA_DBI_query($sql_insert);
|
|
||||||
|
|
||||||
$sql_insert_data .= $sql_insert . ';' . "\n";
|
|
||||||
} // end of the 'PMA_myHandler()' function
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Inserts existing entries in a PMA_* table by reading a value from an old entry
|
* Inserts existing entries in a PMA_* table by reading a value from an old entry
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user