~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/sql_list.h

  • Committer: lbieber
  • Date: 2010-10-06 16:34:16 UTC
  • mfrom: (1816.1.3 build)
  • Revision ID: lbieber@orisndriz08-20101006163416-ea0sl59qgpglk21y
Merge Monty - Change the requirement from either libinnodb to libhaildb. Also, tied it to version 2.2
Merge Andrew - fix bug 650935: remove --compress from all clients
Merge Andrew - fix bug 653471: Add -A to drizzle client
Merge Travis - 621861 = To change C structs to C++ classes in Drizzle

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
3
 *
4
 
 *  Copyright (C) 2008 Sun Microsystems, Inc.
 
4
 *  Copyright (C) 2008 Sun Microsystems
5
5
 *
6
6
 *  This program is free software; you can redistribute it and/or modify
7
7
 *  it under the terms of the GNU General Public License as published by
26
26
#include <utility>
27
27
#include <algorithm>
28
28
#include "drizzled/memory/sql_alloc.h"
29
 
#include "drizzled/visibility.h"
30
 
 
31
29
 
32
30
namespace drizzled
33
31
{
105
103
};
106
104
 
107
105
 
108
 
extern DRIZZLED_API list_node end_of_list;
 
106
extern list_node end_of_list;
109
107
 
110
108
class base_list :public memory::SqlAlloc
111
109
{
433
431
  inline T *replace(T *)   { return (T*) 0; }
434
432
  inline T *replace(List<T> &) { return (T*) 0; }
435
433
  inline void remove(void)  { }
436
 
  inline void after(T *)   { }
 
434
  inline void after(T *a)   { }
437
435
  inline T** ref(void)      { return (T**) 0; }
438
436
 
439
437
public: