|
11 | 11 |
|
12 | 12 | typedef class TBLDEF *PTBLDEF;
|
13 | 13 | typedef class TDBTBL *PTDBTBL;
|
14 |
| -typedef class TDBTBM *PTDBTBM; |
15 | 14 | typedef class MYSQLC *PMYC;
|
16 | 15 |
|
17 |
| -/***********************************************************************/ |
18 |
| -/* Defines the structures used for distributed TBM tables. */ |
19 |
| -/***********************************************************************/ |
20 |
| -typedef struct _TBMtable *PTBMT; |
21 |
| - |
22 |
| -typedef struct _TBMtable { |
23 |
| - PTBMT Next; // Points to next data table struct |
24 |
| - PTABLE Tap; // Points to the sub table |
25 |
| - PGLOBAL G; // Needed in thread routine |
26 |
| - bool Complete; // TRUE when all results are read |
27 |
| - bool Ready; // TRUE when results are there |
28 |
| - int Rows; // Total number of rows read so far |
29 |
| - int ProgCur; // Current pos |
30 |
| - int ProgMax; // Max pos |
31 |
| - int Rc; // Return code |
32 |
| - THD *Thd; |
33 |
| - pthread_attr_t attr; // ??? |
34 |
| - pthread_t Tid; // CheckOpen thread ID |
35 |
| - } TBMT; |
36 |
| - |
37 | 16 | /***********************************************************************/
|
38 | 17 | /* TBL table. */
|
39 | 18 | /***********************************************************************/
|
@@ -123,7 +102,33 @@ class TBTBLK : public TIDBLK {
|
123 | 102 |
|
124 | 103 | protected:
|
125 | 104 | // Must not have additional members
|
126 |
| - }; // end of class TBTBLK |
| 105 | +}; // end of class TBTBLK |
| 106 | + |
| 107 | +#if defined(DEVELOPMENT) |
| 108 | +/***********************************************************************/ |
| 109 | +/* This table type is buggy and removed until a fix is found. */ |
| 110 | +/***********************************************************************/ |
| 111 | +typedef class TDBTBM *PTDBTBM; |
| 112 | + |
| 113 | +/***********************************************************************/ |
| 114 | +/* Defines the structures used for distributed TBM tables. */ |
| 115 | +/***********************************************************************/ |
| 116 | +typedef struct _TBMtable *PTBMT; |
| 117 | + |
| 118 | +typedef struct _TBMtable { |
| 119 | + PTBMT Next; // Points to next data table struct |
| 120 | + PTABLE Tap; // Points to the sub table |
| 121 | + PGLOBAL G; // Needed in thread routine |
| 122 | + bool Complete; // TRUE when all results are read |
| 123 | + bool Ready; // TRUE when results are there |
| 124 | + int Rows; // Total number of rows read so far |
| 125 | + int ProgCur; // Current pos |
| 126 | + int ProgMax; // Max pos |
| 127 | + int Rc; // Return code |
| 128 | + THD *Thd; |
| 129 | + pthread_attr_t attr; // ??? |
| 130 | + pthread_t Tid; // CheckOpen thread ID |
| 131 | +} TBMT; |
127 | 132 |
|
128 | 133 | /***********************************************************************/
|
129 | 134 | /* This is the TBM Access Method class declaration. */
|
@@ -160,3 +165,4 @@ class DllExport TDBTBM : public TDBTBL {
|
160 | 165 | }; // end of class TDBTBM
|
161 | 166 |
|
162 | 167 | pthread_handler_t ThreadOpen(void *p);
|
| 168 | +#endif // DEVELOPMENT |
0 commit comments