~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/pbxt/src/database_xt.h

  • Committer: Patrick Crews
  • Date: 2010-09-14 20:21:03 UTC
  • mto: (1771.1.1 pcrews)
  • mto: This revision was merged to the branch mainline in revision 1772.
  • Revision ID: gleebix@gmail.com-20100914202103-1db2n0bshzafep19
Moved transaction_log tests into updated non-publisher-based tree

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Copyright (C) 2005 PrimeBase Technologies GmbH
 
1
/* Copyright (c) 2005 PrimeBase Technologies GmbH
2
2
 *
3
3
 * PrimeBase XT
4
4
 *
14
14
 *
15
15
 * You should have received a copy of the GNU General Public License
16
16
 * along with this program; if not, write to the Free Software
17
 
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
 
17
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18
18
 *
19
19
 * 2005-01-15   Paul McCullagh
20
20
 *
131
131
        XTSortedListPtr                 db_table_by_id;
132
132
        XTSortedListPtr                 db_table_paths;                                                 /* A list of table paths used by this database. */
133
133
        xtBool                                  db_multi_path;
134
 
        XTSortedListPtr                 db_error_list;                                                  /* A list of errors already reported. */
135
134
 
136
135
        /* The open table pool: */
137
136
        XTAllTablePoolsRec              db_ot_pool;
233
232
#define XT_FOR_POOL                                     5
234
233
 
235
234
void                            xt_create_database(XTThreadPtr th, char *path);
236
 
XTDatabaseHPtr          xt_get_database(XTThreadPtr self, const char *path, xtBool multi_path);
 
235
XTDatabaseHPtr          xt_get_database(XTThreadPtr self, char *path, xtBool multi_path);
237
236
XTDatabaseHPtr          xt_get_database_by_id(XTThreadPtr self, xtDatabaseID db_id);
238
237
void                            xt_drop_database(XTThreadPtr self, XTDatabaseHPtr db);
239
238
 
246
245
 
247
246
void                            xt_use_database(XTThreadPtr self, XTDatabaseHPtr db, int what_for);
248
247
void                            xt_unuse_database(XTThreadPtr self, XTThreadPtr other_thr);
249
 
void                            xt_open_database(XTThreadPtr self, const char *path, xtBool multi_path);
 
248
void                            xt_open_database(XTThreadPtr self, char *path, xtBool multi_path);
250
249
 
251
 
void                            xt_lock_installation(XTThreadPtr self, const char *installation_path);
252
 
void                            xt_unlock_installation(XTThreadPtr self, const char *installation_path);
 
250
void                            xt_lock_installation(XTThreadPtr self, char *installation_path);
 
251
void                            xt_unlock_installation(XTThreadPtr self, char *installation_path);
253
252
void                            xt_crash_me(void);
254
253
 
255
254
void                            xt_init_databases(XTThreadPtr self);