[MDEV-2946] LP:766870 - Assertion `next_insert_id == 0' failed with handlersocket Created: 2011-04-20 Updated: 2015-02-02 Resolved: 2012-10-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Philip Stoev (Inactive) | Assignee: | Michael Widenius |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | Launchpad | ||
| Attachments: |
|
| Description |
|
The test suite bundled with handlersocket causes maria-5.3 to assert as follows: mysqld: handler.cc:4795: int handler::ha_external_lock(THD*, int): Assertion `next_insert_id == 0' failed. #6 0x00000035a6e2b8b5 in __assert_fail () from /lib64/libc.so.6 This is not repeatable with the stock mysql (the test passes correctly). I could not test Percona server since handlersocket refuses to compile/load in debug builds. To reproduce: 1. compile with BUILD/compile-pentium64-debug-max 2. start mysqld cd mysql-test && LD_LIBRARY_PATH=../plugin/handler_socket/libhsclient/.libs MTR_VERSION=1 perl mysql-test-run.pl - 3. load handlersocket client/mysql -uroot --protocol=tcp --port=9306 -e 'INSTALL PLUGIN handlersocket soname "handlersocket.so"' 4. configure and compile the handlersocket perl module cd plugin/handler_socket/perl-Net-HandlerSocket && perl Makefile.PL 4. run handlersocket test suite cd plugin/handler_socket/regtest/test_01_lib && MYHOST=127.0.0.1 MYPORT=9306 LD_LIBRARY_PATH=../../libhsclient/.libs/ PERL5LIB=../common:../../perl-Net-HandlerSocket/lib:../../perl-Net-HandlerSocket/blib/arch/auto/Net/HandlerSocket/ ./run.sh |
| Comments |
| Comment by Philip Stoev (Inactive) [ 2011-04-25 ] |
|
Re: Assertion `next_insert_id == 0' failed with handlersocket |
| Comment by Philip Stoev (Inactive) [ 2011-05-08 ] |
|
Re: Assertion `next_insert_id == 0' failed with handlersocket |
| Comment by Rasmus Johansson (Inactive) [ 2011-06-09 ] |
|
Launchpad bug id: 766870 |