~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/time_functions.cc

* Renames Ha_trx_info to drizzled::ResourceContext
* Renames Sesssion_TRANS to drizzled::TransactionContext
* Replaces homegrown linked-lists of Ha_trx_info pointers
  with vector<drizzled::ResourceContext> operations
* Renames Session::getEngineInfo() to Session::getResourceContext()

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
#include "drizzled/session.h"
28
28
#include "drizzled/time_functions.h"
29
29
 
30
 
namespace drizzled
31
 
{
32
 
 
33
30
/* Some functions to calculate dates */
34
31
 
 
32
#ifndef TESTTIME
35
33
 
36
34
int calc_weekday(long daynr,bool sunday_first_day_of_week)
37
35
{
284
282
  return neg;
285
283
}
286
284
 
287
 
} /* namespace drizzled */
 
285
 
 
286
#endif