svnno****@sourc*****
svnno****@sourc*****
2008年 2月 12日 (火) 10:43:16 JST
Revision: 103 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=tritonn&view=rev&rev=103 Author: mir Date: 2008-02-12 10:43:16 +0900 (Tue, 12 Feb 2008) Log Message: ----------- Bugfix: show_senna_status caused crash by assertion failure if configured with --with-debug. (Thanks to Kazuho Oku.) Modified Paths: -------------- tags/tritonn-1.0.10-mysql-5.0.51a/sql/sql_show.cc Modified: tags/tritonn-1.0.10-mysql-5.0.51a/sql/sql_show.cc =================================================================== --- tags/tritonn-1.0.10-mysql-5.0.51a/sql/sql_show.cc 2008-02-08 10:30:39 UTC (rev 102) +++ tags/tritonn-1.0.10-mysql-5.0.51a/sql/sql_show.cc 2008-02-12 01:43:16 UTC (rev 103) @@ -4589,13 +4589,13 @@ protocol->store(key->senna_flags & SEN_INDEX_SPLIT_ALPHA ? "ON" : "OFF", system_charset_info); protocol->store(key->senna_flags & SEN_INDEX_SPLIT_DIGIT ? "ON" : "OFF", system_charset_info); protocol->store(key->senna_flags & SEN_INDEX_SPLIT_SYMBOL ? "ON" : "OFF", system_charset_info); - protocol->store((uint32) key->senna_initial_n_segments); - protocol->store((uint32) key->senna_keys_size); - protocol->store((uint32) key->senna_keys_file_size); - protocol->store((uint32) key->senna_lexicon_size); - protocol->store((uint32) key->senna_lexicon_file_size); - protocol->store((uint32) key->senna_inv_seg_size); - protocol->store((uint32) key->senna_inv_chunk_size); + protocol->store((longlong) key->senna_initial_n_segments); + protocol->store((longlong) key->senna_keys_size); + protocol->store((longlong) key->senna_keys_file_size); + protocol->store((longlong) key->senna_lexicon_size); + protocol->store((longlong) key->senna_lexicon_file_size); + protocol->store((longlong) key->senna_inv_seg_size); + protocol->store((longlong) key->senna_inv_chunk_size); if (protocol->write()) DBUG_RETURN(TRUE); } }