~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item.cc

  • Committer: Monty Taylor
  • Date: 2010-02-04 08:14:46 UTC
  • mfrom: (1277.2.1 build) (1280.2.1 build)
  • mto: This revision was merged to the branch mainline in revision 1283.
  • Revision ID: mordred@inaugust.com-20100204081446-ldh9m486va30uap6
Put everything in drizzled into drizzled namespace.
Put internal stuff into drizzled::internal namespace.
Removed some cruft.
Now every symbol that is shipped in a header is in the drizzled namespace
and everything in the server that's not shipped is labeled internal. woot. 
Removed a lot of the extra extern "C" stuff that was in there. Less ugliness for
internal callbacks now for Sun Studio.

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
#include <float.h>
55
55
 
56
56
using namespace std;
57
 
using namespace drizzled;
 
57
 
 
58
namespace drizzled
 
59
{
58
60
 
59
61
const String my_null_string("NULL", 4, default_charset_info);
60
62
 
467
469
    if (number_to_datetime(value, ltime, fuzzydate, &was_cut) == -1L)
468
470
    {
469
471
      char buff[22], *end;
470
 
      end= int64_t10_to_str(value, buff, -10);
 
472
      end= internal::int64_t10_to_str(value, buff, -10);
471
473
      make_truncated_value_warning(current_session, DRIZZLE_ERROR::WARN_LEVEL_WARN,
472
474
                                   buff, (int) (end-buff), DRIZZLE_TIMESTAMP_NONE,
473
475
                                   NULL);
1774
1776
  }
1775
1777
}
1776
1778
 
 
1779
} /* namespace drizzled */