Hi!
>>>>> "Andrew" == Andrew Sitnikov <[EMAIL PROTECTED]> writes:

Andrew> Hello Michael,
Andrew> Crash with 'show variables;'

Andrew> configure:

Andrew> CC=gcc \
Andrew> CFLAGS="-O6 -fomit-frame-pointer" \
Andrew> CXX=gcc \
Andrew> CXXFLAGS="-O6 -march=i686 -fomit-frame-pointer -fno-exceptions -fno-rtti 
-felide-constructors " \
Andrew>  ./configure \
Andrew>  --enable-assembler \
Andrew>  --disable-shared \
Andrew>  --with-mysqld-ldflags="-all-static" \
Andrew>  --with-client-ldflags="-all-static" \
Andrew>  --with-unix-socket-path=/tmp/mysql.sock \
Andrew>  --with-charset=win1251 \
Andrew>  --prefix=/usr/local/$mysql_ver \
Andrew>  --datadir=/export/mysql \
Andrew>  --with-extra-charsets=all \ 
Andrew>  --with-berkeley-db \
Andrew>  --with-innobase

Thanks for the bug report;  This could happen when
innobase_data_file_path was not properly set.

Here is a patch for this.

===== sql/mysqld.cc 1.149 vs edited =====
2718a2719,2726
> #ifdef HAVE_INNOBASE_DB
>   {"innobase_data_file_path", (char*) &innobase_data_file_path,           
>SHOW_CHAR_PTR},
>   {"innobase_data_home_dir",  (char*) &innobase_data_home_dir,            
>SHOW_CHAR_PTR},
>   {"innobase_flush_log_at_trx_commit", (char*) &innobase_flush_log_at_trx_commit, 
>SHOW_MY_BOOL},
>   {"innobase_log_arch_dir",   (char*) &innobase_log_arch_dir,             
>SHOW_CHAR_PTR},
>   {"innobase_log_archive",    (char*) &innobase_log_archive,      SHOW_MY_BOOL},
>   {"innobase_log_group_home_dir", (char*) &innobase_log_group_home_dir, 
>SHOW_CHAR_PTR},
> #endif
2964c2972
< #endif
---
> #endif /* HAVE_BERKELEY_DB */
2967c2975,2982
<   --skip-innobase       Don't use innobase (will save memory)\n\
---
>   --innobase_data_home_dir=dir   The common part for innobase table spaces\n
>   --innobase_data_file_path=dir  Path to individual files and their sizes\n
>   --innobase_flush_log_at_trx_commit[=#]
>                                Set to 0 if you don't want to flush logs\n\
>   --innobase_log_arch_dir=dir  Where full logs should be archived\n\
>   --innobase_log_archive[=#]   Set to 1 if you want to have logs archived\n\
>   --innobase_log_group_home_dir=dir  Path to Innobase log files.
>   --skip-innobase              Don't use innobase (will save memory)\n\
2969c2984
< #endif
---
> #endif /* HAVE_INNOBASE_DB */


---------------------------------------------------------------------
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

Reply via email to