revOpenDatabase Problem

Mike Bonner bonnmike at gmail.com
Mon Dec 26 16:42:42 EST 2011


My guess is that it doesn't check for a valid schema/format but that it is
only establishing a file handle which is successful. Then it should fail
with an error on actual attempt to use.

On Mon, Dec 26, 2011 at 2:33 PM, Pete <pete at mollysrevenge.com> wrote:

> Using revOpenDatabase to open an sqlite database using a file that is not
> an sqlite database return an integer as if the database was successfully
> opened.  Any subsequent db accesses fail of course but I wonder why
> revOpenDatabase doesn't return an error?
>
>
> --
> Pete
> Molly's Revenge <http://www.mollysrevenge.com>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the Use-livecode mailing list