[MDEV-12238] Add Type_handler::Item_func_{plus|minus|mul|div|mod}_fix_length_and_dec() Created: 2017-03-13 Updated: 2017-04-13 Resolved: 2017-04-13 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | OTHER |
| Fix Version/s: | 10.3.0 |
| Type: | Task | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Sprint: | 10.2.6-2, 10.2.6-3 | ||||||||
| Description |
|
The following methods:
use methods cmp_type() and result_type() of their arguments. Under term of this task we'll split implementations of these methods into new methods in Type_handler:
Pluggable data types should be able to define their own fix_length_and_dec() logic. We'll also make the server return an error when a GOMETRY type expression appears as an argument of the affected operations. |
| Comments |
| Comment by Alexey Botchkov [ 2017-04-08 ] |
|
ok to push. |
| Comment by Alexander Barkov [ 2017-04-13 ] |
|
Pushed to bb-10.2-ext and 10.3.0. |