Bug #17813 CREATE TABLE limited to 4096 characters for NDB tables
Submitted: 1 Mar 2006 2:28 Modified: 27 Mar 2006 11:59
Reporter: Jonathan Miller Email Updates:
Status: Closed Impact on me:
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S1 (Critical)
Version:5.1.8 OS:Linux (Linux 32 Bit OS)
Assigned to: Pekka Nousiainen CPU Architecture:Any

[1 Mar 2006 2:28] Jonathan Miller

Sorry but the table create is to big to post here.

Core Back Trace:

#0  0x00a28372 in pthread_getspecific () from /lib/libpthread.so.0
#1  0x081d365c in handle_segfault (sig=11) at mysql_priv.h:477
#2  <signal handler called>
#3  0x0091e86c in memcpy () from /lib/libc.so.6
#4  0x0835229a in ndbcluster_log_schema_op (thd=0x27393930, share=0x3830272c,
    query=0x30303135 <Address 0x30303135 out of bounds>, query_length=807873575,
    db=0x30313538 <Address 0x30313538 out of bounds>,
    table_name=0x272c2731 <Address 0x272c2731 out of bounds>, ndb_table_id=825571376,
    ndb_table_version=740766256, type=892874791) at ha_ndbcluster_binlog.cc:874

How to repeat:
./mysql-test-run --force --mysqld=--default-storage-engine=ndb --with-ndbcluster-all --ndb-extra-test --do-test=type_enum
[7 Mar 2006 14:27] Tomas Ulin
issue is that there is only allocated space for query to be 4094 characters long
[23 Mar 2006 10:13] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

[27 Mar 2006 11:59] Jon Stephens
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at

Additional info:

Documented in 5.1.8 changelog, 5.1 Cluster Limitations. Closed.
[27 Mar 2006 12:00] Jon Stephens
Updated synopsis.