~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to plugin/utility_functions/schema.cc

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2012-06-19 10:46:49 UTC
  • mfrom: (1.1.6)
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20120619104649-e2l0ggd4oz3um0f4
Tags: upstream-7.1.36-stable
ImportĀ upstreamĀ versionĀ 7.1.36-stable

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#include <drizzled/session.h>
24
24
#include <plugin/utility_functions/functions.h>
25
25
 
26
 
namespace drizzled
27
 
{
28
 
 
29
 
namespace utility_functions
30
 
{
 
26
namespace drizzled {
 
27
namespace utility_functions {
31
28
 
32
29
String *Schema::val_str(String *str)
33
30
{
34
31
  assert(fixed == 1);
35
 
  util::string::const_shared_ptr schema= getSession().schema();
 
32
  util::string::ptr schema= getSession().schema();
36
33
  if (not schema or schema->empty())
37
34
  {
38
35
    null_value= 1;