Commit 2d5db53
committed
Simplify NEXTVAL(sequence) when used with DEFAULT
Instead of adding another TABLE_LIST to
Item_func_nextval->table_list->next_local, update instead
Item_func_nextval->table_list->table with the correct table.
This removes all checking of table_list->table and table_list->next_local
when using sequences.1 parent 93ba9df commit 2d5db53
3 files changed
+13
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4448 | 4448 | | |
4449 | 4449 | | |
4450 | 4450 | | |
4451 | | - | |
| 4451 | + | |
4452 | 4452 | | |
4453 | 4453 | | |
4454 | 4454 | | |
| |||
4478 | 4478 | | |
4479 | 4479 | | |
4480 | 4480 | | |
4481 | | - | |
4482 | | - | |
4483 | | - | |
4484 | | - | |
4485 | | - | |
4486 | | - | |
4487 | | - | |
4488 | | - | |
| 4481 | + | |
| 4482 | + | |
4489 | 4483 | | |
4490 | 4484 | | |
4491 | 4485 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2446 | 2446 | | |
2447 | 2447 | | |
2448 | 2448 | | |
| 2449 | + | |
| 2450 | + | |
| 2451 | + | |
| 2452 | + | |
| 2453 | + | |
2449 | 2454 | | |
2450 | 2455 | | |
2451 | 2456 | | |
| |||
5068 | 5073 | | |
5069 | 5074 | | |
5070 | 5075 | | |
5071 | | - | |
| 5076 | + | |
5072 | 5077 | | |
5073 | 5078 | | |
5074 | 5079 | | |
| |||
5083 | 5088 | | |
5084 | 5089 | | |
5085 | 5090 | | |
5086 | | - | |
5087 | | - | |
| 5091 | + | |
| 5092 | + | |
5088 | 5093 | | |
5089 | | - | |
| 5094 | + | |
5090 | 5095 | | |
5091 | 5096 | | |
5092 | 5097 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2581 | 2581 | | |
2582 | 2582 | | |
2583 | 2583 | | |
| 2584 | + | |
2584 | 2585 | | |
2585 | 2586 | | |
2586 | 2587 | | |
| |||
0 commit comments