~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/utility_functions/kill.cc

  • Committer: Olaf van der Spek
  • Date: 2011-07-04 19:11:47 UTC
  • mto: This revision was merged to the branch mainline in revision 2367.
  • Revision ID: olafvdspek@gmail.com-20110704191147-s99ojek811zi1fzj
Remove unused Name_resolution_context::error_reporter

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
19
 */
20
20
 
21
 
#include "config.h"
 
21
#include <config.h>
22
22
 
23
23
#include <drizzled/session.h>
24
24
#include <drizzled/session/cache.h>
25
 
#include "plugin/utility_functions/functions.h"
26
 
 
27
 
namespace drizzled
28
 
{
29
 
 
30
 
namespace utility_functions
31
 
{
 
25
#include <plugin/utility_functions/functions.h>
 
26
 
 
27
namespace drizzled {
 
28
namespace utility_functions {
32
29
 
33
30
int64_t Kill::val_int()
34
31
{
40
37
    return 0;
41
38
  }
42
39
 
43
 
  Session::shared_ptr die_session(session::Cache::singleton().find(session_id_for_kill));
 
40
  Session::shared_ptr die_session(session::Cache::find(session_id_for_kill));
44
41
 
45
42
  if (not die_session)
46
43
  {