[MDEV-5735] Selecting from SEQUENCE table with negative number hangs server Created: 2014-02-25 Updated: 2014-03-04 Resolved: 2014-03-04 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.8 |
| Fix Version/s: | 10.0.9 |
| Type: | Bug | Priority: | Major |
| Reporter: | Kolbe Kegel (Inactive) | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
mariadb-10.0.8-linux-x86_64 from tarball on CentOS 6.5 |
||
| Description |
|
This command causes the connection to hang:
It is possible for other threads to connect to the server, but the thread executing the SELECt statement is hung.
|
| Comments |
| Comment by Kolbe Kegel (Inactive) [ 2014-02-25 ] |
|
It'd be neat if the SEQUENCE engine simply supported sequences that included negative values |
| Comment by Elena Stepanova [ 2014-02-25 ] |
|
I don't think it actually hangs, it just selects from 18446744073709551615 to 10 which isn't going to be easy for the client. |
| Comment by Kolbe Kegel (Inactive) [ 2014-02-25 ] |
|
Aha! You're right of course. I would've seen that immediately if I'd been running the client with --quick. Sorry for the confusion! |