|
From: Duncan M. <dwm...@gm...> - 2007-08-26 20:06:13
|
Are there any good examples showing proper use of catching an error from the database driver? As I mentioned - my MinGW compiled program really blows up when the database doesn't exist - I am just looking for a basic example as to catching the error. Thanks! On 8/26/07, Duncan McQueen <dwm...@gm...> wrote: > Has OPenJade always been required for a compile? I get errors related > to it on my MinGW platform - is there a way to ignore it? > > On 7/13/07, Duncan McQueen <dwm...@gm...> wrote: > > I was able to successfully compile the MySQL driver under MinGW. > > > > All that is needed is an include of winsock.h in the dbd_mysql.c file > > at the top. > > > > I did it like this: > > > > #ifdef __MINGW32__ > > #include <winsock.h> > > #endif > > > > However, could a similar change be committed to the code? This will > > allow the MinGW platform to compile this driver. > > > > Thanks, > > > > Duncan McQueen > > > |