[Dbi-interbase-devel] table reservation
Status: Beta
Brought to you by:
edpratomo
From: Michael S. <sm...@ma...> - 2001-11-13 16:15:49
|
I've read in InterBase.pm, that "Currently, table reservation is not yet supported". However, in InterBase.xs I see: .............. else if (strEQ(tx_key, "-reserving")) { if (SvROK(ST(i + 1)) && SvTYPE( SvRV(ST(i + 1)) ) == SVt_PVAV) { av = (AV*)SvRV(ST(i + 1)); for (j = 0; j < av_len(av); j++) { sv = *av_fetch(av, j, FALSE); if (SvROK(sv) && SvTYPE(sv) == SVt_PVHV) { hv = (HV*)SvRV(sv); sv = *hv_fetch(hv, "for", 3, FALSE); if (strnEQ(SvPV(sv, PL_na), "shared", 6)) { *tpb++ = isc_tpb_shared; } if (strnEQ(SvPV(sv, PL_na), "protected", 9)) { *tpb++ = isc_tpb_protected; } sv = *hv_fetch(hv, "table", 5, FALSE); /* unfinished */ } .............. Is the coding of "Table Reservation" almost done ?! |