~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table.h

  • Committer: Andrew Hutchings
  • Date: 2011-01-23 21:32:31 UTC
  • mto: (2108.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 2109.
  • Revision ID: andrew@linuxjedi.co.uk-20110123213231-dp2r4enepa9k4g36
Convert all unit tests to boost::test
Add pandora support for boost::test
Remove pandora support for gtest

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
#include "drizzled/cursor.h"
34
34
#include "drizzled/lex_string.h"
35
35
#include "drizzled/table_list.h"
36
 
#include "drizzled/definition/table.h"
 
36
#include "drizzled/table/instance.h"
37
37
#include "drizzled/atomics.h"
38
38
#include "drizzled/query_id.h"
39
39
 
47
47
class COND_EQUAL;
48
48
class SecurityContext;
49
49
class TableList;
50
 
class Field_timestamp;
 
50
namespace field {
 
51
class Epoch;
 
52
}
51
53
class Field_blob;
52
54
 
53
55
extern uint64_t refresh_version;
158
160
  KeyInfo  *key_info; /**< data of keys in database */
159
161
  Field *next_number_field; /**< Set if next_number is activated. @TODO What the heck is the difference between this and the next member? */
160
162
  Field *found_next_number_field; /**< Points to the "next-number" field (autoincrement field) */
161
 
  Field_timestamp *timestamp_field; /**< Points to the auto-setting timestamp field, if any */
 
163
  field::Epoch *timestamp_field; /**< Points to the auto-setting timestamp field, if any */
162
164
 
163
165
  TableList *pos_in_table_list; /* Element referring to this table */
164
166
  Order *group;
280
282
    statement then the variable contains TIMESTAMP_NO_AUTO_SET (i.e. 0).
281
283
 
282
284
    Value of this variable is set for each statement in open_table() and
283
 
    if needed cleared later in statement processing code (see mysql_update()
 
285
    if needed cleared later in statement processing code (see update_query()
284
286
    as example).
285
287
  */
286
288
  timestamp_auto_set_type timestamp_field_type;
843
845
 
844
846
int rename_file_ext(const char * from,const char * to,const char * ext);
845
847
bool check_column_name(const char *name);
846
 
bool check_db_name(Session *session, SchemaIdentifier &schema);
 
848
bool check_db_name(Session *session, identifier::Schema &schema);
847
849
bool check_table_name(const char *name, uint32_t length);
848
850
 
849
851
} /* namespace drizzled */
850
852
 
851
 
#include "drizzled/table/instance.h"
 
853
#include "drizzled/table/singular.h"
852
854
#include "drizzled/table/concurrent.h"
853
855
 
854
856
#endif /* DRIZZLED_TABLE_H */