mirror of
				https://github.com/pocoproject/poco.git
				synced 2025-10-25 10:09:36 +02:00 
			
		
		
		
	fix(MySQL::Extractor): MySQL Extractor #2521
This commit is contained in:
		| @@ -246,6 +246,10 @@ std::size_t ResultMetadata::length(std::size_t pos) const | ||||
|  | ||||
| const unsigned char* ResultMetadata::rawData(std::size_t pos) const  | ||||
| { | ||||
| 	if ((_lengths[pos] == 0) && (_row[pos].buffer == nullptr)) | ||||
| 		return reinterpret_cast<const unsigned char*>(""); | ||||
| 	else | ||||
| 		poco_check_ptr (_row[pos].buffer); | ||||
| 	return reinterpret_cast<const unsigned char*>(_row[pos].buffer); | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Alex Fabijanic
					Alex Fabijanic