2011-06-18 11:10:40 +00:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* This file is part of MySQLDumper released under the GNU/GPL 2 license
|
|
|
|
* http://www.mysqldumper.net
|
|
|
|
*
|
|
|
|
* @package MySQLDumper
|
|
|
|
* @subpackage SQL-Browser
|
2011-06-19 13:47:44 +00:00
|
|
|
* @version SVN: $Rev$
|
|
|
|
* @author $Author$
|
2011-06-18 11:10:40 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
require_once "Msd/Sql/Parser/Interface.php";
|
|
|
|
/**
|
|
|
|
* Class to parse MySQL UNLOCK statements.
|
|
|
|
* This enables you to analyze and modify MySQL queries, which the user has entered.
|
|
|
|
*
|
|
|
|
* @package MySQLDumper
|
|
|
|
* @subpackage SQL-Browser
|
|
|
|
*/
|
|
|
|
class Msd_Sql_Parser_Statement_Unlock implements Msd_Sql_Parser_Interface
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Parse the statement.
|
|
|
|
*
|
2011-06-19 13:47:44 +00:00
|
|
|
* @param string $statement MySQL UNLOCK statement.
|
2011-06-18 11:10:40 +00:00
|
|
|
*
|
|
|
|
* @return void
|
|
|
|
*/
|
|
|
|
public function parse($statement)
|
|
|
|
{
|
|
|
|
echo "$statement\n";
|
|
|
|
}
|
|
|
|
}
|