| 374 | } |
| 375 | |
| 376 | int SQLDAMetadata::getScale(CheckStatusWrapper* status, unsigned index) |
| 377 | { |
| 378 | if (offsets) |
| 379 | { |
| 380 | fb_assert(count > index); |
| 381 | return offsets[index].scale; |
| 382 | } |
| 383 | if (sqlda) |
| 384 | { |
| 385 | fb_assert(sqlda->sqld > (int) index); |
| 386 | if ((sqlda->sqlvar[index].sqltype & ~1) == SQL_BLOB) |
| 387 | return 0; |
| 388 | return sqlda->sqlvar[index].sqlscale; |
| 389 | } |
| 390 | |
| 391 | fb_assert(false); |
| 392 | return 0; |
| 393 | } |
| 394 | |
| 395 | unsigned SQLDAMetadata::getCharSet(CheckStatusWrapper* status, unsigned index) |
| 396 | { |
no outgoing calls
no test coverage detected