-
-
Save doctrinebot/b7c30f5f19e61f9c39a5 to your computer and use it in GitHub Desktop.
Attachments to Doctrine Jira Issue DBAL-194 - https://github.com/doctrine/dbal/issues/1365
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/Doctrine/DBAL/Types/BlobType.php b/lib/Doctrine/DBAL/Types/BlobType.php | |
index 4af57ae..6e2825f 100644 | |
--- a/lib/Doctrine/DBAL/Types/BlobType.php | |
+++ b/lib/Doctrine/DBAL/Types/BlobType.php | |
@@ -56,4 +56,9 @@ class BlobType extends Type | |
{ | |
return Type::BLOB; | |
} | |
-} | |
\ No newline at end of file | |
+ | |
+ public function getBindingType() | |
+ { | |
+ return \PDO::PARAM_LOB; | |
+ } | |
+} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment