Loading Build-tools/Do-compile +1 −1 Original line number Diff line number Diff line Loading @@ -92,7 +92,7 @@ if ($opt_stage == 0) { system("mkdir $host") if (! -d $host); system("touch $host/mysql-fix-for-glob"); rm_all(<$host/mysql-*>); rm_all(<$host/mysql*>); system("mkdir $host/bin") if (! -d "$host/bin"); } rm_all("$host/test"); Loading Build-tools/Do-rpm +1 −1 Original line number Diff line number Diff line Loading @@ -152,7 +152,7 @@ cat > $logdir/$TMP_SCRIPT_MYSQL <<END set -x # Check environment export MYSQL_BUILD_PATH="/usr/cygnus/redhat-980810/H-i386-pc-linux-gnu/bin/:/usr/bin:/bin" export MYSQL_BUILD_PATH="/usr/local/bin:/my/gnu/bin:/usr/bin:/bin" export MYSQL_BUILD_CFLAGS="-O6 -fno-omit-frame-pointer -mpentium" export MYSQL_BUILD_CXXFLAGS="-O6 -fno-omit-frame-pointer \ -felide-constructors -fno-exceptions -fno-rtti -mpentium" Loading Docs/manual.texi +1 −1 Original line number Diff line number Diff line Loading @@ -32044,7 +32044,7 @@ mysql> select INET_ATON("209.207.224.40"); @end example The generated number is always in network byte order; For example the above number is calculated as @code{209*255^3 + 207*255^2 + 224*255 +40}. above number is calculated as @code{209*256^3 + 207*256^2 + 224*256 +40}. @findex MASTER_POS_WAIT() @item MASTER_POS_WAIT(log_name, log_pos) client/mysqldump.c +2 −2 Original line number Diff line number Diff line Loading @@ -651,7 +651,7 @@ static uint getTableStructure(char *table, char* db) /* Make an sql-file, if path was given iow. option -T was given */ char buff[20+FN_REFLEN]; sprintf(buff,"show create table `%s`",table_name); sprintf(buff,"show create table `%s`",table); if (mysql_query(sock, buff)) { fprintf(stderr, "%s: Can't get CREATE TABLE for table '%s' (%s)\n", Loading configure.in +14 −13 Original line number Diff line number Diff line Loading @@ -436,11 +436,12 @@ AC_ARG_WITH(other-libc, enable_shared="no" all_is_static="yes" CFLAGS="$CFLAGS -I$other_libc_include" CXXFLAGS="$CXXFLAGS -fpermissive -I$other_libc_include" # There seems to be a feature in gcc that treats system and libc headers #leniently when they violatate ANSI C++ standard, but it is strict otherwise # silently when they violatate ANSI C++ standard, but it is strict otherwise # since gcc cannot now recognize that our headers are libc, we work around #by telling it to be permissive # by telling it to be permissive. Note that this option only works with # new versions of gcc (2.95.x and above) CXXFLAGS="$CXXFLAGS -fpermissive -I$other_libc_include" static_nss= if test -f "$other_libc_lib/libnss_files.a" then Loading @@ -461,12 +462,12 @@ AC_ARG_WITH(other-libc, LDFLAGS="$LDFLAGS -static -L$other_libc_lib " fi # When linking against custom libc installed separately, we want to force # all binary builds to be static, including the build done by configure # itself to test for system features. with_mysqld_ldflags="-all-static" with_client_ldflags="-all-static" NOINST_LDFLAGS="-all-static" #when linking against custom libc installed separately, we want to force all #binary builds to be static, including the build done by configure itself #to test for system features ], [ other_libc_include= Loading Loading @@ -1512,7 +1513,7 @@ ac_save_CXXFLAGS="$CXXFLAGS" AC_CACHE_CHECK([style of gethost* routines], mysql_cv_gethost_style, AC_LANG_SAVE AC_LANG_CPLUSPLUS #do not treat warnings as errors if we are linking agaist other libc # Do not treat warnings as errors if we are linking agaist other libc # this is to work around gcc not being permissive on non-system includes # with respect to ANSI C++ if test "$ac_cv_prog_gxx" = "yes" -a "$with_other_libc" = "no" Loading Loading
Build-tools/Do-compile +1 −1 Original line number Diff line number Diff line Loading @@ -92,7 +92,7 @@ if ($opt_stage == 0) { system("mkdir $host") if (! -d $host); system("touch $host/mysql-fix-for-glob"); rm_all(<$host/mysql-*>); rm_all(<$host/mysql*>); system("mkdir $host/bin") if (! -d "$host/bin"); } rm_all("$host/test"); Loading
Build-tools/Do-rpm +1 −1 Original line number Diff line number Diff line Loading @@ -152,7 +152,7 @@ cat > $logdir/$TMP_SCRIPT_MYSQL <<END set -x # Check environment export MYSQL_BUILD_PATH="/usr/cygnus/redhat-980810/H-i386-pc-linux-gnu/bin/:/usr/bin:/bin" export MYSQL_BUILD_PATH="/usr/local/bin:/my/gnu/bin:/usr/bin:/bin" export MYSQL_BUILD_CFLAGS="-O6 -fno-omit-frame-pointer -mpentium" export MYSQL_BUILD_CXXFLAGS="-O6 -fno-omit-frame-pointer \ -felide-constructors -fno-exceptions -fno-rtti -mpentium" Loading
Docs/manual.texi +1 −1 Original line number Diff line number Diff line Loading @@ -32044,7 +32044,7 @@ mysql> select INET_ATON("209.207.224.40"); @end example The generated number is always in network byte order; For example the above number is calculated as @code{209*255^3 + 207*255^2 + 224*255 +40}. above number is calculated as @code{209*256^3 + 207*256^2 + 224*256 +40}. @findex MASTER_POS_WAIT() @item MASTER_POS_WAIT(log_name, log_pos)
client/mysqldump.c +2 −2 Original line number Diff line number Diff line Loading @@ -651,7 +651,7 @@ static uint getTableStructure(char *table, char* db) /* Make an sql-file, if path was given iow. option -T was given */ char buff[20+FN_REFLEN]; sprintf(buff,"show create table `%s`",table_name); sprintf(buff,"show create table `%s`",table); if (mysql_query(sock, buff)) { fprintf(stderr, "%s: Can't get CREATE TABLE for table '%s' (%s)\n", Loading
configure.in +14 −13 Original line number Diff line number Diff line Loading @@ -436,11 +436,12 @@ AC_ARG_WITH(other-libc, enable_shared="no" all_is_static="yes" CFLAGS="$CFLAGS -I$other_libc_include" CXXFLAGS="$CXXFLAGS -fpermissive -I$other_libc_include" # There seems to be a feature in gcc that treats system and libc headers #leniently when they violatate ANSI C++ standard, but it is strict otherwise # silently when they violatate ANSI C++ standard, but it is strict otherwise # since gcc cannot now recognize that our headers are libc, we work around #by telling it to be permissive # by telling it to be permissive. Note that this option only works with # new versions of gcc (2.95.x and above) CXXFLAGS="$CXXFLAGS -fpermissive -I$other_libc_include" static_nss= if test -f "$other_libc_lib/libnss_files.a" then Loading @@ -461,12 +462,12 @@ AC_ARG_WITH(other-libc, LDFLAGS="$LDFLAGS -static -L$other_libc_lib " fi # When linking against custom libc installed separately, we want to force # all binary builds to be static, including the build done by configure # itself to test for system features. with_mysqld_ldflags="-all-static" with_client_ldflags="-all-static" NOINST_LDFLAGS="-all-static" #when linking against custom libc installed separately, we want to force all #binary builds to be static, including the build done by configure itself #to test for system features ], [ other_libc_include= Loading Loading @@ -1512,7 +1513,7 @@ ac_save_CXXFLAGS="$CXXFLAGS" AC_CACHE_CHECK([style of gethost* routines], mysql_cv_gethost_style, AC_LANG_SAVE AC_LANG_CPLUSPLUS #do not treat warnings as errors if we are linking agaist other libc # Do not treat warnings as errors if we are linking agaist other libc # this is to work around gcc not being permissive on non-system includes # with respect to ANSI C++ if test "$ac_cv_prog_gxx" = "yes" -a "$with_other_libc" = "no" Loading