OQGRAPH errors with MySQL 5.1.42
With MySQL 5.1.42 and the lp:oqgraph checkout, I get the following problems:
1. With binary logging enabled, I get this message when I try to insert:
ERROR 1598 (HY000): Binary logging not possible. Message: Statement cannot be logged to the binary log in row-based nor statement-based format.
2. If MySQL is restarted and then an OQGRAPH table is accessed, INSERT or SELECT tried, without dropping and recreating, MySQL will crash.
100114 15:27:11 - mysqld got signal 11 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help diagnose
the problem, but since we have already crashed, something is definitely wrong
and this may fail.
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 133885 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
stack_bottom = 0x7ffc6937b0f0 thread_stack 0x40000
/usr/lib64/mysql/plugin/oqgraph_engine.so(ha_oqgraph::open(char const*, int, unsigned int)+0x24) [0x7ffc75c18834]
/usr/sbin/mysqld(handler::ha_open(st_table*, char const*, int, int)+0x3f) [0x6a8cdf]
/usr/sbin/mysqld(open_table_from_share(THD*, st_table_share*, char const*, unsigned int, unsigned int, unsigned int, st_table*, bool)+0x559) [0x6213c9]
/usr/sbin/mysqld(open_table(THD*, TABLE_LIST*, st_mem_root*, bool*, unsigned int)+0x6e7) [0x61c677]
/usr/sbin/mysqld(open_tables(THD*, TABLE_LIST**, unsigned int*, unsigned int)+0x53b) [0x61d16b]
/usr/sbin/mysqld(open_and_lock_tables_derived(THD*, TABLE_LIST*, bool)+0x62) [0x61d3b2]
/usr/sbin/mysqld(mysql_parse(THD*, char const*, unsigned int, char const**)+0x20b) [0x5e7b5b]
/usr/sbin/mysqld(dispatch_command(enum_server_command, THD*, char*, unsigned int)+0xb56) [0x5e99e6]
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort...
thd->query at 0x19fa1f0 = select linkid,weight,seq from dist_tree where origid=17 and latch=2 and weight=7
The manual page at http://dev.mysql.com/doc/mysql/en/crashing.html contains
information that should help you find out what is causing the crash.