[MDEV-4696] Sequence require that a db is selected Created: 2013-06-22 Updated: 2013-12-23 Resolved: 2013-06-24 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.3 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Trivial |
| Reporter: | Federico Razzoli | Assignee: | Sergei Golubchik |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | None | ||
| Description |
|
With no default database:
If this is the correct behavior, maybe it would be better to document it? |
| Comments |
| Comment by Sergei Golubchik [ 2013-06-24 ] |
|
Yes, it's the correct behavior. sequence tables, while virtual, are still tables, and they can exist only in a database. |
| Comment by Federico Razzoli [ 2013-12-23 ] |
|
I noticed that even SELECT * FROM db_name.seq_1_to_10 fails, if no db is selected. This seems to me strange, because db_name should be used. |