~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/null_client.h

  • Committer: Stewart Smith
  • Date: 2009-10-12 05:13:54 UTC
  • mfrom: (1178 staging)
  • mto: This revision was merged to the branch mainline in revision 1179.
  • Revision ID: stewart@flamingspork.com-20091012051354-2n7zpid9f67ddsa0
mergeĀ lp:drizzle/build

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
  virtual bool flush(void) { return false; }
41
41
  virtual void close(void) {}
42
42
  virtual bool authenticate(void) { return true; }
43
 
  virtual bool readCommand(char **packet, uint32_t *packet_length)
44
 
  {
45
 
    (void) packet;
46
 
    (void) packet_length;
47
 
    return false;
48
 
  }
 
43
  virtual bool readCommand(char**, uint32_t*) { return false; }
49
44
  virtual void sendOK(void) {}
50
45
  virtual void sendEOF(void) {}
51
 
  virtual void sendError(uint32_t sql_errno, const char *err)
52
 
  {
53
 
    (void) sql_errno;
54
 
    (void) err;
55
 
  }
56
 
  virtual bool sendFields(List<Item> *list)
57
 
  {
58
 
    (void) list;
59
 
    return false;
60
 
  }
61
 
  using Client::store;
62
 
  virtual bool store(Field *from)
63
 
  {
64
 
    (void) from;
65
 
    return false;
66
 
  }
 
46
  virtual void sendError(uint32_t, const char*) {}
 
47
  virtual bool sendFields(List<Item>*) { return false; }
 
48
  virtual bool store(Field *) { return false; }
67
49
  virtual bool store(void) { return false; }
68
 
  virtual bool store(int32_t from)
69
 
  {
70
 
    (void) from;
71
 
    return false;
72
 
  }
73
 
  virtual bool store(uint32_t from)
74
 
  {
75
 
    (void) from;
76
 
    return false;
77
 
  }
78
 
  virtual bool store(int64_t from)
79
 
  {
80
 
    (void) from;
81
 
    return false;
82
 
  }
83
 
  virtual bool store(uint64_t from)
84
 
  {
85
 
    (void) from;
86
 
    return false;
87
 
  }
88
 
  virtual bool store(double from, uint32_t decimals, String *buffer)
89
 
  {
90
 
    (void) from;
91
 
    (void) decimals;
92
 
    (void) buffer;
93
 
    return false;
94
 
  }
95
 
  virtual bool store(const DRIZZLE_TIME *from)
96
 
  {
97
 
    (void) from;
98
 
    return false;
99
 
  }
100
 
  virtual bool store(const char *from, size_t length)
101
 
  {
102
 
    (void) from;
103
 
    (void) length;
104
 
    return false;
105
 
  }
 
50
  virtual bool store(int32_t) { return false; }
 
51
  virtual bool store(uint32_t) { return false; }
 
52
  virtual bool store(int64_t) { return false; }
 
53
  virtual bool store(uint64_t) { return false; }
 
54
  virtual bool store(double, uint32_t, String*) { return false; }
 
55
  virtual bool store(const DRIZZLE_TIME*) { return false; }
 
56
  virtual bool store(const char*) { return false; }
 
57
  virtual bool store(const char*, size_t) { return false; }
106
58
  virtual bool haveMoreData(void) { return false; }
107
59
  virtual bool haveError(void) { return false; }
108
60
  virtual bool wasAborted(void) { return false; }