You are not logged in.
Pages: 1
Hi ab,
everything runs fine, but since Yesterday we get a database error i can not identify / don't know what to do with
The Errormessage is this:
SynDBZeos.TSQLDBZEOSStatement(061AE280) update BinaerdatenRecord set CreationDate=0,LastEditDate=135469259944,GUID='{90944806-B92D-C7C9-1CFE-99CF08C3C3AA}',Binaerdaten=*BLOB*,Datenformat='image/jpeg',GroesseInByte=90112 where ID=80358
EZSQLException ("SQL Error: Can't send long data for non-string/non-binary data types (parameter: 3)")
SynDBZeos.TSQLDBZEOSStatement(062D0AB0) update BinaerdatenRecord set LastEditDate=135469259945,Binaerdaten=*BLOB*,GroesseInByte=122880 where ID=80359
EZSQLException ("SQL Error: Can't send long data for non-string/non-binary data types (parameter: 1)")
Our Environment ist libZEOS - 7.3 V5275
mORMot latest Version
Our Database is a MySQL 5.7.19
We have a simple TSQLRecord with 1 TSQLRawBlob called "Binaerdaten"
Does you or anybody have a clue for us ?
Rad Studio 12.1 Santorini
Offline
I think so too, but the Query is generated by mORMot on Server after Update Request from REST Client.
And as Hint the Query works after the Transfer is restarted on the client.
The field binaerdaten is a mediumblob on MySQL Server
Can there be Problem with the ZEOS Lib ?
Rad Studio 12.1 Santorini
Offline
AFAIK usage of ZEOS 7.3 is risky (in one of my bugreport (ZEOS bugtracker at sourceforge) some time ago I was warned that I should use 7.2). The recommended version is https://sourceforge.net/p/zeoslib/code- … .2-patches
Anyway whatever was said I was using selected 7.3 with important fixes for me ( PostgreSQL ). You can try to isolate minimal test case and use ZEOS bugtracker at sourceforge to report the problem.
Last edited by hnb (2018-11-13 21:55:54)
best regards,
Maciej Izak
Offline
Thank you we already changed the zeos version but not the branch - I'll try it with the one you said.
Rad Studio 12.1 Santorini
Offline
We tested the 7.2-patches branch and the error has gone.
Rad Studio 12.1 Santorini
Offline
Resolved in SVN (Trunk/testing-7.3)
TestCase added, sorry for the inconsistency..
Everything *new* might be risky but without a testcase/ticket on the bugtracker or a post in the zeos forum you shouldn't expect help immidiately.
Have fun
Offline
ty egonhugeist
next time i'll create login for zeos bug tracker an post it there
Rad Studio 12.1 Santorini
Offline
Pages: 1