Closed (fixed)
Project:
Drupal core
Component:
database system
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
30 Jul 2005 at 14:03 UTC
Updated:
8 Oct 2005 at 22:20 UTC
Jump to comment: Most recent file
Another simple patch which removes error:
Notice: Undefined index: dev_query in ***\includes\database.mysql.inc on line 80
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | database_inc_2.patch | 2.26 KB | chx |
| #5 | database_inc_1.patch | 2.26 KB | chx |
| #4 | database_inc_0.patch | 2.27 KB | chx |
| #3 | database_inc.patch | 2.35 KB | chx |
| database.mysql.inc_0.patch | 657 bytes | kuba.zygmunt |
Comments
Comment #1
dries commentedvariable_get is part of bootstrap.inc and therefore, it always exists. The test is probably redundant. Please test and resubmit. Thanks kuba.
Comment #2
chx commentedI always forget to post this patch.
This line was part of the bootstrap patch, so this is my work -- I do not know what got in me when I mistyped which function exists.
Why this line is necessary? Because after the bootstrap patch you can not be sure that bootstrap.inc is there when you are running a db_query.
Also there is a need to check for
$GLOBALS['conf']['dev_query']. I'll post immediately.Comment #3
chx commentedI came up with this easier to read, simpler code. I even -gasp- commented it.
Comment #4
chx commentedStupid, stupid me! I forgot that we merged init.inc with bootstrap.inc
Comment #5
chx commentedComment #6
chx commentedhow many stupid errors can one make? well, tomorrow I am thirty, I am surely will be much wiser :)
Comment #7
Steven commentedCommitted to HEAD minus the left-overs ;).
Comment #8
(not verified) commentedComment #9
(not verified) commentedComment #10
(not verified) commentedComment #11
(not verified) commentedComment #12
(not verified) commented