~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/substr_functions/substr_functions.cc

  • Committer: Lee Bieber
  • Date: 2011-03-29 22:31:41 UTC
  • mfrom: (2257.1.3 build)
  • Revision ID: kalebral@gmail.com-20110329223141-yxc22h3l2he58sk0
Merge Andrew - 743842: Build failure using GCC 4.6
Merge Stewart - 738022: CachedDirectory silently fails to add entries if stat() fails
Merge Olaf - Common fwd: add copyright, add more declaration

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
 
#include "config.h"
22
 
 
 
21
#include <config.h>
 
22
 
 
23
#include <algorithm>
 
24
 
 
25
#include <drizzled/charset_info.h>
 
26
#include <drizzled/function/str/strfunc.h>
23
27
#include <drizzled/plugin/function.h>
24
 
#include <algorithm>
25
28
 
26
29
using namespace std;
27
30
using namespace drizzled;
28
31
 
29
 
#include <drizzled/function/str/strfunc.h>
30
 
 
31
32
class SubstrFunction :public Item_str_func
32
33
{
33
34
  String tmp_value;
278
279
  "SUBSTR and SUBSTR",
279
280
  PLUGIN_LICENSE_GPL,
280
281
  initialize, /* Plugin Init */
281
 
  NULL,   /* system variables */
 
282
  NULL,   /* depends */
282
283
  NULL    /* config options */
283
284
}
284
285
DRIZZLE_DECLARE_PLUGIN_END;