Closed (outdated)
Project:
Drupal core
Version:
6.x-dev
Component:
database system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 May 2007 at 16:41 UTC
Updated:
2 Mar 2016 at 22:18 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
chx commentedDowngrading and adding %u tothe regexp too.
Comment #2
dries commentedCare to provide a bit more background/context? How does this relate to ip2long?
Comment #3
chx commenteds integers > 2147483647 overflow with %d, see also http://drupal.org/node/134292
Comment #4
dries commentedAh, right! :-)
Comment #5
catchno longer applies.
Comment #6
chx commentedOK, rerolled. The patch adds %u to the useable placeholders.
Comment #7
agentrickardThe patch creates multiple issues with the menu system -- causing all pages to return NOT FOUND. Trying to decipher exactly what.
Screenshot is of testsite home page after applying the patch. Using HEAD and pgSQL 8.2.3.
Comment #8
agentrickardInitial finding: db_query_load_values() fails to return a value, but I still have odd behavior. Investigating.
Changes line 474.
Comment #9
bdragon commentedUm... db_query_load_values is not returning $query.
Comment #10
agentrickardFor reference, here's the similar function from database-mysql-common.inc:
Comment #11
agentrickardFixing the return value for db_query_load_values allows this statement to work correctly.
Where {test} is defined as:
pgSQL 8.2.3
Changes in database_pgsql.inc:
Comment #12
bdragon commentedPatch and an additional comment because I had to scratch my head for a second to figure out what was going on.
Comment #13
agentrickardPatch works as desired; %u syntax functions correctly in pgSQL. RTBC.
Comment #14
gábor hojtsyBeing an API change, I hand this over to Dries for consideration.
Comment #15
dries commentedThis issue combines two things: it adds support for longs _and_ it rewrite part of the database API for performance's sake. This should be split in two issues.
Comment #16
dpearcefl commentedDoes this issue exist in current D6?
Comment #17
dpearcefl commentedComment #18
dpearcefl commented