Commit dd72f03f authored by Olivier Bertrand's avatar Olivier Bertrand

- Fix a bug on DBF file name such as 'x/y.dbf' leading to a crash on Insert.

modified:
  storage/connect/filamdbf.cpp
parent 17fb343a
...@@ -487,7 +487,8 @@ bool DBFFAM::OpenTableFile(PGLOBAL g) ...@@ -487,7 +487,8 @@ bool DBFFAM::OpenTableFile(PGLOBAL g)
#ifdef DEBTRACE #ifdef DEBTRACE
htrc("%s\n", g->Message); htrc("%s\n", g->Message);
#endif #endif
return (errno == ENOENT) ? PushWarning(g, Tdbp) : true; return (mode == MODE_READ && errno == ENOENT)
? PushWarning(g, Tdbp) : true;
} // endif Stream } // endif Stream
#ifdef DEBTRACE #ifdef DEBTRACE
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment