[Monetdb-developers] Inconsistent code in pftijah.mx?
Hoi, I have no idea what the below code snippets from pathfinder/modules/pftijah/pftijah.mx are supposed to do, but to me, they look (at least) "inconsistent". Maybe, an expert might want to look at them ... Stefan ======== PROC tj_delete_collection(str ftiName, bit doAdmLock) : void { [...] bat("tj_" + ftiName + "_fragments")@batloop() { ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ var fpfx := str(int($h)); ^^ bat("tj_" + ftiName + "_tid"+fpfx).persists(false); bat("tj_" + ftiName + "_size"+fpfx).persists(false); } [...] } ======== PROC _tj_collection_str(str ftiName) : BAT[void,bat] { [...] bat("tj_" + ftiName + "_fragments")@batloop() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ { tjCollBat.append("tj_" + ftiName + "_tid" + str(int($t))); ^^ tjCollBat.append("tj_" + ftiName + "_size"+ str(int($t))); ^^ } [...] ======== -- | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4312 |
participants (1)
-
Stefan Manegold