~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/math/integer.cc

* Renames Ha_trx_info to drizzled::ResourceContext
* Renames Sesssion_TRANS to drizzled::TransactionContext
* Replaces homegrown linked-lists of Ha_trx_info pointers
  with vector<drizzled::ResourceContext> operations
* Renames Session::getEngineInfo() to Session::getResourceContext()

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 */
19
19
 
20
20
#include "config.h"
21
 
 
 
21
#include CSTDINT_H
22
22
#include <drizzled/function/math/integer.h>
23
23
 
24
 
namespace drizzled
25
 
{
26
 
 
27
24
void Item_func_integer::fix_length_and_dec()
28
25
{
29
26
  max_length=args[0]->max_length - args[0]->decimals+1;
32
29
  decimals=0;
33
30
}
34
31
 
35
 
} /* namespace drizzled */