~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/compression/uncompressed_length.h

  • Committer: Brian Aker
  • Date: 2009-10-15 00:22:33 UTC
  • mto: (1183.1.11 merge)
  • mto: This revision was merged to the branch mainline in revision 1198.
  • Revision ID: brian@gaz-20091015002233-fa4ao2mbc67wls91
First pass of information engine. OMG, ponies... is it so much easier to
deal with creating and engine.

The list table iterator though... its ass, needs to go. We should also
abstract out share. Very few engines need a custom one. Just say'in

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
 
#ifndef PLUGIN_COMPRESSION_UNCOMPRESSED_LENGTH_H
21
 
#define PLUGIN_COMPRESSION_UNCOMPRESSED_LENGTH_H
 
20
#ifndef DRIZZLED_PLUGIN_COMPRESSION_UNCOMPRESSED_LENGTH_H
 
21
#define DRIZZLED_PLUGIN_COMPRESSION_UNCOMPRESSED_LENGTH_H
22
22
 
 
23
#include <drizzled/server_includes.h>
23
24
#include <drizzled/plugin/function.h>
24
25
#include <drizzled/function/math/int.h>
25
26
 
26
27
 
27
 
class Item_func_uncompressed_length : public drizzled::Item_int_func
 
28
class Item_func_uncompressed_length : public Item_int_func
28
29
{
29
 
  drizzled::String value;
 
30
  String value;
30
31
public:
31
32
  Item_func_uncompressed_length():Item_int_func(){}
32
33
  const char *func_name() const{return "uncompressed_length";}
36
37
};
37
38
 
38
39
 
39
 
#endif /* PLUGIN_COMPRESSION_UNCOMPRESSED_LENGTH_H */
 
40
#endif /* DRIZZLED_PLUGIN_COMPRESSION_UNCOMPRESSED_LENGTH_H */