On Thu 2003-03-20 at 15:59:29 +0100, [EMAIL PROTECTED] wrote: > Hi, > > I was upgrading from 4.0.10 to 4.0.12 when a strange thing happened. I > compiled from source on SuSE-8.0 (gcc version 2.95.3, kernel 2.4.18-4GB) > and installed and everything was fine. However I noticed that I had > debugging compiled in. > > I went back, took out --with-debug from my configure options and > recompiled. The resulting mysqld did no longer start up but quit with the > following message in error.log: > > 030320 09:02:00 mysqld started > InnoDB: Error: trx_t size is 416 in ha_innodb.cc but 456 in srv0start.c > InnoDB: Check that pthread_mutex_t is defined in the same way in these > InnoDB: compilation modules. Cannot continue. > 030320 9:02:00 Can't init databases > 030320 9:02:00 Aborting > > How strange; I deleted all InnoDB files in the data directory. Same > result. Then I recompiled again adding the option --with-debug and it > started ok creating all necessary files. > > What is wrong here?
Such a config change requires to do a full recompile (make distclean or whatever), which you apparently did not. HTH, Benjamin. -- [EMAIL PROTECTED] --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php