/ MYSQLCOL public constructor. */ /
| 1230 | /* MYSQLCOL public constructor. */ |
| 1231 | /***********************************************************************/ |
| 1232 | MYSQLCOL::MYSQLCOL(PCOLDEF cdp, PTDB tdbp, PCOL cprec, int i, PCSZ am) |
| 1233 | : COLBLK(cdp, tdbp, i) |
| 1234 | { |
| 1235 | if (cprec) { |
| 1236 | Next = cprec->GetNext(); |
| 1237 | cprec->SetNext(this); |
| 1238 | } else { |
| 1239 | Next = tdbp->GetColumns(); |
| 1240 | tdbp->SetColumns(this); |
| 1241 | } // endif cprec |
| 1242 | |
| 1243 | // Set additional MySQL access method information for column. |
| 1244 | Precision = Long = cdp->GetLong(); |
| 1245 | Bind = NULL; |
| 1246 | To_Val = NULL; |
| 1247 | Slen = 0; |
| 1248 | Rank = -1; // Not known yet |
| 1249 | |
| 1250 | if (trace(1)) |
| 1251 | htrc(" making new %sCOL C%d %s at %p\n", am, Index, Name, this); |
| 1252 | |
| 1253 | } // end of MYSQLCOL constructor |
| 1254 | |
| 1255 | /***********************************************************************/ |
| 1256 | /* MYSQLCOL public constructor. */ |
nothing calls this directly
no test coverage detected