~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/execute.cc

  • Committer: Brian Aker
  • Date: 2011-01-18 07:21:16 UTC
  • mfrom: (2079.3.3 session-fix)
  • Revision ID: brian@tangent.org-20110118072116-nuflltzguzhq9rgg
Merge in update so that test-run.pl runs all of test/suite and fix for
create table like and FK.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#include "drizzled/session.h"
24
24
#include "drizzled/user_var_entry.h"
25
25
#include "drizzled/plugin/client/concurrent.h"
 
26
#include "drizzled/catalog/local.h"
26
27
#include "drizzled/execute.h"
27
28
 
28
29
namespace drizzled
52
53
  {
53
54
    plugin::client::Concurrent *client= new plugin::client::Concurrent;
54
55
    client->pushSQL(execution_string);
55
 
    Session::shared_ptr new_session(new Session(client));
 
56
    Session::shared_ptr new_session= Session::make_shared(client, catalog::local());
56
57
 
57
58
    // We set the current schema.  @todo do the same with catalog
58
59
    util::string::const_shared_ptr schema(_session.schema());