Commit 62c80141 authored by monty@hundin.mysql.fi's avatar monty@hundin.mysql.fi
Browse files

Fixed some build problems.

Fix that compressed packets and normal packets looks indentical before calling net_real_write()
(Needed for query cache)
Optimize IS NULL handling
parent 55a6911b
Loading
Loading
Loading
Loading
+13 −0
Original line number Diff line number Diff line
gmake -k clean || true 
/bin/rm -f */.deps/*.P config.cache

aclocal && autoheader && aclocal && automake && autoconf
(cd bdb/dist && sh s_all)
(cd innobase && aclocal && autoheader && aclocal && automake && autoconf)
if [ -d gemini ]
then
   (cd gemini && aclocal && autoheader && aclocal && automake && autoconf)
fi

CC=ecc CFLAGS="-w1 -DEXTRA_DEBUG -DSAFEMALLOC -DSAFE_MUTEX -O2" CXX=ecc CXXFLAGS="-w1 -DEXTRA_DEBUG -DSAFEMALLOC -DSAFE_MUTEX -O2" ./configure --prefix=/usr/local/mysql --with-extra-charsets=complex --enable-thread-safe-client --with-mysqld-ldflags=-all-static  --with-client-ldflags=-all-static  --with-debug --with-innodb --with-embedded-server
gmake
+15 −0
Original line number Diff line number Diff line
@@ -105,8 +105,23 @@ $|=1;
safe_cd("$host");
if ($opt_stage == 0 && ! $opt_use_old_distribution)
{
  my ($name);
  safe_system("gunzip < $opt_distribution | $tar xf -");

  # Fix file times; This is needed because the time for files may be
  # in the future
  system("touch timestamp; find $var -newer timestamp -print | xargs touch; rm -f timestamp");
  sleep(2);
  # Ensure that files we don't want to rebuild are newer than other files
  foreach $name ("configure",
		 "Docs/include.texi",
		 "Docs/*.html", "Docs/manual.txt", "Docs/mysql.info",
		 "sql/sql_yacc.h", "sql/sql_yacc.cc")
  {
    system("touch $name");
  }
}

safe_cd($ver);
if ($opt_stage <= 1)
{
+6 −3
Original line number Diff line number Diff line
@@ -7908,8 +7908,11 @@ The initial download of the source tree may take a while, depending on the
speed of your connection; be patient.
@item
You will need GNU @code{autoconf}, @code{automake}, @code{libtool}, and
@code{m4} to run the next set of commands.
You will need GNU @code{autoconf 2.13}, @code{automake 1.4},
@code{libtool}, and @code{m4} to run the next set of commands.
Note that the new versions of @code{autoconf} (2.52) and @code{automake}
(1.5) do not work.
If you get some strange error during this stage, check that you really
have @code{libtool} installed!
@@ -53420,7 +53423,7 @@ in the @code{mysql} mail archive, you should report the bug to
online at the @uref{http://www.mysql.com/documentation/, MySQL
documentation page}.
If you have started @code{mysqld} with @code{--with-myisam-recover},
If you have started @code{mysqld} with @code{myisam-recover},
MySQL will automatically check and try to repair @code{MyISAM}
tables if they are marked as 'not closed properly' or 'crashed'.  If
this happens, MySQL will write an entry in the
+1 −1
Original line number Diff line number Diff line
@@ -726,7 +726,7 @@ AC_MSG_CHECKING(for OpenSSL)
      openssl_includes="-I/usr/local/ssl/include"
      AC_DEFINE(HAVE_OPENSSL)
    else
      AC_MSG_RESULT(disabled because --with-vio wasn not used)
      AC_MSG_RESULT(disabled because --with-vio was not used)
    fi
  else
    AC_MSG_RESULT(no)
+0 −9
Original line number Diff line number Diff line
@@ -23,15 +23,6 @@

#define CLIENT_CAPABILITIES	(CLIENT_LONG_PASSWORD | CLIENT_LONG_FLAG | CLIENT_LOCAL_FILES)

#ifndef OS2
extern "C"
{
 int simple_command(MYSQL *mysql,enum enum_server_command command,
		    const char *arg, uint length, my_bool skipp_check);
  uint net_safe_read(MYSQL* mysql);
}
#endif

char server_version[SERVER_VERSION_LENGTH];
uint32 server_id = 0;

Loading