Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: The ndb_mgmd crash at storage/ndb/src/mgmsrv/ConfigInfo.cpp

From: Liang Chen <clzzclzz(at)gmail.com>
Date: Fri Aug 10 2007 - 02:30:24 EDT


Here is my ./configure options
$ ./configure --prefix=/home/liang/mysql --with-ndb-test --with-ndb-port --with-plugin-ndbcluster --with-debug

Oh ... I have understood it . I didn't set a value at -with-ndb-port , thank you...^_^

On 8/9/07, Stewart Smith <stewart@mysql.com> wrote:
> On Wed, 2007-08-08 at 15:57 +0800, Liang Chen wrote:
> > Why the NDB_PORT is yes ?
> >
> > #define NDB_PORT "yes" storage/ndb/include/ndb_global.h
>
> what are you ./configure options? likely that something is "yes" when it
> should be a number, and this is causing problems...
>
> Should be 1186 or something by default.
>
> > This is the output of gdb:
> >
> > (gdb)
> > 2311 switch (param._type)
> > (gdb)
> > 2327
> > require(InitConfigFileParser::convertStringToUint64(param._default,
> > default_uint64));
> > (gdb) p param._default
> > $5 = 0x80aaa66 "yes"
>
> "yes" ain't an integer like "1186" :)
>
> > (gdb) p param._type
> > $6 = CI_INT
>
> which means should be int.
> --
> Stewart Smith, Senior Software Engineer
> MySQL AB, www.mysql.com
> Office: +14082136540 Ext: 6616
> VoIP: 6616@sip.us.mysql.com
> Mobile: +61 4 3 8844 332
>
> Jumpstart your cluster:
> http://www.mysql.com/consulting/packaged/cluster.html
>
>

-- 
Sincerely,
liang

-- 
MySQL Internals Mailing List
For list archives: 
http://lists.mysql.com/internals
To unsubscribe:    
http://lists.mysql.com/internals?unsub=lists@pantek.com
Received on Fri Aug 10 02:30:31 2007

This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 07:59:11 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library