~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/null.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
 
 
22
 
#include "config.h"
 
21
#include <config.h>
23
22
#include <drizzled/field/null.h>
24
23
 
25
 
namespace drizzled
26
 
{
27
 
 
28
 
unsigned char Field_null::null[1]={1};
29
 
 
30
 
/****************************************************************************
31
 
  Field_null, a field that always return NULL
32
 
****************************************************************************/
33
 
 
34
 
void Field_null::sql_type(String &res) const
35
 
{
36
 
  res.set_ascii(STRING_WITH_LEN("null"));
37
 
}
 
24
namespace drizzled {
 
25
 
 
26
unsigned char Field_null::null= 1;
38
27
 
39
28
} /* namespace drizzled */