~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/pbms/src/engine_ms.h

  • Committer: Lee Bieber
  • Date: 2010-10-22 16:47:38 UTC
  • mfrom: (1841.1.7 drizzle_pbms)
  • Revision ID: kalebral@gmail.com-20101022164738-vv8w22b8towpb307
Merge Barry - fix bug 657830: PBMS build failure in GCC 4.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
 
33
33
#include "defs_ms.h"
34
34
 
35
 
#include "cslib/CSConfig.h"
36
 
#include <inttypes.h>
37
 
 
38
 
#include "cslib/CSGlobal.h"
39
 
#include "cslib/CSSocket.h"
40
 
#include "cslib/CSStrUtil.h"
41
 
#include "cslib/CSHTTPStream.h"
42
 
 
43
35
#include "pbms.h"
44
36
class MSOpenTable;
45
37
 
85
77
        static bool couldBeURL(const char *url, size_t length);
86
78
        
87
79
        private:
 
80
        static bool try_createBlob(CSThread *self, const char *db_name, const char *tab_name, char *blob, size_t blob_len, PBMSBlobURLPtr blob_url);
 
81
        static bool try_referenceBlob(CSThread *self, const char *db_name, const char *tab_name, PBMSBlobURLPtr ret_blob_url, char *blob_url, uint16_t col_index);
 
82
        static bool try_dereferenceBlob(CSThread *self, const char *db_name, const char *tab_name, char *blob_url);
 
83
        static bool try_dropDatabase(CSThread *self, const char *db_name);
 
84
        static bool try_dropTable(CSThread *self, const char *db_name, const char *tab_name);
 
85
        static bool try_renameTable(CSThread *self, const char *from_db_name, const char *from_table, const char *to_db_name, const char *to_table);
 
86
        
88
87
        static MSOpenTable *openTable(const char *db_name, const char *tab_name, bool create);
89
88
        static bool renameTable(const char *db_name, const char *from_table, const char *to_db_name, const char *to_table);
90
89
        static void completeRenameTable(struct UnDoInfo *info, bool ok);