~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to client/statement.h

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2012-06-19 10:46:49 UTC
  • mfrom: (1.1.6)
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20120619104649-e2l0ggd4oz3um0f4
Tags: upstream-7.1.36-stable
ImportĀ upstreamĀ versionĀ 7.1.36-stable

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
20
20
 */
21
21
 
22
 
#ifndef CLIENT_STATEMENT_H
23
 
#define CLIENT_STATEMENT_H
 
22
#pragma once
24
23
 
25
24
#include "client_priv.h"
26
25
#include <string>
27
 
#include <iostream>
 
26
#include <iosfwd>
28
27
#include <cstdlib>
29
28
 
30
29
 
62
61
 
63
62
  ~Statement()
64
63
  {
65
 
    if (string)
66
 
      free(string);
 
64
    free(string);
67
65
  }
68
66
   
69
67
  char *getString() const
123
121
  slap_query_t type;
124
122
  Statement *next;
125
123
};
126
 
 
127
 
#endif /* CLIENT_STATEMENT_H */