← Back to team overview

maria-developers team mailing list archive

Re: Row-based replication of old DECIMAL to new DECIMAL

 

On Tue, Dec 23, 2014 at 8:17 AM, Alexander Barkov <bar@xxxxxxxxxxx> wrote:

> RBR does mark that this is the old pre-5.0 format.
> so the slave knows that it is an old DECIMAL.
>
> But it does not know which exactly DECIMAL(M,N),
> because M and N are not available.
>

But aren't M and N available on the slave itself? Although tables in
replication do not have to be identical, it is reasonable to expect the
precision and scale to be the same between source and target tables.

- Davi

References