| Mailing List | | Home | | MySQL General - General MySQL discussion | | MaxDB - Everything about MaxDB, formerly known as SAP DB | | MySQL on Win32 - Runing MySQL on Windows 9x/Me/NT/2000/XP | | ODBC - ODBC with the MySQL Connector/ODBC driver | | MySQL++ - Programming with the C++ API to MySQL | | Java Help - Mostly related to the MySQL Connector/J driver | | Perl - Perl support for MySQL with DBI and DBD::mysql | | GUI - MySQL GUI Tools | | Announcement |
|
|
  | |  | Problem with LONG BYTE | Problem with LONG BYTE 2004-03-12 - By Dusan Kolesar
Back Hello,
I 'm using SapDB 7.4.3 BUILD 031-123-060-910 WinXp.
I 'm using LONG BYTE column for storing .jpg images in my database.
But when I unload LONG values back into the file,
the new file is sometimes different like original.
When the file size is under about 132k my images are OK.
Bu When it is more then 133k images are changed.
It seems that some parts of file are duplicated.
My client application is developed using Delphi7 and
I 'm connected to database via ODBC.
I doubt that the problem is in writing LONG collumns into DB,
because if I read some image from DB using loadercli, the result is
corupted.
In my Delphi project I 'm using SqlConnection and I 'm setting
parameters of SqlCommand as ASCII hexadecimal bytes values (1byte -
2characters).
Please help me, if you have some experience with this.
Regards, Dusan
--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe: http://lists.mysql.com/maxdb?unsub=mysql@(protected)
|
|
 |