mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge remote-tracking branch 'connect/10.2' into 10.2
This commit is contained in:
@@ -206,6 +206,7 @@ void VALBLK::ChkIndx(int n)
|
||||
{
|
||||
if (n < 0 || n >= Nval) {
|
||||
PGLOBAL& g = Global;
|
||||
xtrc(1, "ChkIndx: n=%d Nval=%d\n", n, Nval);
|
||||
strcpy(g->Message, MSG(BAD_VALBLK_INDX));
|
||||
throw Type;
|
||||
} // endif n
|
||||
@@ -216,7 +217,8 @@ void VALBLK::ChkTyp(PVAL v)
|
||||
{
|
||||
if (Check && (Type != v->GetType() || Unsigned != v->IsUnsigned())) {
|
||||
PGLOBAL& g = Global;
|
||||
strcpy(g->Message, MSG(VALTYPE_NOMATCH));
|
||||
xtrc(1, "ChkTyp: Type=%d valType=%d\n", Type, v->GetType());
|
||||
strcpy(g->Message, MSG(VALTYPE_NOMATCH));
|
||||
throw Type;
|
||||
} // endif Type
|
||||
|
||||
|
Reference in New Issue
Block a user