Closed (fixed)
Project:
Drupal core
Version:
7.x-dev
Component:
mysql database
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Sep 2008 at 08:19 UTC
Updated:
5 Dec 2008 at 15:15 UTC
Jump to comment: Most recent file
Comments
Comment #1
dries commentedGood catch. Did you check the other database layers to make sure there are no copy-paste errors made? :)
I've committed this patch to CVS HEAD.
Seems like we did not have tests for this so I'm marking this 'code needs work'. Hopefully tests still follow.
Comment #2
mfbpgsql uses db_escape_table(). Is that the preferred way to call escapeTable()? If so I should reroll the patch. Test to follow..
Comment #3
mfbSeems like there's a need for unit tests for each function in the db layer. For now I added some tests for db_*_exists() to the regression tests.
Comment #4
Anonymous (not verified) commentedThe last submitted patch failed testing.
Comment #5
mfbhere's a reroll splitting it up into two different test methods. note, maybe these should go in some unit test class rather than regression test class.
Comment #7
mfbComment #8
catchPatch looks good, test passes. RTBC.
Comment #9
dries commentedThanks for the follow-up, mfb. Committed to CVS HEAD. Thanks.