Comment 12 for bug 385808

Revision history for this message
Stewart Smith (stewart) wrote :

tested on latest tree, still hits assert:
drizzled: sql_base.cc:1520: Table* Session::open_table(TableList*, bool*, uint32_t): Assertion `!table->auto_increment_field_not_null' failed.

#2 0x00007fade5920f09 in *__GI___assert_fail (
    assertion=0x84ac30 "!table->auto_increment_field_not_null",
    file=0x84a669 "sql_base.cc", line=1520,
    function=0x84b2e0 "Table* Session::open_table(TableList*, bool*, uint32_t)") at assert.c:78
#3 0x000000000053ff2e in Session::open_table (this=0x24976e0,
    table_list=0x2921508, refresh=0x7faddf41638f, flags=0) at sql_base.cc:1520
#4 0x00000000005401fb in Session::open_tables_from_list (this=0x24976e0,
    start=0x7faddf4163b0, counter=0x7faddf4163c8, flags=0) at sql_base.cc:2301
#5 0x000000000051531c in Session::open_and_lock_tables (this=0x24976e0,
    tables=0x2921508) at session.cc:2028
#6 0x000000000055b721 in execute_sqlcom_select (session=0x24976e0,
    all_tables=0x2921508) at sql_parse.cc:1373
#7 0x000000000040eaf1 in drizzled::command::Select::execute (this=0x2492130)
    at command/select.cc:29
#8 0x000000000055ea31 in mysql_execute_command (session=0x24976e0)
    at sql_parse.cc:1330
#9 0x000000000055ec34 in mysql_parse (session=0x24976e0,
    inBuf=0x2921390 "select * from t1", length=16,
    found_semicolon=0x7faddf416ff8) at sql_parse.cc:1641