[#2842] Sybase CAST(? AS LONG VARCHAR) must not contain a length
This commit is contained in:
parent
23d70004cd
commit
8084bae5d4
@ -252,6 +252,13 @@ class Val<T> extends AbstractParam<T> {
|
||||
toSQLCast(context, dataType, getValueLength(), 0, 0);
|
||||
}
|
||||
|
||||
/* [pro] xx
|
||||
xx xxxxxxx xxxx xxxx xxxxx xxxxxx xxx xx xxxx xx xxx xxxxxx xx xxxx xxxxxxxx
|
||||
xxxx xx xxxxx xx xxxxxxxxxxxxxxxxxxxxxxx xx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx x
|
||||
xxxxxxxxxxxxxxxxxx xxxxxxxxx xx xx xxx
|
||||
x
|
||||
xx [/pro] */
|
||||
|
||||
// In all other cases, the bind variable can be cast normally
|
||||
else {
|
||||
toSQLCast(context, dataType, dataType.length(), dataType.precision(), dataType.scale());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user