Changeset: 82b3b2fa0c2c for MonetDB URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=82b3b2fa0c2c Modified Files: sql/backends/monet5/iot/basket.c Branch: iot Log Message:
Create the directory first diffs (14 lines): diff --git a/sql/backends/monet5/iot/basket.c b/sql/backends/monet5/iot/basket.c --- a/sql/backends/monet5/iot/basket.c +++ b/sql/backends/monet5/iot/basket.c @@ -518,8 +518,9 @@ BSKTexportInternal(Client cntxt, int bsk (void)cntxt; // check access permission to directory first + (void) mkdir(dir,0755); if( access (dir , F_OK | R_OK)){ - throw(SQL, "iot.basket", "Could not access the basket directory %s. error %d",dir,errno); + throw(SQL, "iot.basket", "Could not access the target basket directory %s. error %d",dir,errno); } /* check for leftover files */ _______________________________________________ checkin-list mailing list checkin-list@monetdb.org https://www.monetdb.org/mailman/listinfo/checkin-list