~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/archive/concurrency_test.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:
24
24
#include "config.h"
25
25
 
26
26
#include "azio.h"
27
 
#include "drizzled/option.h"
 
27
#include "drizzled/my_getopt.h"
28
28
#include <stdio.h>
29
29
#include <stdlib.h>
30
30
#include <sys/types.h>
102
102
{
103
103
 
104
104
  unsigned int method;
105
 
  drizzled::internal::my_init();
 
105
  my_init();
106
106
 
107
107
  MY_INIT(argv[0]);
108
108
 
192
192
    if (pthread_create(&mainthread, &attr, timer_thread,
193
193
                       (void *)&opt_timer_length) != 0)
194
194
    {
195
 
      fprintf(stderr,"%s: Could not create timer thread\n", drizzled::internal::my_progname);
 
195
      fprintf(stderr,"%s: Could not create timer thread\n", my_progname);
196
196
      exit(1);
197
197
    }
198
198
  }