List:Commits« Previous MessageNext Message »
From:Stewart Smith Date:August 6 2007 2:05am
Subject:Re: bk commit into 5.0 tree (tnurnberg:1.2504) BUG#10776
View as plain text  
On Wed, 2007-08-01 at 11:50 +0200, Joerg Bruehe wrote:
> All your changeset comments refer to AIX 5.2,
> but the file changes affect all AIX versions.

For NDB, we shouldn't care about:
a) AIX
b) AIX < 5

I'd prefer a, but will fight to the death for B.

> > diff -Nrup a/config/ac-macros/large_file.m4 b/config/ac-macros/large_file.m4
> > --- a/config/ac-macros/large_file.m4	2004-12-04 19:48:50 +01:00
> > +++ b/config/ac-macros/large_file.m4	2007-08-01 04:44:54 +02:00
> > @@ -127,14 +127,9 @@ AC_DEFUN([MYSQL_SYS_LARGEFILE],
> >  	hpux10.[2-9][0-9]* | hpux1[1-9]* | hpux[2-9][0-9]*)
> >  	  ac_cv_sys_largefile_source=1 ;;
> >  	esac])
> > -     AC_SYS_LARGEFILE_MACRO_VALUE(_LARGE_FILES,
> > -       ac_cv_sys_large_files,
> > -       [Large files support on AIX-style hosts.],
> > -       [case "$host_os" in
> > -	# AIX 4.2 and later
> > -	aix4.[2-9]* | aix4.1[0-9]* | aix[5-9].* | aix[1-9][0-9]*)
> > -	  ac_cv_sys_large_files=1 ;;
> > -	esac])
> > +
> > +     # AIX 4.2 and later -- do nothing, include standards.h instead.
> > +     # this goes for both GNU and IBM C and C++ compilers.
> 
> The deleted lines take effect starting from AIX 4.1.
> We do not build our 5.0 (and up) on any AIX 4, so it is not important 
> for MySQL AB - but we do not test build there, so it is possible your 
> change breaks something. Or did you test on our "aix43" host ?

AIX 4.1.5 End of Service: Mar 31, 1999

Totally dead. Not just a little bit dead, way totally dead.

AIX 4.3 End of Service: Dec 32, 2001
AIX 4.3.3 (a limited fee based extension) End Of Service: Dec 31, 2003

Dead.

Looks like we may be stuck with 5L for a while yet though...

> If I get it right, your change does not completely remove 
> "ac_cv_sys_large_files" - what about leaving the lines in, and just 
> removing the AIX 5 branch from the case brtanch ?

Let's just let AIX before 5 rot away... too much effort and *nobody* is
going to be deploying new systems on this.

I wouldn't even bother testing on less than AIX 5.3... If it works for
someone... good for them.

> >     fi
> >    ])
> >  
> > diff -Nrup a/configure.in b/configure.in
> > --- a/configure.in	2007-06-21 18:28:48 +02:00
> > +++ b/configure.in	2007-08-01 04:44:54 +02:00
> > @@ -2890,6 +2890,12 @@ then
> >    ndb_opt_subdirs="$ndb_opt_subdirs docs"
> >    ndb_bin_am_ldflags=""
> >  fi
> > +# building dynamic breaks on AIX. (If you want to try it and get unresolved
> > +# __vec__delete2 and some such, try linking against libhC.)
> > +case "$host_os" in
> > +  aix3.* | aix4.0.* | aix4.1.*) ;;
> > +  *) ndb_bin_am_ldflags="-static";;
> > +esac
> 
> Is it worth caring about these old versions ?
> We don't have them in our environment, AFAIK.

Quite possibly... not too fussed.

> 
> >  AC_SUBST([ndb_bin_am_ldflags])
> >  AC_SUBST([ndb_opt_subdirs])
> >  
> > [[...]]
> > diff -Nrup a/ndb/test/ndbapi/benchronja.cpp b/ndb/test/ndbapi/benchronja.cpp
> > [[...]]
> > +#define NDB_MAXTHREADS 256
> > [[...]]
> > diff -Nrup a/ndb/test/ndbapi/flexAsynch.cpp b/ndb/test/ndbapi/flexAsynch.cpp
> > [[...]]
> > +#define NDB_MAXTHREADS 128
> > [[...]]
> > diff -Nrup a/ndb/test/ndbapi/flexHammer.cpp b/ndb/test/ndbapi/flexHammer.cpp
> > [[...]]
> > +#define NDB_MAXTHREADS 256
> > [[...]]
> > diff -Nrup a/ndb/test/ndbapi/flexScan.cpp b/ndb/test/ndbapi/flexScan.cpp
> > [[...]]
> > +#define NDB_MAXTHREADS 256
> > [[...]]
> > diff -Nrup a/ndb/test/ndbapi/flexTT.cpp b/ndb/test/ndbapi/flexTT.cpp
> > [[...]]
> > +#define NDB_MAXTHREADS 128
> > [[...]]
> > diff -Nrup a/ndb/test/ndbapi/flexTimedAsynch.cpp
> b/ndb/test/ndbapi/flexTimedAsynch.cpp
> > [[...]]
> > +#define NDB_MAXTHREADS 256
> > [[...]]
> > diff -Nrup a/ndb/test/ndbapi/initronja.cpp b/ndb/test/ndbapi/initronja.cpp
> > [[...]]
> > +#define NDB_MAXTHREADS 256
> > [[...]]
> > diff -Nrup a/ndb/test/odbc/SQL99_test/SQL99_test.cpp
> b/ndb/test/odbc/SQL99_test/SQL99_test.cpp
> > [[...]]
> > +#define NDB_MAXTHREADS		24
> > [[...]]
> 
> I find it somewhat confusing to see wildly varying values of 
> NDB_MAXTHREADS at different places, but maybe there are convincing reasons.

Patches welcome :)
-- 
Stewart Smith, Senior Software Engineer
MySQL AB, www.mysql.com
Office: +14082136540 Ext: 6616
VoIP: 6616@stripped
Mobile: +61 4 3 8844 332

Jumpstart your cluster:
http://www.mysql.com/consulting/packaged/cluster.html

Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
Attachment: [application/pgp-signature]
Thread
bk commit into 5.0 tree (tnurnberg:1.2504) BUG#10776Tatjana A Nuernberg1 Aug
  • Re: bk commit into 5.0 tree (tnurnberg:1.2504) BUG#10776Joerg Bruehe1 Aug
    • Re: bk commit into 5.0 tree (tnurnberg:1.2504) BUG#10776Stewart Smith6 Aug
      • Re: bk commit into 5.0 tree (tnurnberg:1.2504) BUG#10776Joerg Bruehe9 Aug
        • Re: bk commit into 5.0 tree (tnurnberg:1.2504) BUG#10776Stewart Smith13 Aug