diff options
Diffstat (limited to 'includes/database.inc')
-rw-r--r-- | includes/database.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/database.inc b/includes/database.inc index d82f94d00..95e09feb5 100644 --- a/includes/database.inc +++ b/includes/database.inc @@ -199,7 +199,7 @@ function _db_query_callback($match, $init = FALSE) { * The Schema API type of a field (e.g. 'int', 'text', or 'varchar'). */ function db_placeholders($arguments, $type = 'int') { - $placeholder = _db_type_placeholder($type); + $placeholder = db_type_placeholder($type); return implode(',', array_fill(0, count($arguments), $placeholder)); } @@ -487,7 +487,7 @@ function db_field_names($fields) { * @return * The placeholder string to embed in a query for that type. */ -function _db_type_placeholder($type) { +function db_type_placeholder($type) { switch ($type) { case 'varchar': case 'text': @@ -516,7 +516,7 @@ function _db_type_placeholder($type) { // There is no safe value to return here, so return something that // will cause the query to fail. - return 'unsupported type '. $type .'for _db_type_placeholder'; + return 'unsupported type '. $type .'for db_type_placeholder'; } /** |