~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/str/set_collation.cc

  • Committer: Brian Aker
  • Date: 2009-02-21 00:18:15 UTC
  • Revision ID: brian@tangent.org-20090221001815-x20e8h71e984lvs1
Completion (?) of uint conversion.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 */
19
19
 
20
 
#include "config.h"
 
20
#include <drizzled/server_includes.h>
 
21
#include CSTDINT_H
21
22
#include <drizzled/function/str/set_collation.h>
22
23
#include <drizzled/error.h>
23
 
#include "drizzled/charset.h"
24
 
 
25
 
namespace drizzled
26
 
{
27
 
 
28
 
static const char *binary_keyword= "BINARY";
29
24
 
30
25
String *Item_func_set_collation::val_str(String *str)
31
26
{
61
56
             colname, args[0]->collation.collation->csname);
62
57
    return;
63
58
  }
64
 
  collation.set(set_collation, DERIVATION_EXPLICIT);
 
59
  collation.set(set_collation, DERIVATION_EXPLICIT,
 
60
                args[0]->collation.repertoire);
65
61
  max_length= args[0]->max_length;
66
62
}
67
63
 
96
92
  str->append(')');
97
93
}
98
94
 
99
 
} /* namespace drizzled */
100
95
 
101
96