Result + 1 >= MaxDestBytes, Result = 4, MaxDestBytes = 4
Result + 1 >= MaxDestBytes, Result = 4, MaxDestBytes = 4
Result + 1 >= MaxDestBytes, Result = 4, MaxDestBytes = 4
any idea about this error?
when I set UseUnicode to true I got this message to one of my queries.
any idea about this error?
when I set UseUnicode to true I got this message to one of my queries.
This is MySQL Server bug. It's related to using property UseUnicode=True. Server returns wrong field length in this mode. Unfortunately we can't fix this bug. Please see this topic.
until mysql fix this problem can you please add a small property
IgnoreReturnLength or something similar?
also I would like to point me a URL that shows that mysql bug, from mysql.com site.
Can you provide us a solution or we have to make a research for another DAC component? We just CANT work with it.
IgnoreReturnLength or something similar?
also I would like to point me a URL that shows that mysql bug, from mysql.com site.
Can you provide us a solution or we have to make a research for another DAC component? We just CANT work with it.
This bug concerns only MySQL 4.1 and 5.0 and does not concerns MySQL 4.0. As we can see (http://bugs.mysql.com/bug.php?id=16678), it will be fixed in nearest time by MySQL AB.
Also, we will try to avoid this problem in nearest MyDAC build.
As temporary solution you can use something like this:
instead of
Also, we will try to avoid this problem in nearest MyDAC build.
As temporary solution you can use something like this:
Code: Select all
'SELECT DATE_FORMAT(''2006-01-01'',''%m %Y' ')'Code: Select all
'SELECT DATE_FORMAT(''2006-01-01'',''%m %Y'')'my query is
what can I do as temporary solution?
i use v5.0 or 4.1 cause I have subqueries, I cant use 4 !
Thanks
Code: Select all
select * from (select
prepay_offers.*, date_format(now(), '%H:%i') as timenow,
case
when offertype = 'NORMAL' then
cast(concat(prepay_offers.description, ' (' , format(prepay_offers.price, 2), ' +', format(prepay_offers.a_price, 2), ')') as char(64))
when offertype ='RANGE' then
cast(concat(prepay_offers.description, ' ', format(prepay_offers.price, 2), ' (', fromtime, '-', totime, ')') as char(64))
end as description1
from
prepay_offers
order by
prepay_offers.position asc) as inlinequery
where
(offertype = 'NORMAL')
or ((offertype = 'RANGE') and (timenow >= fromtime and timenow <= totime))
i use v5.0 or 4.1 cause I have subqueries, I cant use 4 !
Thanks