sqlrelay-discussion Mailing List for SQL Relay (Page 55)
Brought to you by:
mused
You can subscribe to this list here.
2005 |
Jan
|
Feb
(20) |
Mar
(27) |
Apr
(17) |
May
(32) |
Jun
(45) |
Jul
(49) |
Aug
(68) |
Sep
(44) |
Oct
(29) |
Nov
(64) |
Dec
(25) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(61) |
Feb
(22) |
Mar
(25) |
Apr
(31) |
May
(18) |
Jun
(28) |
Jul
(19) |
Aug
(16) |
Sep
(8) |
Oct
(17) |
Nov
(32) |
Dec
(4) |
2007 |
Jan
(20) |
Feb
(25) |
Mar
(5) |
Apr
(12) |
May
(11) |
Jun
(18) |
Jul
(16) |
Aug
(22) |
Sep
(37) |
Oct
(20) |
Nov
(11) |
Dec
(2) |
2008 |
Jan
(11) |
Feb
(33) |
Mar
(12) |
Apr
(18) |
May
(22) |
Jun
(31) |
Jul
(23) |
Aug
(6) |
Sep
|
Oct
(10) |
Nov
(22) |
Dec
|
2009 |
Jan
(12) |
Feb
(8) |
Mar
(11) |
Apr
(20) |
May
(18) |
Jun
(7) |
Jul
(27) |
Aug
(2) |
Sep
(10) |
Oct
(5) |
Nov
(2) |
Dec
(1) |
2010 |
Jan
(11) |
Feb
(18) |
Mar
(10) |
Apr
(28) |
May
(28) |
Jun
|
Jul
(27) |
Aug
(9) |
Sep
(21) |
Oct
(2) |
Nov
(2) |
Dec
(11) |
2011 |
Jan
|
Feb
(2) |
Mar
(4) |
Apr
(2) |
May
(2) |
Jun
(44) |
Jul
(9) |
Aug
(2) |
Sep
(12) |
Oct
(7) |
Nov
(11) |
Dec
(7) |
2012 |
Jan
(5) |
Feb
|
Mar
(9) |
Apr
(9) |
May
(12) |
Jun
|
Jul
(13) |
Aug
(3) |
Sep
(3) |
Oct
(1) |
Nov
(1) |
Dec
(10) |
2013 |
Jan
(21) |
Feb
(3) |
Mar
(4) |
Apr
|
May
(3) |
Jun
(2) |
Jul
(3) |
Aug
(3) |
Sep
(3) |
Oct
|
Nov
|
Dec
(4) |
2014 |
Jan
(7) |
Feb
|
Mar
(1) |
Apr
|
May
(2) |
Jun
|
Jul
(4) |
Aug
(2) |
Sep
|
Oct
(1) |
Nov
|
Dec
|
2016 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2021 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2022 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Jean L. <jla...@bi...> - 2005-08-28 23:32:28
|
Oh yeah, I can make as many queries as I want using sqlrsh, so it seems that the sqlrelay machinery is itself OK. -- Jean Jean Lagarde wrote: > Hi all, > > sqlrelay-0.35, Zope 2.7, Python 2.3, FreeBSD 5.0, FreeTDS > > I've got everything working up to this point: I can execute test > queries, or run ZSQL methods, but only up to the "connections" > parameter in the sqlrelay.conf file. For example, if connections="3", > I can call the same ZSQL method three times, and the fourth time, Zope > hangs until I run sqlr-stop and restart. Once I stop sqlrelay, the > query that was hanging Zope returns with "failed to get cursor id". I > went as far as checking that _finish() in db.py does seem to > successfully call close() in PySQLRDB, but somehow I guess the > previous connections/cursors aren't freed? > > Any ideas? > > Cheers, > > Jean > > > |
From: Jean L. <jla...@bi...> - 2005-08-28 22:56:55
|
Hi all, sqlrelay-0.35, Zope 2.7, Python 2.3, FreeBSD 5.0, FreeTDS I've got everything working up to this point: I can execute test queries, or run ZSQL methods, but only up to the "connections" parameter in the sqlrelay.conf file. For example, if connections="3", I can call the same ZSQL method three times, and the fourth time, Zope hangs until I run sqlr-stop and restart. Once I stop sqlrelay, the query that was hanging Zope returns with "failed to get cursor id". I went as far as checking that _finish() in db.py does seem to successfully call close() in PySQLRDB, but somehow I guess the previous connections/cursors aren't freed? Any ideas? Cheers, Jean |
From: Dmitry S. <mi...@ca...> - 2005-08-27 13:59:35
|
On Fri, Aug 26, 2005 at 12:37:16PM -0400, Firstworks/4access wrote: > Ahhh, so on solaris, strchr/strstr/strrchr all return const char * > rather than char *. That's actually very cool. It's always bugged > me that glibc's versions of those functions return char * and I've been > looking for an excuse to make my findFirst/findLast methods return a > const char *. Now I have one :) > > I guess I need versions of them that take a char * first parameter > though :). > > I'll fix that in the next prerelease. OK, let me know when it is available, I'll test if it compiles. Also note that my patch for include/rudiments/charstring.h I submitted earlier still applies for rudiments-0.29... > > Dave > > On Fri, 2005-08-26 at 19:23 +0400, Dmitry Sivachenko wrote: > > On Fri, Aug 26, 2005 at 11:02:33AM -0400, David Muse wrote: > > > Yes, the http://www.firstworks.com/sqlrelay-0.37pre2.tar.gz tarball > > > contains both rudiments and sqlrelay and both contain > > > sun-compiler-specific updates. > > > > Well, I see. > > > > Now I get: > > > > CC -pipe -D_REENTRANT -D_THREAD_SAFE -D__EXTENSIONS__ -I../ -I../include -c signalclasses.C -o signalclasses.o >/dev/null 2>&1 > > /bin/sh ../libtool --mode=compile CC -pipe -D_REENTRANT -D_THREAD_SAFE -D__EXTENSIONS__ -I../ -I../include -c charstring.C -o charstring.lo > > CC -pipe -D_REENTRANT -D_THREAD_SAFE -D__EXTENSIONS__ -I../ -I../include -c charstring.C -KPIC -DPIC -o .libs/charstring.o > > CC: Warning: Option -pipe passed to ld, if ld is invoked, ignored otherwise > > "charstring.C", line 740: Error: Cannot return const char* from a function that should return char*. > > "charstring.C", line 744: Error: Cannot return const char* from a function that should return char*. > > "charstring.C", line 748: Error: Cannot return const char* from a function that should return char*. > > 3 Error(s) detected. > > make[1]: *** [charstring.lo] Error 1 > > make[1]: Leaving directory `/tmp/rudiments-0.29/src' > > make: *** [all] Error 2 > > > > > > > > I use Sun Studio 10. > > > > > > > > > > Dave > > > > > > On Fri, 2005-08-26 at 18:30 +0400, Dmitry Sivachenko wrote: > > > > Please note that I submitted a patch for *rudiments*, not for sqlrelay. > > > > > > > > > > > > > > > > On Fri, Aug 26, 2005 at 10:24:49AM -0400, Firstworks/4access wrote: > > > > > Take a look at http://www.firstworks.com/sqlrelay-0.37pre2.tar.gz > > > > > > > > > > I recently made a bunch of changes to support sun compilers including a > > > > > check to see if the compiler supports -Wall at configure-time. I > > > > > believe it also includes these fixes. > > > > > > > > > > I'm still working on some errors involving different compatibility > > > > > modes, but hopefully they'll be fixed soon. > > > > > > > > > > David Muse > > > > > dav...@fi... > > > > > > > > > > > > > > > On Fri, 2005-08-26 at 11:40 +0400, Dmitry Sivachenko wrote: > > > > > > Hello! > > > > > > > > > > > > I propose the following patch to rudiments (made against 0.28.2). > > > > > > > > > > > > Patch to configure.in is to eliminate mandatory '-Wall' from CPPFLAGS > > > > > > since there are compilers (say Sun Studio) which do not recongnize > > > > > > this flag. One can always add this switch to their CPPFLAGS if desired. > > > > > > > > > > > > Patch to charstring.h fixes the inconsistency between declarations in > > > > > > charstring.h and src/charstring.C. This is actually a bug which gcc hides, > > > > > > I suppose. > > > > > > > > > > > > Thanks! > > > > > > > > > > > > > > > > > > --- include/rudiments/charstring.h.orig Чтв Янв 27 06:35:07 2005 > > > > > > +++ include/rudiments/charstring.h Птн Авг 26 11:34:38 2005 > > > > > > @@ -119,7 +119,7 @@ > > > > > > const char *needle); > > > > > > // Returns true if "haystack" contains "needle" or > > > > > > // false otherwise. > > > > > > - static bool contains(const char *haystack, char needle); > > > > > > + static bool contains(const char *haystack, const char needle); > > > > > > // Returns true if "haystack" contains "needle" or > > > > > > // false otherwise. > > > > > > static char *findFirst(const char *haystack, > > > > > > @@ -126,7 +126,7 @@ > > > > > > const char *needle); > > > > > > // Returns a pointer to the first occurrance of "needle" > > > > > > // in "haystack" or NULL if not found. > > > > > > - static char *findFirst(const char *haystack, char needle); > > > > > > + static char *findFirst(const char *haystack, const char needle); > > > > > > // Returns a pointer to the first occurrance of "needle" > > > > > > // in "haystack" or NULL if not found. > > > > > > static char *findLast(const char *haystack, > > > > > > @@ -133,7 +133,7 @@ > > > > > > const char *needle); > > > > > > // Returns a pointer to the last occurrance of "needle" > > > > > > // in "haystack" or NULL if not found. > > > > > > - static char *findLast(const char *haystack, char needle); > > > > > > + static char *findLast(const char *haystack, const char needle); > > > > > > // Returns a pointer to the last occurrance of "needle" > > > > > > // in "haystack" or NULL if not found. > > > > > > > > > > > > --- configure.in.orig Чтв Апр 21 18:42:05 2005 > > > > > > +++ configure.in Птн Авг 26 11:31:13 2005 > > > > > > @@ -288,7 +288,7 @@ > > > > > > INCLUDE_ERROR="1") > > > > > > > > > > > > > > > > > > -CPPFLAGS="-Wall -D_REENTRANT $CPPFLAGS" > > > > > > +CPPFLAGS="-D_REENTRANT $CPPFLAGS" > > > > > > CXXFLAGS="$SMALLCODE $CXXFLAGS" > > > > > > > > > > > > AC_SUBST(CPPFLAGS) > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > > > > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > > > > > > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > > > > > > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > > > > > > _______________________________________________ > > > > > > Sqlrelay-discussion mailing list > > > > > > Sql...@li... > > > > > > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > > > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > > > > > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > > > > > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > > > > > _______________________________________________ > > > > > Sqlrelay-discussion mailing list > > > > > Sql...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > > > > > > > > > > > > ------------------------------------------------------- > > > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > > > > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > > > > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > > > > _______________________________________________ > > > > Sqlrelay-discussion mailing list > > > > Sql...@li... > > > > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > > > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > > > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > > > _______________________________________________ > > > Sqlrelay-discussion mailing list > > > Sql...@li... > > > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > > > > > > ------------------------------------------------------- > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > > _______________________________________________ > > Sqlrelay-discussion mailing list > > Sql...@li... > > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Sqlrelay-discussion mailing list > Sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion |
From: Firstworks/4access <dav...@fi...> - 2005-08-26 16:37:19
|
Ahhh, so on solaris, strchr/strstr/strrchr all return const char * rather than char *. That's actually very cool. It's always bugged me that glibc's versions of those functions return char * and I've been looking for an excuse to make my findFirst/findLast methods return a const char *. Now I have one :) I guess I need versions of them that take a char * first parameter though :). I'll fix that in the next prerelease. Dave On Fri, 2005-08-26 at 19:23 +0400, Dmitry Sivachenko wrote: > On Fri, Aug 26, 2005 at 11:02:33AM -0400, David Muse wrote: > > Yes, the http://www.firstworks.com/sqlrelay-0.37pre2.tar.gz tarball > > contains both rudiments and sqlrelay and both contain > > sun-compiler-specific updates. >=20 > Well, I see. >=20 > Now I get: >=20 > CC -pipe -D_REENTRANT -D_THREAD_SAFE -D__EXTENSIONS__ -I../ -I../inclu= de -c signalclasses.C -o signalclasses.o >/dev/null 2>&1 > /bin/sh ../libtool --mode=3Dcompile CC -pipe -D_REENTRANT -D_THREAD_SA= FE -D__EXTENSIONS__ -I../ -I../include -c charstring.C -o charstring.= lo > CC -pipe -D_REENTRANT -D_THREAD_SAFE -D__EXTENSIONS__ -I../ -I../inclu= de -c charstring.C -KPIC -DPIC -o .libs/charstring.o > CC: Warning: Option -pipe passed to ld, if ld is invoked, ignored other= wise > "charstring.C", line 740: Error: Cannot return const char* from a funct= ion that should return char*. > "charstring.C", line 744: Error: Cannot return const char* from a funct= ion that should return char*. > "charstring.C", line 748: Error: Cannot return const char* from a funct= ion that should return char*. > 3 Error(s) detected. > make[1]: *** [charstring.lo] Error 1 > make[1]: Leaving directory `/tmp/rudiments-0.29/src' > make: *** [all] Error 2 >=20 >=20 >=20 > I use Sun Studio 10. >=20 >=20 > >=20 > > Dave > >=20 > > On Fri, 2005-08-26 at 18:30 +0400, Dmitry Sivachenko wrote: > > > Please note that I submitted a patch for *rudiments*, not for sqlre= lay. > > >=20 > > >=20 > > >=20 > > > On Fri, Aug 26, 2005 at 10:24:49AM -0400, Firstworks/4access wrote: > > > > Take a look at http://www.firstworks.com/sqlrelay-0.37pre2.tar.gz > > > >=20 > > > > I recently made a bunch of changes to support sun compilers inclu= ding a > > > > check to see if the compiler supports -Wall at configure-time. I > > > > believe it also includes these fixes. > > > >=20 > > > > I'm still working on some errors involving different compatibilit= y > > > > modes, but hopefully they'll be fixed soon. > > > >=20 > > > > David Muse > > > > dav...@fi... > > > >=20 > > > >=20 > > > > On Fri, 2005-08-26 at 11:40 +0400, Dmitry Sivachenko wrote: > > > > > Hello! > > > > >=20 > > > > > I propose the following patch to rudiments (made against 0.28.2= ). > > > > >=20 > > > > > Patch to configure.in is to eliminate mandatory '-Wall' from CP= PFLAGS > > > > > since there are compilers (say Sun Studio) which do not recongn= ize > > > > > this flag. One can always add this switch to their CPPFLAGS if= desired. > > > > >=20 > > > > > Patch to charstring.h fixes the inconsistency between declarati= ons in > > > > > charstring.h and src/charstring.C. This is actually a bug which= gcc hides, > > > > > I suppose. > > > > >=20 > > > > > Thanks! > > > > >=20 > > > > >=20 > > > > > --- include/rudiments/charstring.h.orig =D0=A7=D1=82=D0=B2 =D0=AF= =D0=BD=D0=B2 27 06:35:07 2005 > > > > > +++ include/rudiments/charstring.h =D0=9F=D1=82=D0=BD =D0=90=D0= =B2=D0=B3 26 11:34:38 2005 > > > > > @@ -119,7 +119,7 @@ > > > > > const char *needle); > > > > > // Returns true if "haystack" contains "needle" or > > > > > // false otherwise. > > > > > - static bool contains(const char *haystack, char needle); > > > > > + static bool contains(const char *haystack, const char needle= ); > > > > > // Returns true if "haystack" contains "needle" or > > > > > // false otherwise. > > > > > static char *findFirst(const char *haystack, > > > > > @@ -126,7 +126,7 @@ > > > > > const char *needle); > > > > > // Returns a pointer to the first occurrance of "needle" > > > > > // in "haystack" or NULL if not found. > > > > > - static char *findFirst(const char *haystack, char needle); > > > > > + static char *findFirst(const char *haystack, const char need= le); > > > > > // Returns a pointer to the first occurrance of "needle" > > > > > // in "haystack" or NULL if not found. > > > > > static char *findLast(const char *haystack, > > > > > @@ -133,7 +133,7 @@ > > > > > const char *needle); > > > > > // Returns a pointer to the last occurrance of "needle" > > > > > // in "haystack" or NULL if not found. > > > > > - static char *findLast(const char *haystack, char needle); > > > > > + static char *findLast(const char *haystack, const char needl= e); > > > > > // Returns a pointer to the last occurrance of "needle" > > > > > // in "haystack" or NULL if not found. > > > > > =20 > > > > > --- configure.in.orig =D0=A7=D1=82=D0=B2 =D0=90=D0=BF=D1=80 21 = 18:42:05 2005 > > > > > +++ configure.in =D0=9F=D1=82=D0=BD =D0=90=D0=B2=D0=B3 26 11:31= :13 2005 > > > > > @@ -288,7 +288,7 @@ > > > > > INCLUDE_ERROR=3D"1") > > > > > =20 > > > > >=20 > > > > > -CPPFLAGS=3D"-Wall -D_REENTRANT $CPPFLAGS" > > > > > +CPPFLAGS=3D"-D_REENTRANT $CPPFLAGS" > > > > > CXXFLAGS=3D"$SMALLCODE $CXXFLAGS" > > > > > =20 > > > > > AC_SUBST(CPPFLAGS) > > > > >=20 > > > > >=20 > > > > > ------------------------------------------------------- > > > > > SF.Net email is Sponsored by the Better Software Conference & E= XPO > > > > > September 19-22, 2005 * San Francisco, CA * Development Lifecyc= le Practices > > > > > Agile & Plan-Driven Development * Managing Projects & Teams * T= esting & QA > > > > > Security * Process Improvement & Measurement * http://www.sqe.c= om/bsce5sf > > > > > _______________________________________________ > > > > > Sqlrelay-discussion mailing list > > > > > Sql...@li... > > > > > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussio= n > > > > >=20 > > > >=20 > > > >=20 > > > >=20 > > > > ------------------------------------------------------- > > > > SF.Net email is Sponsored by the Better Software Conference & EXP= O > > > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle= Practices > > > > Agile & Plan-Driven Development * Managing Projects & Teams * Tes= ting & QA > > > > Security * Process Improvement & Measurement * http://www.sqe.com= /bsce5sf > > > > _______________________________________________ > > > > Sqlrelay-discussion mailing list > > > > Sql...@li... > > > > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > > >=20 > > >=20 > > > ------------------------------------------------------- > > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle P= ractices > > > Agile & Plan-Driven Development * Managing Projects & Teams * Testi= ng & QA > > > Security * Process Improvement & Measurement * http://www.sqe.com/b= sce5sf > > > _______________________________________________ > > > Sqlrelay-discussion mailing list > > > Sql...@li... > > > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > > >=20 > >=20 > >=20 > >=20 > > ------------------------------------------------------- > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Pra= ctices > > Agile & Plan-Driven Development * Managing Projects & Teams * Testing= & QA > > Security * Process Improvement & Measurement * http://www.sqe.com/bsc= e5sf > > _______________________________________________ > > Sqlrelay-discussion mailing list > > Sql...@li... > > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion >=20 >=20 > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Pract= ices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing &= QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5= sf > _______________________________________________ > Sqlrelay-discussion mailing list > Sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion >=20 |
From: Firstworks/4access <dav...@fi...> - 2005-08-26 16:30:20
|
The only thing that stands out is the call to endSession(), but it should be ok to call that as the result set should have been cached on the client side. Try removing that and see what you get. Also, try calling con.debugOn() after creating con and see if the output doesn't reveal the problem. If it doesn't, then send me the output and I'll look at it too. Dave dav...@fi... On Thu, 2005-08-25 at 10:42 -0500, Ben Gribaudo wrote: > Hi, > > I am working on setting up a new Debian 3.1 server. So far, I can use > sqlrsh to query my database but I can't access the same sqlrelay connect > via Ruby.. Would any of you know what I'm doing wrong? I've even copied > my Ruby code to a Debian Woody server (which uses a Sybase driver > instead of FreeTDS) and it works. > > Thank you, > Ben Gribaudo > > Example: (usernane/password/socket/port replaced with dummy values) > ================================================ > I can run this: > # sqlrsh localhost 8000 /tmp/name.socket user pass > SQLRShell - Version 0.22 > Connected to: localhost:8000 as user > > type help; for a help. > > 0> select * from sysobjects; > name id xtype uid info status > base_schema_ver replinfo parent_obj crdate ftcatid > schema_ver stats_schema_ver type userstat sysstat indexdel > refdate version deltrig instrig updtrig > seltrig category cache > ============================================================================================================================================================================================================================================================================================ > > sysobjects 1 S 1 25 -2147483645 > 68 0 0 Fri Nov 13 03:00:19 1998 0 > 64 4 S 1 113 [...] > > but if I try to run > > require('sqlrelay') > > puts "HERE!" > con=SQLRConnection.new("localhost",8000,"/tmp/name.socket","user","pass",0,1) > > cur=SQLRCursor.new(con) > cur.sendQuery("select * from sysobjects") > con.endSession() > > for row in 0..cur.rowCount()-1 do > rowarray=cur.getRow(row) > for col in 0..cur.colCount() do > puts rowarray[col] > puts "," > end > puts "\n" > end > > all I get is "HERE!" and then I'm back at a shell prompt. > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Sqlrelay-discussion mailing list > Sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > |
From: Dmitry S. <mi...@ca...> - 2005-08-26 15:23:25
|
On Fri, Aug 26, 2005 at 11:02:33AM -0400, David Muse wrote: > Yes, the http://www.firstworks.com/sqlrelay-0.37pre2.tar.gz tarball > contains both rudiments and sqlrelay and both contain > sun-compiler-specific updates. Well, I see. Now I get: CC -pipe -D_REENTRANT -D_THREAD_SAFE -D__EXTENSIONS__ -I../ -I../include -c signalclasses.C -o signalclasses.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile CC -pipe -D_REENTRANT -D_THREAD_SAFE -D__EXTENSIONS__ -I../ -I../include -c charstring.C -o charstring.lo CC -pipe -D_REENTRANT -D_THREAD_SAFE -D__EXTENSIONS__ -I../ -I../include -c charstring.C -KPIC -DPIC -o .libs/charstring.o CC: Warning: Option -pipe passed to ld, if ld is invoked, ignored otherwise "charstring.C", line 740: Error: Cannot return const char* from a function that should return char*. "charstring.C", line 744: Error: Cannot return const char* from a function that should return char*. "charstring.C", line 748: Error: Cannot return const char* from a function that should return char*. 3 Error(s) detected. make[1]: *** [charstring.lo] Error 1 make[1]: Leaving directory `/tmp/rudiments-0.29/src' make: *** [all] Error 2 I use Sun Studio 10. > > Dave > > On Fri, 2005-08-26 at 18:30 +0400, Dmitry Sivachenko wrote: > > Please note that I submitted a patch for *rudiments*, not for sqlrelay. > > > > > > > > On Fri, Aug 26, 2005 at 10:24:49AM -0400, Firstworks/4access wrote: > > > Take a look at http://www.firstworks.com/sqlrelay-0.37pre2.tar.gz > > > > > > I recently made a bunch of changes to support sun compilers including a > > > check to see if the compiler supports -Wall at configure-time. I > > > believe it also includes these fixes. > > > > > > I'm still working on some errors involving different compatibility > > > modes, but hopefully they'll be fixed soon. > > > > > > David Muse > > > dav...@fi... > > > > > > > > > On Fri, 2005-08-26 at 11:40 +0400, Dmitry Sivachenko wrote: > > > > Hello! > > > > > > > > I propose the following patch to rudiments (made against 0.28.2). > > > > > > > > Patch to configure.in is to eliminate mandatory '-Wall' from CPPFLAGS > > > > since there are compilers (say Sun Studio) which do not recongnize > > > > this flag. One can always add this switch to their CPPFLAGS if desired. > > > > > > > > Patch to charstring.h fixes the inconsistency between declarations in > > > > charstring.h and src/charstring.C. This is actually a bug which gcc hides, > > > > I suppose. > > > > > > > > Thanks! > > > > > > > > > > > > --- include/rudiments/charstring.h.orig Чтв Янв 27 06:35:07 2005 > > > > +++ include/rudiments/charstring.h Птн Авг 26 11:34:38 2005 > > > > @@ -119,7 +119,7 @@ > > > > const char *needle); > > > > // Returns true if "haystack" contains "needle" or > > > > // false otherwise. > > > > - static bool contains(const char *haystack, char needle); > > > > + static bool contains(const char *haystack, const char needle); > > > > // Returns true if "haystack" contains "needle" or > > > > // false otherwise. > > > > static char *findFirst(const char *haystack, > > > > @@ -126,7 +126,7 @@ > > > > const char *needle); > > > > // Returns a pointer to the first occurrance of "needle" > > > > // in "haystack" or NULL if not found. > > > > - static char *findFirst(const char *haystack, char needle); > > > > + static char *findFirst(const char *haystack, const char needle); > > > > // Returns a pointer to the first occurrance of "needle" > > > > // in "haystack" or NULL if not found. > > > > static char *findLast(const char *haystack, > > > > @@ -133,7 +133,7 @@ > > > > const char *needle); > > > > // Returns a pointer to the last occurrance of "needle" > > > > // in "haystack" or NULL if not found. > > > > - static char *findLast(const char *haystack, char needle); > > > > + static char *findLast(const char *haystack, const char needle); > > > > // Returns a pointer to the last occurrance of "needle" > > > > // in "haystack" or NULL if not found. > > > > > > > > --- configure.in.orig Чтв Апр 21 18:42:05 2005 > > > > +++ configure.in Птн Авг 26 11:31:13 2005 > > > > @@ -288,7 +288,7 @@ > > > > INCLUDE_ERROR="1") > > > > > > > > > > > > -CPPFLAGS="-Wall -D_REENTRANT $CPPFLAGS" > > > > +CPPFLAGS="-D_REENTRANT $CPPFLAGS" > > > > CXXFLAGS="$SMALLCODE $CXXFLAGS" > > > > > > > > AC_SUBST(CPPFLAGS) > > > > > > > > > > > > ------------------------------------------------------- > > > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > > > > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > > > > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > > > > _______________________________________________ > > > > Sqlrelay-discussion mailing list > > > > Sql...@li... > > > > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > > > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > > > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > > > _______________________________________________ > > > Sqlrelay-discussion mailing list > > > Sql...@li... > > > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > > > > > > ------------------------------------------------------- > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > > _______________________________________________ > > Sqlrelay-discussion mailing list > > Sql...@li... > > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Sqlrelay-discussion mailing list > Sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion |
From: David M. <dm...@4a...> - 2005-08-26 15:02:38
|
Yes, the http://www.firstworks.com/sqlrelay-0.37pre2.tar.gz tarball contains both rudiments and sqlrelay and both contain sun-compiler-specific updates. Dave On Fri, 2005-08-26 at 18:30 +0400, Dmitry Sivachenko wrote: > Please note that I submitted a patch for *rudiments*, not for sqlrelay. >=20 >=20 >=20 > On Fri, Aug 26, 2005 at 10:24:49AM -0400, Firstworks/4access wrote: > > Take a look at http://www.firstworks.com/sqlrelay-0.37pre2.tar.gz > >=20 > > I recently made a bunch of changes to support sun compilers including= a > > check to see if the compiler supports -Wall at configure-time. I > > believe it also includes these fixes. > >=20 > > I'm still working on some errors involving different compatibility > > modes, but hopefully they'll be fixed soon. > >=20 > > David Muse > > dav...@fi... > >=20 > >=20 > > On Fri, 2005-08-26 at 11:40 +0400, Dmitry Sivachenko wrote: > > > Hello! > > >=20 > > > I propose the following patch to rudiments (made against 0.28.2). > > >=20 > > > Patch to configure.in is to eliminate mandatory '-Wall' from CPPFLA= GS > > > since there are compilers (say Sun Studio) which do not recongnize > > > this flag. One can always add this switch to their CPPFLAGS if des= ired. > > >=20 > > > Patch to charstring.h fixes the inconsistency between declarations = in > > > charstring.h and src/charstring.C. This is actually a bug which gcc= hides, > > > I suppose. > > >=20 > > > Thanks! > > >=20 > > >=20 > > > --- include/rudiments/charstring.h.orig =D0=A7=D1=82=D0=B2 =D0=AF=D0= =BD=D0=B2 27 06:35:07 2005 > > > +++ include/rudiments/charstring.h =D0=9F=D1=82=D0=BD =D0=90=D0=B2=D0= =B3 26 11:34:38 2005 > > > @@ -119,7 +119,7 @@ > > > const char *needle); > > > // Returns true if "haystack" contains "needle" or > > > // false otherwise. > > > - static bool contains(const char *haystack, char needle); > > > + static bool contains(const char *haystack, const char needle); > > > // Returns true if "haystack" contains "needle" or > > > // false otherwise. > > > static char *findFirst(const char *haystack, > > > @@ -126,7 +126,7 @@ > > > const char *needle); > > > // Returns a pointer to the first occurrance of "needle" > > > // in "haystack" or NULL if not found. > > > - static char *findFirst(const char *haystack, char needle); > > > + static char *findFirst(const char *haystack, const char needle); > > > // Returns a pointer to the first occurrance of "needle" > > > // in "haystack" or NULL if not found. > > > static char *findLast(const char *haystack, > > > @@ -133,7 +133,7 @@ > > > const char *needle); > > > // Returns a pointer to the last occurrance of "needle" > > > // in "haystack" or NULL if not found. > > > - static char *findLast(const char *haystack, char needle); > > > + static char *findLast(const char *haystack, const char needle); > > > // Returns a pointer to the last occurrance of "needle" > > > // in "haystack" or NULL if not found. > > > =20 > > > --- configure.in.orig =D0=A7=D1=82=D0=B2 =D0=90=D0=BF=D1=80 21 18:4= 2:05 2005 > > > +++ configure.in =D0=9F=D1=82=D0=BD =D0=90=D0=B2=D0=B3 26 11:31:13 = 2005 > > > @@ -288,7 +288,7 @@ > > > INCLUDE_ERROR=3D"1") > > > =20 > > >=20 > > > -CPPFLAGS=3D"-Wall -D_REENTRANT $CPPFLAGS" > > > +CPPFLAGS=3D"-D_REENTRANT $CPPFLAGS" > > > CXXFLAGS=3D"$SMALLCODE $CXXFLAGS" > > > =20 > > > AC_SUBST(CPPFLAGS) > > >=20 > > >=20 > > > ------------------------------------------------------- > > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle P= ractices > > > Agile & Plan-Driven Development * Managing Projects & Teams * Testi= ng & QA > > > Security * Process Improvement & Measurement * http://www.sqe.com/b= sce5sf > > > _______________________________________________ > > > Sqlrelay-discussion mailing list > > > Sql...@li... > > > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > > >=20 > >=20 > >=20 > >=20 > > ------------------------------------------------------- > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Pra= ctices > > Agile & Plan-Driven Development * Managing Projects & Teams * Testing= & QA > > Security * Process Improvement & Measurement * http://www.sqe.com/bsc= e5sf > > _______________________________________________ > > Sqlrelay-discussion mailing list > > Sql...@li... > > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion >=20 >=20 > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Pract= ices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing &= QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5= sf > _______________________________________________ > Sqlrelay-discussion mailing list > Sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion >=20 |
From: Dmitry S. <mi...@ca...> - 2005-08-26 14:30:27
|
Please note that I submitted a patch for *rudiments*, not for sqlrelay. On Fri, Aug 26, 2005 at 10:24:49AM -0400, Firstworks/4access wrote: > Take a look at http://www.firstworks.com/sqlrelay-0.37pre2.tar.gz > > I recently made a bunch of changes to support sun compilers including a > check to see if the compiler supports -Wall at configure-time. I > believe it also includes these fixes. > > I'm still working on some errors involving different compatibility > modes, but hopefully they'll be fixed soon. > > David Muse > dav...@fi... > > > On Fri, 2005-08-26 at 11:40 +0400, Dmitry Sivachenko wrote: > > Hello! > > > > I propose the following patch to rudiments (made against 0.28.2). > > > > Patch to configure.in is to eliminate mandatory '-Wall' from CPPFLAGS > > since there are compilers (say Sun Studio) which do not recongnize > > this flag. One can always add this switch to their CPPFLAGS if desired. > > > > Patch to charstring.h fixes the inconsistency between declarations in > > charstring.h and src/charstring.C. This is actually a bug which gcc hides, > > I suppose. > > > > Thanks! > > > > > > --- include/rudiments/charstring.h.orig Чтв Янв 27 06:35:07 2005 > > +++ include/rudiments/charstring.h Птн Авг 26 11:34:38 2005 > > @@ -119,7 +119,7 @@ > > const char *needle); > > // Returns true if "haystack" contains "needle" or > > // false otherwise. > > - static bool contains(const char *haystack, char needle); > > + static bool contains(const char *haystack, const char needle); > > // Returns true if "haystack" contains "needle" or > > // false otherwise. > > static char *findFirst(const char *haystack, > > @@ -126,7 +126,7 @@ > > const char *needle); > > // Returns a pointer to the first occurrance of "needle" > > // in "haystack" or NULL if not found. > > - static char *findFirst(const char *haystack, char needle); > > + static char *findFirst(const char *haystack, const char needle); > > // Returns a pointer to the first occurrance of "needle" > > // in "haystack" or NULL if not found. > > static char *findLast(const char *haystack, > > @@ -133,7 +133,7 @@ > > const char *needle); > > // Returns a pointer to the last occurrance of "needle" > > // in "haystack" or NULL if not found. > > - static char *findLast(const char *haystack, char needle); > > + static char *findLast(const char *haystack, const char needle); > > // Returns a pointer to the last occurrance of "needle" > > // in "haystack" or NULL if not found. > > > > --- configure.in.orig Чтв Апр 21 18:42:05 2005 > > +++ configure.in Птн Авг 26 11:31:13 2005 > > @@ -288,7 +288,7 @@ > > INCLUDE_ERROR="1") > > > > > > -CPPFLAGS="-Wall -D_REENTRANT $CPPFLAGS" > > +CPPFLAGS="-D_REENTRANT $CPPFLAGS" > > CXXFLAGS="$SMALLCODE $CXXFLAGS" > > > > AC_SUBST(CPPFLAGS) > > > > > > ------------------------------------------------------- > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > > _______________________________________________ > > Sqlrelay-discussion mailing list > > Sql...@li... > > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Sqlrelay-discussion mailing list > Sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion |
From: Firstworks/4access <dav...@fi...> - 2005-08-26 14:24:55
|
Take a look at http://www.firstworks.com/sqlrelay-0.37pre2.tar.gz I recently made a bunch of changes to support sun compilers including a check to see if the compiler supports -Wall at configure-time. I believe it also includes these fixes. I'm still working on some errors involving different compatibility modes, but hopefully they'll be fixed soon. David Muse dav...@fi... On Fri, 2005-08-26 at 11:40 +0400, Dmitry Sivachenko wrote: > Hello! >=20 > I propose the following patch to rudiments (made against 0.28.2). >=20 > Patch to configure.in is to eliminate mandatory '-Wall' from CPPFLAGS > since there are compilers (say Sun Studio) which do not recongnize > this flag. One can always add this switch to their CPPFLAGS if desired. >=20 > Patch to charstring.h fixes the inconsistency between declarations in > charstring.h and src/charstring.C. This is actually a bug which gcc hid= es, > I suppose. >=20 > Thanks! >=20 >=20 > --- include/rudiments/charstring.h.orig =D0=A7=D1=82=D0=B2 =D0=AF=D0=BD= =D0=B2 27 06:35:07 2005 > +++ include/rudiments/charstring.h =D0=9F=D1=82=D0=BD =D0=90=D0=B2=D0=B3= 26 11:34:38 2005 > @@ -119,7 +119,7 @@ > const char *needle); > // Returns true if "haystack" contains "needle" or > // false otherwise. > - static bool contains(const char *haystack, char needle); > + static bool contains(const char *haystack, const char needle); > // Returns true if "haystack" contains "needle" or > // false otherwise. > static char *findFirst(const char *haystack, > @@ -126,7 +126,7 @@ > const char *needle); > // Returns a pointer to the first occurrance of "needle" > // in "haystack" or NULL if not found. > - static char *findFirst(const char *haystack, char needle); > + static char *findFirst(const char *haystack, const char needle); > // Returns a pointer to the first occurrance of "needle" > // in "haystack" or NULL if not found. > static char *findLast(const char *haystack, > @@ -133,7 +133,7 @@ > const char *needle); > // Returns a pointer to the last occurrance of "needle" > // in "haystack" or NULL if not found. > - static char *findLast(const char *haystack, char needle); > + static char *findLast(const char *haystack, const char needle); > // Returns a pointer to the last occurrance of "needle" > // in "haystack" or NULL if not found. > =20 > --- configure.in.orig =D0=A7=D1=82=D0=B2 =D0=90=D0=BF=D1=80 21 18:42:05= 2005 > +++ configure.in =D0=9F=D1=82=D0=BD =D0=90=D0=B2=D0=B3 26 11:31:13 2005 > @@ -288,7 +288,7 @@ > INCLUDE_ERROR=3D"1") > =20 >=20 > -CPPFLAGS=3D"-Wall -D_REENTRANT $CPPFLAGS" > +CPPFLAGS=3D"-D_REENTRANT $CPPFLAGS" > CXXFLAGS=3D"$SMALLCODE $CXXFLAGS" > =20 > AC_SUBST(CPPFLAGS) >=20 >=20 > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Pract= ices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing &= QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5= sf > _______________________________________________ > Sqlrelay-discussion mailing list > Sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion >=20 |
From: Eric R. <ry...@ya...> - 2005-08-26 14:15:20
|
I've successfully built 64-bit SQL Relay using 0.36.3 with the following setup: Solaris 9 (Generic_117171-17) Oracle 10.1.0 Client Rudiments 0.28.2 I recently downloaded 0.36.4, and tried to perform an installation on the same system with the same configuration options, but ended up with the following error during make: Undefined first referenced symbol in file sqlrconnection::startSendingLong(unsigned long).libs/oracle7connection.o ld: fatal: Symbol referencing errors. No output written to sqlr-connection-oracle7 Has anyone else had this problem with this new version of SQL Relay? Any ideas on how to resolve it? I've included the entire event log below. Regards, Eric bash-2.05# export CC=gcc bash-2.05# export CFLAGS='-mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include' bash-2.05# export LDFLAGS='-mcpu=v9 -m64 -L/usr/lib/sparcv9 -L/usr/local/lib/sparcv9' bash-2.05# export LIBS='' bash-2.05# export CXX=g++ bash-2.05# export CXXFLAGS='-mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include' bash-2.05# export CXXLDFLAGS='-mcpu=v9 -m64 -L/usr/lib/sparcv9 -L/usr/local/lib/sparcv9' bash-2.05# #note: GNU make *must* be before Solaris make in PATH bash-2.05# PATH=$PATH:/usr/ccs/bin ./configure \ > --prefix=/usr/local \ > --bindir=/usr/local/bin/sparcv9 \ > --sbindir=/usr/local/sbin/sparcv9 \ > --libexecdir=/usr/local/libexec/sparcv9 \ > --libdir=/usr/local/lib/sparcv9 \ > --with-rudiments-prefix=/usr/local \ > --disable-mysql \ > --disable-msql \ > --disable-postgresql \ > --disable-sqlite \ > --disable-lago \ > --disable-freetds \ > --disable-sybase \ > --disable-odbc \ > --disable-db2 \ > --disable-interbase \ > --disable-mdbtools \ > --disable-python \ > --disable-zope \ > --disable-ruby \ > --disable-tcl \ > --disable-gtk PATH=$PATH:/usr/ccs/bin make PATH=$PATH:/usr/ccs/bin make test ***** Programs *************** checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C preprocessor... gcc -E checking for a BSD-compatible install... ./install-sh -c checking whether ln -s works... yes checking whether make sets $(MAKE)... yes ****************************** ***** Libtool **************** checking build system type... sparc-sun-solaris2.9 checking host system type... sparc-sun-solaris2.9 checking for a sed that does not truncate output... /usr/bin/sed checking for egrep... egrep checking for ld used by g++... /usr/ccs/bin/ld checking if the linker (/usr/ccs/bin/ld) is GNU ld... no checking for /usr/ccs/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/ccs/bin/nm -p checking how to recognise dependent libraries... pass_all checking for ANSI C header files... no checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... no checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... no configure: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: dlfcn.h: proceeding with the compiler's result checking for dlfcn.h... yes checking how to run the C++ preprocessor... g++ -E checking for g77... g77 checking whether we are using the GNU Fortran 77 compiler... yes checking whether g77 accepts -g... yes checking the maximum length of command line arguments... 262144 checking command to parse /usr/ccs/bin/nm -p output from g++ object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if g++ static flag works... yes checking if g++ supports -fno-rtti -fno-exceptions... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking dynamic linker characteristics... solaris2.9 ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/ccs/bin/ld checking if the linker (/usr/ccs/bin/ld) is GNU ld... no checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking dynamic linker characteristics... solaris2.9 ld.so appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for g77 option to produce PIC... -fPIC checking if g77 PIC flag -fPIC works... yes checking if g77 supports -c -o file.o... yes checking whether the g77 linker (/usr/ccs/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking dynamic linker characteristics... solaris2.9 ld.so checking for -ar... ar checking for dynamic library extension... so checking for library directory... lib checking whether ld -rpath works... no checking whether ps aux works... no checking for -pipe option... yes checking for -Wno-long-double option... no ****************************** ***** Inline Functions ******* checking inline... yes ****************************** ***** threads **************** pthreads libs... -lpthread ****************************** ***** Libraries ************** checking for tgetnum in -ltermcap... yes checking for add_history in -lhistory... no checking for readline in -lreadline... no checking no extra libraries are required for socket-related calls... no checking -lnsl is required for socket-related calls... no checking -lsocket is required for socket-related calls... no checking -lsocket -lnsl is required for socket-related calls... yes checking for dlopen in -ldl... yes checking for aioread in -laio... yes checking features.h usability... no checking features.h presence... no checking for features.h... no ****************************** ***** Rudiments ************** rudiments includes... -I/usr/local/include -I/usr/local/ssl64/include rudiments libs... -L/usr/local/lib/sparcv9 -lrudiments -lsocket -lnsl -lpthread -L/usr/local/ssl64/lib -lcrypto -lssl -lrt -lrt -ldl ****************************** ***** Oracle ***************** checking for oracle includes and libraries... yes checking if Oracle has oci.h... yes checking if Oracle can be dynamically linked without -ldl... yes oracle version... 10g oracle includes... -I/opt/oracle/product/10.1.0/client_1/rdbms/demo -I/opt/oracle/product/10.1.0/client_1/rdbms/public -I/opt/oracle/product/10.1.0/client_1/network/public -I/opt/oracle/product/10.1.0/client_1/plsql/public oracle libs... -L/opt/oracle/product/10.1.0/client_1/lib -lclntsh -lnsl -lsocket -lgen -ldl ****************************** ***** MySQL ****************** ****************************** ***** mSQL ******************* ****************************** ***** PostgreSQL ************* ****************************** ***** SQLite ***************** ****************************** ***** Lago ******************* ****************************** ***** FreeTDS ****************** ****************************** ***** Sybase ***************** ****************************** ***** ODBC ********************* ****************************** ***** DB2 ********************** ****************************** ***** Interbase ************** ****************************** ***** MDB Tools ************** ****************************** ***** Perl ******************* checking for perl... perl ****************************** ***** Python ***************** ****************************** ***** Zope ******************* ****************************** ***** Ruby ******************* ****************************** ***** Java ******************* java includes... -I/usr/java/include -I/usr/java/include/solaris ****************************** ***** TCL ******************** ****************************** ***** PHP ******************** checking for php-config... php-config php includes... -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/Zend -I/usr/local/include/php/TSRM ****************************** ***** GTK+ ******************* ****************************** ***** Headers **************** checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) no checking for unistd.h... (cached) yes checking for strings.h... (cached) yes ****************************** ***** Structures ************* checking for mode_t... yes checking return type of signal handlers... void checking for unsupported signals... SIGSTKFLT SIGUNUSED checking namespace support... yes ****************************** ***** Output Files *********** configure: creating ./config.status config.status: creating config.mk config.status: creating src/api/perl/Connection/Connection.pm config.status: creating src/api/perl/Cursor/Cursor.pm config.status: creating src/api/perl/DBD/SQLRelay.pm config.status: creating bin/sqlr-stop config.status: creating bin/sqlrclient-config config.status: creating bin/sqlrclientwrapper-config config.status: creating init/openserver/init.d/sqlrelay config.status: creating init/redhat/init.d/sqlrelay config.status: creating init/slackware/rc.d/rc.sqlrelay config.status: creating init/debian/init.d/sqlrelay config.status: creating init/netbsd/rc.d/sqlrelay config.status: creating init/freebsd/rc.d/sqlrelay config.status: creating test/test config.status: creating sqlrelay-c++.pc config.status: creating sqlrelay-c.pc config.status: creating config.h config.status: config.h is unchanged ***** Summary *********************************************** Version : 0.36.4 API's : C++ C Perl PHP Java Connections : Oracle7 dynamic Oracle8 dynamic MySQL no mSQL no PostgreSQL no SQLite no Lago no FreeTDS no Sybase no ODBC no DB2 no Interbase no MDB Tools no ************************************************************* If you expected a Connection or API that doesn't show up in the Summary then the configure script probably couldn't find a package it needed to build it. You can manually specify package locations using command line options. Type: configure --help for a list of options. Thanks to MP3.com for sponsoring: Clustered/Replicated database support. Perl API. ./configure: test: : integer expression expected bash-2.05# PATH=$PATH:/usr/ccs/bin make make -C src all make[1]: Entering directory `/opt/sw_build/sqlrelay-0.36.4_64/src' make -C util all make[2]: Entering directory `/opt/sw_build/sqlrelay-0.36.4_64/src/util' /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -DTMP_DIR=\"/usr/local/var/sqlrelay/tmp\" -DDEBUG_DIR=\"/usr/local/var/sqlrelay/debug\" -DDEFAULT_CONFIG_FILE=\"/usr/local/etc/sqlrelay.conf\" -I./ -I../../ -I../../src/common -I/usr/local/include -I/usr/local/ssl64/include -c cmdline.C -o cmdline.lo mkdir .libs g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -DTMP_DIR=\"/usr/local/var/sqlrelay/tmp\" -DDEBUG_DIR=\"/usr/local/var/sqlrelay/debug\" -DDEFAULT_CONFIG_FILE=\"/usr/local/etc/sqlrelay.conf\" -I./ -I../../ -I../../src/common -I/usr/local/include -I/usr/local/ssl64/include -c cmdline.C -fPIC -DPIC -o .libs/cmdline.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -DTMP_DIR=\"/usr/local/var/sqlrelay/tmp\" -DDEBUG_DIR=\"/usr/local/var/sqlrelay/debug\" -DDEFAULT_CONFIG_FILE=\"/usr/local/etc/sqlrelay.conf\" -I./ -I../../ -I../../src/common -I/usr/local/include -I/usr/local/ssl64/include -c cmdline.C -o cmdline.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -DTMP_DIR=\"/usr/local/var/sqlrelay/tmp\" -DDEBUG_DIR=\"/usr/local/var/sqlrelay/debug\" -DDEFAULT_CONFIG_FILE=\"/usr/local/etc/sqlrelay.conf\" -I./ -I../../ -I../../src/common -I/usr/local/include -I/usr/local/ssl64/include -c debugfile.C -o debugfile.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -DTMP_DIR=\"/usr/local/var/sqlrelay/tmp\" -DDEBUG_DIR=\"/usr/local/var/sqlrelay/debug\" -DDEFAULT_CONFIG_FILE=\"/usr/local/etc/sqlrelay.conf\" -I./ -I../../ -I../../src/common -I/usr/local/include -I/usr/local/ssl64/include -c debugfile.C -fPIC -DPIC -o .libs/debugfile.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -DTMP_DIR=\"/usr/local/var/sqlrelay/tmp\" -DDEBUG_DIR=\"/usr/local/var/sqlrelay/debug\" -DDEFAULT_CONFIG_FILE=\"/usr/local/etc/sqlrelay.conf\" -I./ -I../../ -I../../src/common -I/usr/local/include -I/usr/local/ssl64/include -c debugfile.C -o debugfile.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -DTMP_DIR=\"/usr/local/var/sqlrelay/tmp\" -DDEBUG_DIR=\"/usr/local/var/sqlrelay/debug\" -DDEFAULT_CONFIG_FILE=\"/usr/local/etc/sqlrelay.conf\" -I./ -I../../ -I../../src/common -I/usr/local/include -I/usr/local/ssl64/include -c tempdir.C -o tempdir.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -DTMP_DIR=\"/usr/local/var/sqlrelay/tmp\" -DDEBUG_DIR=\"/usr/local/var/sqlrelay/debug\" -DDEFAULT_CONFIG_FILE=\"/usr/local/etc/sqlrelay.conf\" -I./ -I../../ -I../../src/common -I/usr/local/include -I/usr/local/ssl64/include -c tempdir.C -fPIC -DPIC -o .libs/tempdir.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -DTMP_DIR=\"/usr/local/var/sqlrelay/tmp\" -DDEBUG_DIR=\"/usr/local/var/sqlrelay/debug\" -DDEFAULT_CONFIG_FILE=\"/usr/local/etc/sqlrelay.conf\" -I./ -I../../ -I../../src/common -I/usr/local/include -I/usr/local/ssl64/include -c tempdir.C -o tempdir.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -DTMP_DIR=\"/usr/local/var/sqlrelay/tmp\" -DDEBUG_DIR=\"/usr/local/var/sqlrelay/debug\" -DDEFAULT_CONFIG_FILE=\"/usr/local/etc/sqlrelay.conf\" -I./ -I../../ -I../../src/common -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconfigfile.C -o sqlrconfigfile.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -DTMP_DIR=\"/usr/local/var/sqlrelay/tmp\" -DDEBUG_DIR=\"/usr/local/var/sqlrelay/debug\" -DDEFAULT_CONFIG_FILE=\"/usr/local/etc/sqlrelay.conf\" -I./ -I../../ -I../../src/common -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconfigfile.C -fPIC -DPIC -o .libs/sqlrconfigfile.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -DTMP_DIR=\"/usr/local/var/sqlrelay/tmp\" -DDEBUG_DIR=\"/usr/local/var/sqlrelay/debug\" -DDEFAULT_CONFIG_FILE=\"/usr/local/etc/sqlrelay.conf\" -I./ -I../../ -I../../src/common -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconfigfile.C -o sqlrconfigfile.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -DTMP_DIR=\"/usr/local/var/sqlrelay/tmp\" -DDEBUG_DIR=\"/usr/local/var/sqlrelay/debug\" -DDEFAULT_CONFIG_FILE=\"/usr/local/etc/sqlrelay.conf\" -I./ -I../../ -I../../src/common -I/usr/local/include -I/usr/local/ssl64/include -c authenticator.C -o authenticator.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -DTMP_DIR=\"/usr/local/var/sqlrelay/tmp\" -DDEBUG_DIR=\"/usr/local/var/sqlrelay/debug\" -DDEFAULT_CONFIG_FILE=\"/usr/local/etc/sqlrelay.conf\" -I./ -I../../ -I../../src/common -I/usr/local/include -I/usr/local/ssl64/include -c authenticator.C -fPIC -DPIC -o .libs/authenticator.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -DTMP_DIR=\"/usr/local/var/sqlrelay/tmp\" -DDEBUG_DIR=\"/usr/local/var/sqlrelay/debug\" -DDEFAULT_CONFIG_FILE=\"/usr/local/etc/sqlrelay.conf\" -I./ -I../../ -I../../src/common -I/usr/local/include -I/usr/local/ssl64/include -c authenticator.C -o authenticator.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=link g++ -o libsqlrutil.la cmdline.lo debugfile.lo tempdir.lo sqlrconfigfile.lo authenticator.lo -mcpu=v9 -m64 -L/usr/lib/sparcv9 -L/usr/local/lib/sparcv9 -L/usr/local/lib/sparcv9 -lrudiments -lsocket -lnsl -lpthread -L/usr/local/ssl64/lib -lcrypto -lssl -lrt -lrt -ldl -rpath /usr/local/lib/sparcv9 -release 0.36.4 -version-info 1:0:0 -no-undefined g++ -shared -Wl,-h -Wl,libsqlrutil-0.36.4.so.1 -o .libs/libsqlrutil-0.36.4.so.1.0.0 .libs/cmdline.o .libs/debugfile.o .libs/tempdir.o .libs/sqlrconfigfile.o .libs/authenticator.o -R/usr/local/lib/sparcv9 -R/usr/local/lib/sparcv9 -L/usr/local/ssl64/lib -L/usr/lib/sparcv9 -L/usr/local/lib/sparcv9 /usr/local/lib/sparcv9/librudiments.so -lsocket -lnsl -lpthread -lcrypto -lssl -lrt -ldl -lc -mcpu=v9 -m64 (cd .libs && rm -f libsqlrutil-0.36.4.so.1 && ln -s libsqlrutil-0.36.4.so.1.0.0 libsqlrutil-0.36.4.so.1) (cd .libs && rm -f libsqlrutil.so && ln -s libsqlrutil-0.36.4.so.1.0.0 libsqlrutil.so) ar cru .libs/libsqlrutil.a cmdline.o debugfile.o tempdir.o sqlrconfigfile.o authenticator.o ranlib .libs/libsqlrutil.a creating libsqlrutil.la (cd .libs && rm -f libsqlrutil.la && ln -s ../libsqlrutil.la libsqlrutil.la) make[2]: Leaving directory `/opt/sw_build/sqlrelay-0.36.4_64/src/util' make -C listener all make[2]: Entering directory `/opt/sw_build/sqlrelay-0.36.4_64/src/listener' /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -DTMP_DIR=\"/usr/local/var/sqlrelay/tmp\" -c sqlrlistener.C -o sqlrlistener.lo mkdir .libs g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -DTMP_DIR=\"/usr/local/var/sqlrelay/tmp\" -c sqlrlistener.C -fPIC -DPIC -o .libs/sqlrlistener.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -DTMP_DIR=\"/usr/local/var/sqlrelay/tmp\" -c sqlrlistener.C -o sqlrlistener.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -DTMP_DIR=\"/usr/local/var/sqlrelay/tmp\" -c main.C -o main.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -DTMP_DIR=\"/usr/local/var/sqlrelay/tmp\" -c main.C -fPIC -DPIC -o .libs/main.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -DTMP_DIR=\"/usr/local/var/sqlrelay/tmp\" -c main.C -o main.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=link g++ -mcpu=v9 -m64 -L/usr/lib/sparcv9 -L/usr/local/lib/sparcv9 -o sqlr-listener sqlrlistener.lo main.lo -L../../src/util -lsqlrutil -L/usr/local/lib/sparcv9 -lrudiments -lsocket -lnsl -lpthread -L/usr/local/ssl64/lib -lcrypto -lssl -lrt -lrt -ldl g++ -mcpu=v9 -m64 -o sqlr-listener .libs/sqlrlistener.o .libs/main.o -L/usr/lib/sparcv9 -L/usr/local/lib/sparcv9 -L/opt/sw_build/sqlrelay-0.36.4_64/src/util /usr/local/lib/sparcv9/libsqlrutil.so -L/usr/local/ssl64/lib /usr/local/lib/sparcv9/librudiments.so -lsocket -lnsl -lpthread -lcrypto -lssl -lrt -ldl -R/usr/local/lib/sparcv9 -R/usr/local/lib/sparcv9 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -DTMP_DIR=\"/usr/local/var/sqlrelay/tmp\" -DSERVER_DEBUG -c sqlrlistener.C -o sqlrlistener.d.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -DTMP_DIR=\"/usr/local/var/sqlrelay/tmp\" -DSERVER_DEBUG -c sqlrlistener.C -fPIC -DPIC -o .libs/sqlrlistener.d.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -DTMP_DIR=\"/usr/local/var/sqlrelay/tmp\" -DSERVER_DEBUG -c sqlrlistener.C -o sqlrlistener.d.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -DTMP_DIR=\"/usr/local/var/sqlrelay/tmp\" -DSERVER_DEBUG -c main.C -o main.d.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -DTMP_DIR=\"/usr/local/var/sqlrelay/tmp\" -DSERVER_DEBUG -c main.C -fPIC -DPIC -o .libs/main.d.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -DTMP_DIR=\"/usr/local/var/sqlrelay/tmp\" -DSERVER_DEBUG -c main.C -o main.d.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=link g++ -mcpu=v9 -m64 -L/usr/lib/sparcv9 -L/usr/local/lib/sparcv9 -o sqlr-listener-debug sqlrlistener.d.lo main.d.lo -L../../src/util -lsqlrutil -L/usr/local/lib/sparcv9 -lrudiments -lsocket -lnsl -lpthread -L/usr/local/ssl64/lib -lcrypto -lssl -lrt -lrt -ldl g++ -mcpu=v9 -m64 -o sqlr-listener-debug .libs/sqlrlistener.d.o .libs/main.d.o -L/usr/lib/sparcv9 -L/usr/local/lib/sparcv9 -L/opt/sw_build/sqlrelay-0.36.4_64/src/util /usr/local/lib/sparcv9/libsqlrutil.so -L/usr/local/ssl64/lib /usr/local/lib/sparcv9/librudiments.so -lsocket -lnsl -lpthread -lcrypto -lssl -lrt -ldl -R/usr/local/lib/sparcv9 -R/usr/local/lib/sparcv9 make[2]: Leaving directory `/opt/sw_build/sqlrelay-0.36.4_64/src/listener' make -C connection all make[2]: Entering directory `/opt/sw_build/sqlrelay-0.36.4_64/src/connection' /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/sqlrconnectionctor.C -o sqlrconnection/sqlrconnectionctor.lo mkdir sqlrconnection/.libs g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/sqlrconnectionctor.C -fPIC -DPIC -o sqlrconnection/.libs/sqlrconnectionctor.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/sqlrconnectionctor.C -o sqlrconnection/sqlrconnectionctor.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/sqlrconnectiondtor.C -o sqlrconnection/sqlrconnectiondtor.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/sqlrconnectiondtor.C -fPIC -DPIC -o sqlrconnection/.libs/sqlrconnectiondtor.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/sqlrconnectiondtor.C -o sqlrconnection/sqlrconnectiondtor.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/flushwritebuffer.C -o sqlrconnection/flushwritebuffer.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/flushwritebuffer.C -fPIC -DPIC -o sqlrconnection/.libs/flushwritebuffer.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/flushwritebuffer.C -o sqlrconnection/flushwritebuffer.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/initconnection.C -o sqlrconnection/initconnection.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/initconnection.C -fPIC -DPIC -o sqlrconnection/.libs/initconnection.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/initconnection.C -o sqlrconnection/initconnection.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/ipc.C -o sqlrconnection/ipc.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/ipc.C -fPIC -DPIC -o sqlrconnection/.libs/ipc.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/ipc.C -o sqlrconnection/ipc.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/opensockets.C -o sqlrconnection/opensockets.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/opensockets.C -fPIC -DPIC -o sqlrconnection/.libs/opensockets.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/opensockets.C -o sqlrconnection/opensockets.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/listen.C -o sqlrconnection/listen.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/listen.C -fPIC -DPIC -o sqlrconnection/.libs/listen.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/listen.C -o sqlrconnection/listen.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/listenercomm.C -o sqlrconnection/listenercomm.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/listenercomm.C -fPIC -DPIC -o sqlrconnection/.libs/listenercomm.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/listenercomm.C -o sqlrconnection/listenercomm.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/clientsession.C -o sqlrconnection/clientsession.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/clientsession.C -fPIC -DPIC -o sqlrconnection/.libs/clientsession.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/clientsession.C -o sqlrconnection/clientsession.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/authenticate.C -o sqlrconnection/authenticate.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/authenticate.C -fPIC -DPIC -o sqlrconnection/.libs/authenticate.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/authenticate.C -o sqlrconnection/authenticate.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/suspendsession.C -o sqlrconnection/suspendsession.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/suspendsession.C -fPIC -DPIC -o sqlrconnection/.libs/suspendsession.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/suspendsession.C -o sqlrconnection/suspendsession.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/endsession.C -o sqlrconnection/endsession.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/endsession.C -fPIC -DPIC -o sqlrconnection/.libs/endsession.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/endsession.C -o sqlrconnection/endsession.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/ping.C -o sqlrconnection/ping.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/ping.C -fPIC -DPIC -o sqlrconnection/.libs/ping.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/ping.C -o sqlrconnection/ping.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/identify.C -o sqlrconnection/identify.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/identify.C -fPIC -DPIC -o sqlrconnection/.libs/identify.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/identify.C -o sqlrconnection/identify.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/autocommit.C -o sqlrconnection/autocommit.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/autocommit.C -fPIC -DPIC -o sqlrconnection/.libs/autocommit.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/autocommit.C -o sqlrconnection/autocommit.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/commit.C -o sqlrconnection/commit.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/commit.C -fPIC -DPIC -o sqlrconnection/.libs/commit.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/commit.C -o sqlrconnection/commit.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/connectioncount.C -o sqlrconnection/connectioncount.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/connectioncount.C -fPIC -DPIC -o sqlrconnection/.libs/connectioncount.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/connectioncount.C -o sqlrconnection/connectioncount.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/rollback.C -o sqlrconnection/rollback.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/rollback.C -fPIC -DPIC -o sqlrconnection/.libs/rollback.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/rollback.C -o sqlrconnection/rollback.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/newquery.C -o sqlrconnection/newquery.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/newquery.C -fPIC -DPIC -o sqlrconnection/.libs/newquery.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/newquery.C -o sqlrconnection/newquery.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/handlequery.C -o sqlrconnection/handlequery.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/handlequery.C -fPIC -DPIC -o sqlrconnection/.libs/handlequery.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/handlequery.C -o sqlrconnection/handlequery.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/handleerror.C -o sqlrconnection/handleerror.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/handleerror.C -fPIC -DPIC -o sqlrconnection/.libs/handleerror.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/handleerror.C -o sqlrconnection/handleerror.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/getbinds.C -o sqlrconnection/getbinds.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/getbinds.C -fPIC -DPIC -o sqlrconnection/.libs/getbinds.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/getbinds.C -o sqlrconnection/getbinds.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/getsendcolumninfo.C -o sqlrconnection/getsendcolumninfo.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/getsendcolumninfo.C -fPIC -DPIC -o sqlrconnection/.libs/getsendcolumninfo.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/getsendcolumninfo.C -o sqlrconnection/getsendcolumninfo.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/reexecutequery.C -o sqlrconnection/reexecutequery.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/reexecutequery.C -fPIC -DPIC -o sqlrconnection/.libs/reexecutequery.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/reexecutequery.C -o sqlrconnection/reexecutequery.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/fetchfrombindcursor.C -o sqlrconnection/fetchfrombindcursor.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/fetchfrombindcursor.C -fPIC -DPIC -o sqlrconnection/.libs/fetchfrombindcursor.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/fetchfrombindcursor.C -o sqlrconnection/fetchfrombindcursor.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/fetchresultset.C -o sqlrconnection/fetchresultset.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/fetchresultset.C -fPIC -DPIC -o sqlrconnection/.libs/fetchresultset.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/fetchresultset.C -o sqlrconnection/fetchresultset.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/returnresultsetheader.C -o sqlrconnection/returnresultsetheader.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/returnresultsetheader.C -fPIC -DPIC -o sqlrconnection/.libs/returnresultsetheader.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/returnresultsetheader.C -o sqlrconnection/returnresultsetheader.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/sendrowcounts.C -o sqlrconnection/sendrowcounts.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/sendrowcounts.C -fPIC -DPIC -o sqlrconnection/.libs/sendrowcounts.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/sendrowcounts.C -o sqlrconnection/sendrowcounts.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/returnoutputbindvalues.C -o sqlrconnection/returnoutputbindvalues.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/returnoutputbindvalues.C -fPIC -DPIC -o sqlrconnection/.libs/returnoutputbindvalues.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/returnoutputbindvalues.C -o sqlrconnection/returnoutputbindvalues.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/sendcolumns.C -o sqlrconnection/sendcolumns.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/sendcolumns.C -fPIC -DPIC -o sqlrconnection/.libs/sendcolumns.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/sendcolumns.C -o sqlrconnection/sendcolumns.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/returnresultsetdata.C -o sqlrconnection/returnresultsetdata.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/returnresultsetdata.C -fPIC -DPIC -o sqlrconnection/.libs/returnresultsetdata.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/returnresultsetdata.C -o sqlrconnection/returnresultsetdata.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/skiprows.C -o sqlrconnection/skiprows.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/skiprows.C -fPIC -DPIC -o sqlrconnection/.libs/skiprows.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/skiprows.C -o sqlrconnection/skiprows.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/sendfield.C -o sqlrconnection/sendfield.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/sendfield.C -fPIC -DPIC -o sqlrconnection/.libs/sendfield.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/sendfield.C -o sqlrconnection/sendfield.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/abortresultset.C -o sqlrconnection/abortresultset.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/abortresultset.C -fPIC -DPIC -o sqlrconnection/.libs/abortresultset.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/abortresultset.C -o sqlrconnection/abortresultset.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/suspendresultset.C -o sqlrconnection/suspendresultset.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/suspendresultset.C -fPIC -DPIC -o sqlrconnection/.libs/suspendresultset.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/suspendresultset.C -o sqlrconnection/suspendresultset.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/resumeresultset.C -o sqlrconnection/resumeresultset.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/resumeresultset.C -fPIC -DPIC -o sqlrconnection/.libs/resumeresultset.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/resumeresultset.C -o sqlrconnection/resumeresultset.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/closeconnection.C -o sqlrconnection/closeconnection.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/closeconnection.C -fPIC -DPIC -o sqlrconnection/.libs/closeconnection.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/closeconnection.C -o sqlrconnection/closeconnection.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/closecursors.C -o sqlrconnection/closecursors.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/closecursors.C -fPIC -DPIC -o sqlrconnection/.libs/closecursors.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/closecursors.C -o sqlrconnection/closecursors.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/temptables.C -o sqlrconnection/temptables.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/temptables.C -fPIC -DPIC -o sqlrconnection/.libs/temptables.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/temptables.C -o sqlrconnection/temptables.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/changeuser.C -o sqlrconnection/changeuser.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/changeuser.C -fPIC -DPIC -o sqlrconnection/.libs/changeuser.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/changeuser.C -o sqlrconnection/changeuser.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/relogin.C -o sqlrconnection/relogin.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/relogin.C -fPIC -DPIC -o sqlrconnection/.libs/relogin.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/relogin.C -o sqlrconnection/relogin.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/markdatabasedavailable.C -o sqlrconnection/markdatabasedavailable.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/markdatabasedavailable.C -fPIC -DPIC -o sqlrconnection/.libs/markdatabasedavailable.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/markdatabasedavailable.C -o sqlrconnection/markdatabasedavailable.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/getuser.C -o sqlrconnection/getuser.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/getuser.C -fPIC -DPIC -o sqlrconnection/.libs/getuser.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/getuser.C -o sqlrconnection/getuser.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/getpassword.C -o sqlrconnection/getpassword.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/getpassword.C -fPIC -DPIC -o sqlrconnection/.libs/getpassword.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/getpassword.C -o sqlrconnection/getpassword.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/connectstringvalue.C -o sqlrconnection/connectstringvalue.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/connectstringvalue.C -fPIC -DPIC -o sqlrconnection/.libs/connectstringvalue.o g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/connectstringvalue.C -o sqlrconnection/connectstringvalue.o >/dev/null 2>&1 /bin/sh ../../libtool --mode=compile g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/istransactional.C -o sqlrconnection/istransactional.lo g++ -mcpu=v9 -m64 -O3 -I/usr/local/include/v9 -I/usr/local/include -Wall -pipe -I./ -I../../ -I../../src/common -I../../src/util -I/usr/local/include -I/usr/local/ssl64/include -c sqlrconnection/istransactional.C -fPIC -DPIC -o sqlrconnection/.libs/istransactional.o g++... [truncated message content] |
From: Dmitry S. <mi...@ca...> - 2005-08-26 07:40:18
|
Hello! I propose the following patch to rudiments (made against 0.28.2). Patch to configure.in is to eliminate mandatory '-Wall' from CPPFLAGS since there are compilers (say Sun Studio) which do not recongnize this flag. One can always add this switch to their CPPFLAGS if desired. Patch to charstring.h fixes the inconsistency between declarations in charstring.h and src/charstring.C. This is actually a bug which gcc hides, I suppose. Thanks! --- include/rudiments/charstring.h.orig Чтв Янв 27 06:35:07 2005 +++ include/rudiments/charstring.h Птн Авг 26 11:34:38 2005 @@ -119,7 +119,7 @@ const char *needle); // Returns true if "haystack" contains "needle" or // false otherwise. - static bool contains(const char *haystack, char needle); + static bool contains(const char *haystack, const char needle); // Returns true if "haystack" contains "needle" or // false otherwise. static char *findFirst(const char *haystack, @@ -126,7 +126,7 @@ const char *needle); // Returns a pointer to the first occurrance of "needle" // in "haystack" or NULL if not found. - static char *findFirst(const char *haystack, char needle); + static char *findFirst(const char *haystack, const char needle); // Returns a pointer to the first occurrance of "needle" // in "haystack" or NULL if not found. static char *findLast(const char *haystack, @@ -133,7 +133,7 @@ const char *needle); // Returns a pointer to the last occurrance of "needle" // in "haystack" or NULL if not found. - static char *findLast(const char *haystack, char needle); + static char *findLast(const char *haystack, const char needle); // Returns a pointer to the last occurrance of "needle" // in "haystack" or NULL if not found. --- configure.in.orig Чтв Апр 21 18:42:05 2005 +++ configure.in Птн Авг 26 11:31:13 2005 @@ -288,7 +288,7 @@ INCLUDE_ERROR="1") -CPPFLAGS="-Wall -D_REENTRANT $CPPFLAGS" +CPPFLAGS="-D_REENTRANT $CPPFLAGS" CXXFLAGS="$SMALLCODE $CXXFLAGS" AC_SUBST(CPPFLAGS) |
From: David M. <dav...@fi...> - 2005-08-26 03:26:36
|
The 0.37pre2 prerelease should return errors properly after calling unsupported functions now. The functions return CS_UNKNOWN_ERROR now too rather than 1. I tested it with the mysqladmin and mysql clients and it appears to work. Give it a try. Dave dav...@fi... On Thu, 2005-08-25 at 10:45 +0800, Feizhou wrote: > >>David, > >> > >>could you make the sqlrelay dropin mysql library also set an error > >>string if they call unsupported mysql calls instead of just returning 1 > >>in those calls? > >> > >>Thanks. > > > > > > I can do that where I can. I think there are some calls where they have > > to return 1 for the mysql client to work, even though the calls don't do > > anything. I'll look into it. > > > > Thanks, it helps to be told that the drop-in library don't support > whatever function that was called just before mysql_error() instead of > running into a segfault. > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Sqlrelay-discussion mailing list > Sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > |
From: David M. <dav...@fi...> - 2005-08-26 03:24:34
|
I applied your patches and I believe I've fixed this issue now too. You might give http://www.firstworks.com/sqlrelay-0.37pre2.tar.gz a try, or just extract the php pear db driver from src/api/phppeardb/sqlrelay.php from it and try it with the your current version. Dave dav...@fi... On Sat, 2005-08-13 at 12:56 +0000, david forums wrote: > I got the following error : > Warning: Illegal offset type in unset in /usr/share/pear/DB/sqlrelay.php > on line 416 > > the code their is the following : > // $sqlrcursor is a prepared query handle > $sqlrcursor = (int)$sqlrcursor; > 416-> if (!isset($this->prepare_tokens[$sqlrcursor])) { > return false; > } > > as you see this is the tested case when a query has been prepared. > > But concerning the class prepare, it seems that you overwrite the class > like that : > function prepare($query) > { > $cursor = sqlrcur_alloc($this->connection); > sqlrcur_setResultSetBufferSize($cursor,100); > sqlrcur_prepareQuery($cursor, $query); > return new DB_sqlrelay_cursor($cursor,$this->connection); > } > > looking at this code we see that you do not call the prepare method > describe in common.php. > > And by it, you do not declare any more a value for ($this->prepare_tokens). > > > I don't sure at 100% but I suppose the matter is there. > > If you could provide a new version correcting this. > > thanks in advance > > regards > > david > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Sqlrelay-discussion mailing list > Sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > |
From: David M. <dav...@fi...> - 2005-08-26 03:22:20
|
You might give http://www.firstworks.com/sqlrelay-0.37pre2.tar.gz a try. I think I fixed the aaaah, short write bug. It's a pre-release though, so keep that in mind :) Dave On Wed, 2005-08-24 at 16:25 -0400, Matt Flynn wrote: > in my case it sounds like non-blocking mode, short write loops > forever...or at least longer than I have patience to wait to see if it > completes. > > Firstworks/4access wrote: > > >Now I remember that code :) > > > >To improve performance, the filedescriptor class supports buffered reads > >and writes. SQL Relay sets up an 8k buffer for both read and write > >buffers on both server and client sides. When one side tries to write() > >to the other, the data just gets buffered. When the buffer is full or > >if flushWriteBuffer() is called, the entire buffer is sent over the > >network. A short-write condition (ie. if an attempt to write 8192 bytes > >wrote fewer than 8192 bytes) can occur under several circumstances, most > >notably if some buffer in the kernel or in the underlying hardware is > >full, which can happen if the machine's network interfaces are really > >slammed. > > > >The code should just loop back and try to write the remaining data > >again. Whether the file descriptor is in blocking or non-blocking mode > >could affect that though. In blocking mode, when looping back and > >writing again, the write() will block until the device can accept data, > >but in non-blocking mode, the write() will fall through with another > >short-write condition which will loop back and retry again, over and > >over. I'll have to think about that a little. > > > >Dave > > > >On Wed, 2005-08-24 at 11:45 -0400, Matt Flynn wrote: > > > > > >>typo in original message: 'I assume...writebufferspace=8 are default > >>values...' should be '...writebufferspace=0...' > >> > >>Matt Flynn wrote: > >> > >> > >> > >>>I am receiving the message 'aaaah, short write!!!!!' from > >>>librudiments.so using rudiments 0.28.2 and sqlrelay 0.36.4. > >>> > >>>I have enabled DEBUG_WRITE in rudiments-0.28.2/src/filedescriptor.C > >>>and here is a sample of the output during error conditions: > >>>22687: string write(5,sjir,4) > >>>bufferedWrite of 4 bytes > >>> writebuffersize=8192 > >>> writebufferspace=0 > >>> byteswritten=0 > >>> bytesunwritten=4 > >>>just buffering 0 bytes > >>>safeWrite of 8192 bytes > >>>aaaaah, short write!!!!! > >>>22687: ushort write(5,1) > >>>bufferedWrite of 2 bytes > >>> writebuffersize=8192 > >>> writebufferspace=0 > >>> byteswritten=0 > >>> bytesunwritten=2 > >>>just buffering 0 bytes > >>>safeWrite of 8192 bytes > >>>aaaaah, short write!!!!! > >>> > >>>I assume writebuffersize=8192 and writebufferspace=8 are default > >>>values. Under normal working conditions writebuffersize is usually > >>>less than 8192 and writebufferspace is always greater than 0. > >>>Possibly memory not being initialized properly? Possibly flaky > >>>network card? > >>> > >>>Any suggestions? > >>> > >>>Thanks, > >>> > >>>Matt > >>> > >>> > >>>------------------------------------------------------- > >>>SF.Net email is Sponsored by the Better Software Conference & EXPO > >>>September 19-22, 2005 * San Francisco, CA * Development Lifecycle > >>>Practices > >>>Agile & Plan-Driven Development * Managing Projects & Teams * Testing > >>>& QA > >>>Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > >>>_______________________________________________ > >>>Sqlrelay-discussion mailing list > >>>Sql...@li... > >>>https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > >>> > >>> > >>> > >> > >>------------------------------------------------------- > >>SF.Net email is Sponsored by the Better Software Conference & EXPO > >>September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > >>Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > >>Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > >>_______________________________________________ > >>Sqlrelay-discussion mailing list > >>Sql...@li... > >>https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > >> > >> > >> > > > > > > > >------------------------------------------------------- > >SF.Net email is Sponsored by the Better Software Conference & EXPO > >September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > >Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > >Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > >_______________________________________________ > >Sqlrelay-discussion mailing list > >Sql...@li... > >https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > > > > > > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Sqlrelay-discussion mailing list > Sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > |
From: David M. <dav...@fi...> - 2005-08-26 03:19:57
|
Hello all, I just uploaded 0.37 prerelease 2 to http://www.firstworks.com/sqlrelay-0.37pre2.tar.gz This pre-release includes fixes for several recently reported bugs and support for postgresql 8 bind variables. Since bind variables in postgresql 8 have different syntax than fake bind variables that had to be used with previous versions, there's a connectstring option fakebinds=yes for postgresql to force the connection to fake bind variables rather than use native ones so you don't have to rewrite your queries right away. David Muse dav...@fi... |
From: Ben G. <me...@be...> - 2005-08-25 15:45:10
|
Hi, I am working on setting up a new Debian 3.1 server. So far, I can use sqlrsh to query my database but I can't access the same sqlrelay connect via Ruby.. Would any of you know what I'm doing wrong? I've even copied my Ruby code to a Debian Woody server (which uses a Sybase driver instead of FreeTDS) and it works. Thank you, Ben Gribaudo Example: (usernane/password/socket/port replaced with dummy values) ================================================ I can run this: # sqlrsh localhost 8000 /tmp/name.socket user pass SQLRShell - Version 0.22 Connected to: localhost:8000 as user type help; for a help. 0> select * from sysobjects; name id xtype uid info status base_schema_ver replinfo parent_obj crdate ftcatid schema_ver stats_schema_ver type userstat sysstat indexdel refdate version deltrig instrig updtrig seltrig category cache ============================================================================================================================================================================================================================================================================================ sysobjects 1 S 1 25 -2147483645 68 0 0 Fri Nov 13 03:00:19 1998 0 64 4 S 1 113 [...] but if I try to run require('sqlrelay') puts "HERE!" con=SQLRConnection.new("localhost",8000,"/tmp/name.socket","user","pass",0,1) cur=SQLRCursor.new(con) cur.sendQuery("select * from sysobjects") con.endSession() for row in 0..cur.rowCount()-1 do rowarray=cur.getRow(row) for col in 0..cur.colCount() do puts rowarray[col] puts "," end puts "\n" end all I get is "HERE!" and then I'm back at a shell prompt. |
From: Feizhou <fe...@gr...> - 2005-08-25 02:45:57
|
>>David, >> >>could you make the sqlrelay dropin mysql library also set an error >>string if they call unsupported mysql calls instead of just returning 1 >>in those calls? >> >>Thanks. > > > I can do that where I can. I think there are some calls where they have > to return 1 for the mysql client to work, even though the calls don't do > anything. I'll look into it. > Thanks, it helps to be told that the drop-in library don't support whatever function that was called just before mysql_error() instead of running into a segfault. |
From: Firstworks/4access <dav...@fi...> - 2005-08-24 20:46:33
|
On Tue, 2005-08-09 at 11:14 +0200, Maciej Wisniowski wrote: > I have Oracle procedure like this: > > #------------------------------------------------------------------ > PROCEDURE PROC_2(a_varchar_out IN OUT zm_varchar%TYPE, > a_number_out IN OUT zm_number%TYPE) > IS > a_number NUMBER (10,2); > a_varchar VARCHAR2(10); > BEGIN > IF a_number IS NULL THEN > a_number := a_number_out; > END IF; > IF a_varchar IS NULL THEN > a_varchar := a_varchar_out; > END IF; > > a_number_out := a_number; > a_varchar_out := a_varchar; > END; > #------------------------------------------------------------------ > > types are: > zm_number NUMBER(10,2); > zm_varchar VARCHAR2(10); > > I call this like this from Python: > > #------------------------------------------------------------------ > from SQLRelay import PySQLRClient > from SQLRelay import PySQLRDB > > con=PySQLRClient.sqlrconnection('localhost',9000,'','test','test',0,1) > cur=PySQLRClient.sqlrcursor(con) > cur.setResultSetBufferSize(1) > res = cur.prepareQuery('begin PCK_TESTY_STEROWNIKA.PROC_2(:p1, :p2); end;') > > cur.inputBind('p1', 'babbbaa') > cur.inputBind('p2', 1, 10,2) > > cur.defineOutputBind('p1', 100) > cur.defineOutputBind('p2', 100) > > res = cur.executeQuery() > > print 'res:', res, cur.errorMessage() > print 'varchar_bind:', cur.getOutputBind('p1') > print 'number_bind:', cur.getOutputBind('p2') > con.endSession() > print 'end' > #------------------------------------------------------------------ > > > This procedure causes some errors even when called > with Oracle Toad but > sqlrelay returns: > > #------------------------------------------------------------------ > [zope@blade11 zope]$ python testNull.py > res: 1 None > varchar_bind: Result Set Buffer Size: > Opening cached result set: > %s.indSQLRELAYCACHEFile > number_bind: Result Set Buffer Size: > Opening cached result set: > %s.indSQLRELAYCACHEFile > end > #------------------------------------------------------------------ > > What does it mean? Something wrong with > cache, but why no database errors are reported? > > -- > Maciej Wisnowski Those errors are very strange. They look like string pointers have gotten corrupted or something. I've seen errors like that when 2 versions of SQL Relay are installed on the same machine and the Python API was compiled against 1 but ends up being run against another at run time. I'll see if I can reproduce the errors though. Dave dav...@fi... |
From: Firstworks/4access <dav...@fi...> - 2005-08-24 20:42:53
|
On Tue, 2005-08-09 at 13:07 +0200, Maciej Wisniowski wrote: > I'm trying to execute Oracle procedure which has two > input values and two output values. > It returns out variables filled with data that was > entered to input variables. > > I'm trying to set different precision and scale values to > inputBind function (python API) and I can't find any > difference. My variables are Varchar(10) and > Number(10,2). The code is like: > > # ------------------------------------------ > res = cur.prepareQuery('begin PCK_TESTY_STEROWNIKA.PROC_2(:out1, :out2, > :in1, :in2); end;') > > cur.inputBind('in1', 'jkkkladaki', 0, 0) > cur.inputBind('in2', 12345678.1111, 0,0) > > cur.defineOutputBind('out1', 12) > cur.defineOutputBind('out2', 100) > # ------------------------------------------- > > There is no difference between: > cur.inputBind('in2', 12345678.1111, 0,0) > cur.inputBind('in2', 12345678.1111, 10,9) > cur.inputBind('in2', 12345678.1111, 1,1) > > out2 is always returned as 12345678.11 > out1 similairly. > > Are precision and scale parameters necessary or when > these are used? Honestly, I've never played around much with precision or scale. Databases require it when binding floating point values, so SQL Relay just gets the values and passes them into the database's input bind functions. I know what precision and scale mean: Precision is the number of digits in a number. Scale is the number of digits to the right of the decimal point in a number. For example, the number 123.45 has a precision of 5 and a scale of 2. I also know that if you pass an input bind like 123456789.1111 which has a precision of 13 and scale of 4 into a variable of type number(10,2) then since the variable has a scale of 2, only 2 of the decimal points will be preserved. I believe that's why your output bind values only have 2 decimal points. I'm not sure exactly how Oracle interprets values with precision/scale that don't match the actual value. I know it truncates decimal points when the scale is smaller than the number of provided decimal points. If the scale is larger, it may 0-pad them, I'm not sure. I should look into all of that though and write up a doc about it. > > BTW. There are outdated and misleading informations on > http://sqlrelay.sourceforge.net/sqlrelay/programming/pythondb.html > because it says (about Oracle): > > "However, the SQL Relay Python DB driver > does not currently support output parameters." > SQL Relay provides 2 python drivers. A "native" driver which loosely matches the C/C++ API (the one your examples above use) and a "Python DB" driver which implements the Python DB spec. The native driver can be used by calling: import PySQLRClient the Python DB driver can be used by calling: import PySQLRDB The "Python DB" driver doesn't support output binds but the "native" driver does. Dave |
From: Matt F. <ma...@eq...> - 2005-08-24 20:26:06
|
in my case it sounds like non-blocking mode, short write loops forever...or at least longer than I have patience to wait to see if it completes. Firstworks/4access wrote: >Now I remember that code :) > >To improve performance, the filedescriptor class supports buffered reads >and writes. SQL Relay sets up an 8k buffer for both read and write >buffers on both server and client sides. When one side tries to write() >to the other, the data just gets buffered. When the buffer is full or >if flushWriteBuffer() is called, the entire buffer is sent over the >network. A short-write condition (ie. if an attempt to write 8192 bytes >wrote fewer than 8192 bytes) can occur under several circumstances, most >notably if some buffer in the kernel or in the underlying hardware is >full, which can happen if the machine's network interfaces are really >slammed. > >The code should just loop back and try to write the remaining data >again. Whether the file descriptor is in blocking or non-blocking mode >could affect that though. In blocking mode, when looping back and >writing again, the write() will block until the device can accept data, >but in non-blocking mode, the write() will fall through with another >short-write condition which will loop back and retry again, over and >over. I'll have to think about that a little. > >Dave > >On Wed, 2005-08-24 at 11:45 -0400, Matt Flynn wrote: > > >>typo in original message: 'I assume...writebufferspace=8 are default >>values...' should be '...writebufferspace=0...' >> >>Matt Flynn wrote: >> >> >> >>>I am receiving the message 'aaaah, short write!!!!!' from >>>librudiments.so using rudiments 0.28.2 and sqlrelay 0.36.4. >>> >>>I have enabled DEBUG_WRITE in rudiments-0.28.2/src/filedescriptor.C >>>and here is a sample of the output during error conditions: >>>22687: string write(5,sjir,4) >>>bufferedWrite of 4 bytes >>> writebuffersize=8192 >>> writebufferspace=0 >>> byteswritten=0 >>> bytesunwritten=4 >>>just buffering 0 bytes >>>safeWrite of 8192 bytes >>>aaaaah, short write!!!!! >>>22687: ushort write(5,1) >>>bufferedWrite of 2 bytes >>> writebuffersize=8192 >>> writebufferspace=0 >>> byteswritten=0 >>> bytesunwritten=2 >>>just buffering 0 bytes >>>safeWrite of 8192 bytes >>>aaaaah, short write!!!!! >>> >>>I assume writebuffersize=8192 and writebufferspace=8 are default >>>values. Under normal working conditions writebuffersize is usually >>>less than 8192 and writebufferspace is always greater than 0. >>>Possibly memory not being initialized properly? Possibly flaky >>>network card? >>> >>>Any suggestions? >>> >>>Thanks, >>> >>>Matt >>> >>> >>>------------------------------------------------------- >>>SF.Net email is Sponsored by the Better Software Conference & EXPO >>>September 19-22, 2005 * San Francisco, CA * Development Lifecycle >>>Practices >>>Agile & Plan-Driven Development * Managing Projects & Teams * Testing >>>& QA >>>Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf >>>_______________________________________________ >>>Sqlrelay-discussion mailing list >>>Sql...@li... >>>https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion >>> >>> >>> >> >>------------------------------------------------------- >>SF.Net email is Sponsored by the Better Software Conference & EXPO >>September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices >>Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA >>Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf >>_______________________________________________ >>Sqlrelay-discussion mailing list >>Sql...@li... >>https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion >> >> >> > > > >------------------------------------------------------- >SF.Net email is Sponsored by the Better Software Conference & EXPO >September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices >Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA >Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf >_______________________________________________ >Sqlrelay-discussion mailing list >Sql...@li... >https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > > > |
From: Firstworks/4access <dav...@fi...> - 2005-08-24 20:12:44
|
On Fri, 2005-08-19 at 16:01 +0800, Feizhou wrote: > Feizhou wrote: > > Feizhou wrote: > > > >> const char *mysql_error(MYSQL *mysql) { > >> const char *err= > >> mysql->currentstmt->result->sqlrcur->errorMessage(); > >> return (err)?err:""; > >> } > >> > >> Program received signal SIGSEGV, Segmentation fault. > >> [Switching to Thread 1024 (LWP 4035)] > >> 0x400454d0 in mysql_error (mysql=0x8061430) at mysql.C:742 > >> 742 const char *err= > >> Current language: auto; currently c++ > >> (gdb) bt > >> #0 0x400454d0 in mysql_error (mysql=0x8061430) at mysql.C:742 > >> > >> Built against MySQL-devel-3.23.58-1 (a mysql.com rpm) > > > > > > Ouch, there was some code change...a mysql_select_db was issued hence a > > call to mysql_error afterwards. > > > > Anyway, this makes it a bug. I'll just change the mysql_select_db to > > return 0 for the program in question. > > David, > > could you make the sqlrelay dropin mysql library also set an error > string if they call unsupported mysql calls instead of just returning 1 > in those calls? > > Thanks. I can do that where I can. I think there are some calls where they have to return 1 for the mysql client to work, even though the calls don't do anything. I'll look into it. Dave |
From: Firstworks/4access <dav...@fi...> - 2005-08-24 20:08:05
|
Sorry, SQL Relay can't currently do anything like that, at least not automatically. There are only 2 way I know of to do that with any database. The first is for your program to connect to all 10 databases, run the queries and collate the results itself. The second is to go into one database and create a dblink (ie. a link between separate databases, this is only supported by commercial databases like oracle, sybase, etc.) to each of the other 9 databases and then run a "select distinct" against all 10 tables. I have a list of things like that that it would be nice for SQL Relay to do called "database gymnastics" but I haven't gotten around to working on them. Maybe in the future it will support something like that, but today it doesn't. David Muse dav...@fi... On Mon, 2005-08-22 at 14:08 +0530, George Cherian wrote: > Hi, > > Sql relay looks cool. I would like to know if it fits the job I want to do... What I need is to run a 'select' on multiple machines in parallel - asynchronously -, resort the result and return the rows. The query is: 'select * from table where parent_name = 'parent' order by name limit 10. This query has to be sent to 10 servers - in parallel - the result (total of 100), should be resorted (each of the ten rows from the server will be sorted, but the total would not be in order), and then discard the 90, and return only the first 10 rows. > > > Can sql relay do this? I am really new to database, so please bear with me if it is a silly question. > > Thanks a lot in advance. > > George. > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Sqlrelay-discussion mailing list > Sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > |
From: Firstworks/4access <dav...@fi...> - 2005-08-24 20:00:55
|
Now I remember that code :) To improve performance, the filedescriptor class supports buffered reads and writes. SQL Relay sets up an 8k buffer for both read and write buffers on both server and client sides. When one side tries to write() to the other, the data just gets buffered. When the buffer is full or if flushWriteBuffer() is called, the entire buffer is sent over the network. A short-write condition (ie. if an attempt to write 8192 bytes wrote fewer than 8192 bytes) can occur under several circumstances, most notably if some buffer in the kernel or in the underlying hardware is full, which can happen if the machine's network interfaces are really slammed. The code should just loop back and try to write the remaining data again. Whether the file descriptor is in blocking or non-blocking mode could affect that though. In blocking mode, when looping back and writing again, the write() will block until the device can accept data, but in non-blocking mode, the write() will fall through with another short-write condition which will loop back and retry again, over and over. I'll have to think about that a little. Dave On Wed, 2005-08-24 at 11:45 -0400, Matt Flynn wrote: > typo in original message: 'I assume...writebufferspace=8 are default > values...' should be '...writebufferspace=0...' > > Matt Flynn wrote: > > > I am receiving the message 'aaaah, short write!!!!!' from > > librudiments.so using rudiments 0.28.2 and sqlrelay 0.36.4. > > > > I have enabled DEBUG_WRITE in rudiments-0.28.2/src/filedescriptor.C > > and here is a sample of the output during error conditions: > > 22687: string write(5,sjir,4) > > bufferedWrite of 4 bytes > > writebuffersize=8192 > > writebufferspace=0 > > byteswritten=0 > > bytesunwritten=4 > > just buffering 0 bytes > > safeWrite of 8192 bytes > > aaaaah, short write!!!!! > > 22687: ushort write(5,1) > > bufferedWrite of 2 bytes > > writebuffersize=8192 > > writebufferspace=0 > > byteswritten=0 > > bytesunwritten=2 > > just buffering 0 bytes > > safeWrite of 8192 bytes > > aaaaah, short write!!!!! > > > > I assume writebuffersize=8192 and writebufferspace=8 are default > > values. Under normal working conditions writebuffersize is usually > > less than 8192 and writebufferspace is always greater than 0. > > Possibly memory not being initialized properly? Possibly flaky > > network card? > > > > Any suggestions? > > > > Thanks, > > > > Matt > > > > > > ------------------------------------------------------- > > SF.Net email is Sponsored by the Better Software Conference & EXPO > > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > > Practices > > Agile & Plan-Driven Development * Managing Projects & Teams * Testing > > & QA > > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > > _______________________________________________ > > Sqlrelay-discussion mailing list > > Sql...@li... > > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > > > > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Sqlrelay-discussion mailing list > Sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > |
From: Matt F. <ma...@eq...> - 2005-08-24 15:45:38
|
typo in original message: 'I assume...writebufferspace=8 are default values...' should be '...writebufferspace=0...' Matt Flynn wrote: > I am receiving the message 'aaaah, short write!!!!!' from > librudiments.so using rudiments 0.28.2 and sqlrelay 0.36.4. > > I have enabled DEBUG_WRITE in rudiments-0.28.2/src/filedescriptor.C > and here is a sample of the output during error conditions: > 22687: string write(5,sjir,4) > bufferedWrite of 4 bytes > writebuffersize=8192 > writebufferspace=0 > byteswritten=0 > bytesunwritten=4 > just buffering 0 bytes > safeWrite of 8192 bytes > aaaaah, short write!!!!! > 22687: ushort write(5,1) > bufferedWrite of 2 bytes > writebuffersize=8192 > writebufferspace=0 > byteswritten=0 > bytesunwritten=2 > just buffering 0 bytes > safeWrite of 8192 bytes > aaaaah, short write!!!!! > > I assume writebuffersize=8192 and writebufferspace=8 are default > values. Under normal working conditions writebuffersize is usually > less than 8192 and writebufferspace is always greater than 0. > Possibly memory not being initialized properly? Possibly flaky > network card? > > Any suggestions? > > Thanks, > > Matt > > > ------------------------------------------------------- > SF.Net email is Sponsored by the Better Software Conference & EXPO > September 19-22, 2005 * San Francisco, CA * Development Lifecycle > Practices > Agile & Plan-Driven Development * Managing Projects & Teams * Testing > & QA > Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf > _______________________________________________ > Sqlrelay-discussion mailing list > Sql...@li... > https://lists.sourceforge.net/lists/listinfo/sqlrelay-discussion > |
From: Matt F. <ma...@eq...> - 2005-08-24 15:30:29
|
I am receiving the message 'aaaah, short write!!!!!' from librudiments.so using rudiments 0.28.2 and sqlrelay 0.36.4. I have enabled DEBUG_WRITE in rudiments-0.28.2/src/filedescriptor.C and here is a sample of the output during error conditions: 22687: string write(5,sjir,4) bufferedWrite of 4 bytes writebuffersize=8192 writebufferspace=0 byteswritten=0 bytesunwritten=4 just buffering 0 bytes safeWrite of 8192 bytes aaaaah, short write!!!!! 22687: ushort write(5,1) bufferedWrite of 2 bytes writebuffersize=8192 writebufferspace=0 byteswritten=0 bytesunwritten=2 just buffering 0 bytes safeWrite of 8192 bytes aaaaah, short write!!!!! I assume writebuffersize=8192 and writebufferspace=8 are default values. Under normal working conditions writebuffersize is usually less than 8192 and writebufferspace is always greater than 0. Possibly memory not being initialized properly? Possibly flaky network card? Any suggestions? Thanks, Matt |