Unverified Commit cca361f8 by Scott Committed by GitHub

Merge pull request #735 from pupi1985/patch-126

Treat blob ids as strings due to size limitations
parents bd18efcc a879ccf6
...@@ -44,7 +44,7 @@ function qa_db_cache_set($type, $cacheid, $content) ...@@ -44,7 +44,7 @@ function qa_db_cache_set($type, $cacheid, $content)
); );
qa_db_query_sub( qa_db_query_sub(
'INSERT INTO ^cache (type, cacheid, content, created, lastread) VALUES ($, #, $, NOW(), NOW()) ' . 'INSERT INTO ^cache (type, cacheid, content, created, lastread) VALUES ($, $, $, NOW(), NOW()) ' .
'ON DUPLICATE KEY UPDATE content = VALUES(content), created = VALUES(created), lastread = VALUES(lastread)', 'ON DUPLICATE KEY UPDATE content = VALUES(content), created = VALUES(created), lastread = VALUES(lastread)',
$type, $cacheid, $content $type, $cacheid, $content
); );
......
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