~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/session.cc

  • Committer: Mark Atwood
  • Date: 2011-08-11 03:05:03 UTC
  • mfrom: (2385.1.12 refactor4)
  • Revision ID: me@mark.atwood.name-20110811030503-rp9xjihc5x3y0x4q
mergeĀ lp:~olafvdspek/drizzle/refactor4

Show diffs side-by-side

added added

removed removed

Lines of Context:
97
97
 
98
98
namespace drizzled {
99
99
 
100
 
/*
101
 
  The following is used to initialise Table_ident with a internal
102
 
  table name
103
 
*/
104
 
char internal_table_name[2]= "*";
105
 
char empty_c_string[1]= {0};    /* used for not defined db */
106
 
 
107
100
const char* const Session::DEFAULT_WHERE= "field list";
108
101
 
109
102
uint64_t g_refresh_version = 1;
1531
1524
  resetResultsetMessage();
1532
1525
}
1533
1526
 
1534
 
bool Session::copy_db_to(const char*& db, size_t& db_length)
 
1527
bool Session::copy_db_to(char*& db, size_t& db_length)
1535
1528
{
1536
1529
  if (impl_->schema->empty())
1537
1530
  {
1573
1566
    my_message(err, ER(err), MYF(0));
1574
1567
}
1575
1568
 
1576
 
void Session::set_db(const std::string& new_db)
 
1569
void Session::set_schema(const std::string& new_db)
1577
1570
{
1578
1571
  impl_->schema = boost::make_shared<std::string>(new_db);
1579
1572
}