Commit 90791300 by Scott

Merge pull request #371 from q2apro/patch-1

Only fetch 1 blob at a time
parents d8a380f4 3e226746
...@@ -392,7 +392,7 @@ ...@@ -392,7 +392,7 @@
*/ */
{ {
return qa_db_read_one_assoc(qa_db_query_sub( return qa_db_read_one_assoc(qa_db_query_sub(
'SELECT blobid, content, format FROM ^blobs WHERE blobid>=# AND content IS NOT NULL', 'SELECT blobid, content, format FROM ^blobs WHERE blobid>=# AND content IS NOT NULL LIMIT 1',
$startblobid $startblobid
), true); ), true);
} }
...@@ -421,4 +421,4 @@ ...@@ -421,4 +421,4 @@
/* /*
Omit PHP closing tag to help avoid accidental output Omit PHP closing tag to help avoid accidental output
*/ */
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment