From 84775b98045a066e6d6a60d0e2eccc1b3ddcab50 Mon Sep 17 00:00:00 2001
From: Bob Vincent <bobvin@pillars.net>
Date: Thu, 7 Jul 2011 14:31:10 -0400
Subject: [PATCH] Document limited array argument length in node_load_multiple() function.

---
 modules/node/node.module |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/modules/node/node.module b/modules/node/node.module
index 8476970203c6aeeae6d4e5348465d796d775bef8..f7c4642db3a227c559e682aa9e2ce5d96e9b8bb9 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -884,7 +884,10 @@ function node_invoke($node, $hook, $a2 = NULL, $a3 = NULL, $a4 = NULL) {
  *
  * This function should be used whenever you need to load more than one node
  * from the database. Nodes are loaded into memory and will not require
- * database access if loaded again during the same page request.
+ * database access if loaded again during the same page request. Since this
+ * happens in a single query, the length of the argument array should be limited
+ * to avoid errors due to excessive query length, too many placeholders, or lack
+ * of physical RAM.
  *
  * @see entity_load()
  * @see EntityFieldQuery
-- 
1.7.4.1

