Subject: | DBD-XBase failing to check if file is writable and incorrectly reporting success |
Hi,
I am using DBD-XBase to talk to some FoxPro database files.
I just noticed that when I do an update on a readonly file, $sth->execute() reports 1 and there is no db error, everything not only fails silently but while reporting success.
Can you throw an error if the file cannot be written to so that rv can be checked and the problem spotted. I just wasted 30 mins wondering why the values in the DB weren't being updated before I thought to check the file permissions.
Thanks.
A.