There will be no PDO. P# will contain DBAL

Šī revīzija ir iekļauta:
Rafal Kupiec 2018-07-12 18:21:14 +02:00
vecāks 0552e388e7
revīzija 5d1e75d72c
Parakstījis: belliash
GPG atslēgas ID: 4E829243E0CFE6B4
2 mainīti faili ar 2 papildinājumiem un 2 dzēšanām

Parādīt failu

@ -1269,7 +1269,7 @@ struct ph7_vm {
SyHash hHostFunction; /* Host-application installable functions */
SyHash hFunction; /* Compiled functions */
SyHash hSuper; /* Superglobals hashtable */
SyHash hPDO; /* PDO installed drivers */
SyHash hDBAL; /* DBAL installed drivers */
SyBlob sConsumer; /* Default VM consumer [i.e Redirect all VM output to this blob] */
SyBlob sWorker; /* General purpose working buffer */
SyBlob sArgv; /* $argv[] collector [refer to the [getopt()] implementation for more information] */

2
vm.c
Parādīt failu

@ -1232,7 +1232,7 @@ PH7_PRIVATE sxi32 PH7_VmInit(
SyHashInit(&pVm->hClass, &pVm->sAllocator, SyStrHash, SyStrnmicmp);
SyHashInit(&pVm->hConstant, &pVm->sAllocator, 0, 0);
SyHashInit(&pVm->hSuper, &pVm->sAllocator, 0, 0);
SyHashInit(&pVm->hPDO, &pVm->sAllocator, 0, 0);
SyHashInit(&pVm->hDBAL, &pVm->sAllocator, 0, 0);
SySetInit(&pVm->aFreeObj, &pVm->sAllocator, sizeof(VmSlot));
SySetInit(&pVm->aSelf, &pVm->sAllocator, sizeof(ph7_class *));
SySetInit(&pVm->aShutdown, &pVm->sAllocator, sizeof(VmShutdownCB));