~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/drizzle_protocol/oldlibdrizzle.h

  • Committer: Stewart Smith
  • Date: 2010-02-15 01:56:32 UTC
  • mto: (1273.13.96 build)
  • mto: This revision was merged to the branch mainline in revision 1308.
  • Revision ID: stewart@flamingspork.com-20100215015632-pm7lnxfq5j5uh8kj
move DATABASE() to function plugin. modify parser so that it looks for a function named 'database' when DATABASE() is called. Special case still needed in parser due to hilarity of not-really-reserved words.

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_DRIZZLE_PROTOCOL_DRIZZLE_PROTOCOL_H
21
 
#define PLUGIN_DRIZZLE_PROTOCOL_DRIZZLE_PROTOCOL_H
 
20
#ifndef PLUGIN_DRIZZLE_PROTOCOL_OLDLIBDRIZZLE_H
 
21
#define PLUGIN_DRIZZLE_PROTOCOL_OLDLIBDRIZZLE_H
22
22
 
23
23
#include <drizzled/plugin/listen_tcp.h>
24
24
#include <drizzled/plugin/client.h>
25
25
 
26
26
#include "net_serv.h"
27
27
 
28
 
namespace drizzle_protocol
29
 
{
30
 
 
31
28
class ListenDrizzleProtocol: public drizzled::plugin::ListenTcp
32
29
{
33
30
private:
90
87
  virtual bool wasAborted(void);
91
88
};
92
89
 
93
 
} /* namespace drizzle_protocol */
94
 
 
95
 
#endif /* PLUGIN_DRIZZLE_PROTOCOL_DRIZZLE_PROTOCOL_H */
 
90
#endif /* PLUGIN_DRIZZLE_PROTOCOL_OLDLIBDRIZZLE_H */