MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / getScale

Method getScale

src/yvalve/why.cpp:376–393  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

374}
375
376int 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
395unsigned SQLDAMetadata::getCharSet(CheckStatusWrapper* status, unsigned index)
396{

Callers 2

buildBlrMethod · 0.45
sqldaDescribeParametersFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected