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

Method next

src/jrd/SysFunction.cpp:3134–3162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3132 }
3133
3134 void next()
3135 {
3136 if (hasData())
3137 {
3138 impure->vlu_desc.clear();
3139
3140 if (!blobMode)
3141 {
3142 dsc result;
3143 result.makeText(outBuf.getCount(), ttype_binary, outBuf.begin());
3144 EVL_make_value(tdbb, &result, impure);
3145
3146 len = 0;
3147 completed = true;
3148 }
3149 else
3150 {
3151 newBlob->BLB_put_data(tdbb, outBuf.begin(), outBuf.getCount());
3152
3153 len = blob->BLB_get_data(tdbb, inBuf.begin(), inBuf.getCount(), false);
3154 if (!len)
3155 {
3156 closeBlobs();
3157 EVL_make_value(tdbb, &blobDesc, impure);
3158 completed = true;
3159 }
3160 }
3161 }
3162 }
3163
3164private:
3165 const FB_SIZE_T BLOB_STEP = 1024;

Callers 9

fetchMethod · 0.45
loadPluginMethod · 0.45
changeCryptStateMethod · 0.45
validateAttachmentMethod · 0.45
evlEncryptDecryptFunction · 0.45
initializeMethod · 0.45
searchMethod · 0.45
validatePasswordFunction · 0.45
load_pluginsMethod · 0.45

Calls 7

EVL_make_valueFunction · 0.85
makeTextMethod · 0.80
BLB_put_dataMethod · 0.80
BLB_get_dataMethod · 0.80
clearMethod · 0.45
getCountMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected