Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
99e9f868
Commit
99e9f868
authored
May 06, 2004
by
Dries Buytaert
Browse files
- Patch
#7575
by ax: not in global scope, making updates fail.
parent
0e6221a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/database.inc
View file @
99e9f868
...
...
@@ -29,8 +29,7 @@ function db_prefix_tables($sql) {
* @param $name The named connection specified in the $db_url variable.
*/
function
db_set_active
(
$name
=
'default'
)
{
global
$db_url
;
global
$active_db
;
global
$db_url
,
$db_type
,
$active_db
;
static
$db_conns
;
if
(
!
isset
(
$db_conns
[
$name
]))
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment