MySQL Forums
Forum List  »  Connector/ODBC

Re: Mysql ODBC 8.0.15 SQLFetch returns SQL_NO_DATA for a Select query with where clause if one of the selected fields is blob. Works fine for 5.3.6
Posted by: Sunny Taksande
Date: February 20, 2019 06:22AM

Following are the create and insert statements -

CREATE
-------
CREATE TABLE `b306_blob_last` (
`Num` smallint(6) NOT NULL,
`Alpha` varchar(10) CHARACTER SET latin1 DEFAULT NULL,
`myBlob` mediumblob,
UNIQUE KEY `MR_BlbLst_Num` (`Num`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

INSERTS
--------

INSERT INTO `b306_blob_last` VALUES (1,NULL,_binary 'This text file is used to create the blob data in all background applications so do not delete it from Background directory...........This text file is used to create the blob data in all background applications so do not delete it from Background directory...........This text file is used to create the blob data in all background applications so do not delete it from Background directory...........This text file is used to create the blob data in all background applications so do not delete it from Background directory...........This text file is used to create the blob data in all background applications so do not delete it from Background directory...........This text file is used to create the blob data in all background applications so do not delete it from Background directory...........This text file is used to create the blob data in all background applications so do not delete it from Background directory...........This text file is used to create the blob data in all background applications so do not delete it from Background directory...........This text file is used to create the blob data in all background applications so do not delete it from Background directory...........This text file is used to create the blob data in all background applications so do not delete it from Background directory........... \r\n========================================================================================================================== '),(2,'Rec - 2',_binary 'This text file is used to create the blob data in all background applications so do not delete it from Background directory...........This text file is used to create the blob data in all background applications so do not delete it from Background directory...........This text file is used to create the blob data in all background applications so do not delete it from Background directory...........This text file is used to create the blob data in all background applications so do not delete it from Background directory...........This text file is used to create the blob data in all background applications so do not delete it from Background directory...........This text file is used to create the blob data in all background applications so do not delete it from Background directory...........This text file is used to create the blob data in all background applications so do not delete it from Background directory...........This text file is used to create the blob data in all background applications so do not delete it from Background directory...........This text file is used to create the blob data in all background applications so do not delete it from Background directory...........This text file is used to create the blob data in all background applications so do not delete it from Background directory........... \r\n========================================================================================================================== '),(3,NULL,_binary 'This text file is used to create the blob data in all background applications so do not delete it from Background directory...........This text file is used to create the blob data in all background applications so do not delete it from Background directory...........This text file is used to create the blob data in all background applications so do not delete it from Background directory...........This text file is used to create the blob data in all background applications so do not delete it from Background directory...........This text file is used to create the blob data in all background applications so do not delete it from Background directory...........This text file is used to create the blob data in all background applications so do not delete it from Background directory...........This text file is used to create the blob data in all background applications so do not delete it from Background directory...........This text file is used to create the blob data in all background applications so do not delete it from Background directory...........This text file is used to create the blob data in all background applications so do not delete it from Background directory...........This text file is used to create the blob data in all background applications so do not delete it from Background directory........... \r\n========================================================================================================================== '),(4,'Rec - 4',_binary 'This text file is used to create the blob data in all background applications so do not delete it from Background directory...........This text file is used to create the blob data in all background applications so do not delete it from Background directory...........This text file is used to create the blob data in all background applications so do not delete it from Background directory...........This text file is used to create the blob data in all background applications so do not delete it from Background directory...........This text file is used to create the blob data in all background applications so do not delete it from Background directory...........This text file is used to create the blob data in all background applications so do not delete it from Background directory...........This text file is used to create the blob data in all background applications so do not delete it from Background directory...........This text file is used to create the blob data in all background applications so do not delete it from Background directory...........This text file is used to create the blob data in all background applications so do not delete it from Background directory...........This text file is used to create the blob data in all background applications so do not delete it from Background directory........... \r\n========================================================================================================================== '),(5,NULL,_binary 'This text file is used to create the blob data in all background applications so do not delete it from Background directory...........This text file is used to create the blob data in all background applications so do not delete it from Background directory...........This text file is used to create the blob data in all background applications so do not delete it from Background directory...........This text file is used to create the blob data in all background applications so do not delete it from Background directory...........This text file is used to create the blob data in all background applications so do not delete it from Background directory...........This text file is used to create the blob data in all background applications so do not delete it from Background directory...........This text file is used to create the blob data in all background applications so do not delete it from Background directory...........This text file is used to create the blob data in all background applications so do not delete it from Background directory...........This text file is used to create the blob data in all background applications so do not delete it from Background directory...........This text file is used to create the blob data in all background applications so do not delete it from Background directory........... \r\n========================================================================================================================== ');

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.