diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-04-14 18:50:16 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-04-14 18:50:16 +0000 |
commit | fa40f2446091575454de700024aa95aaad058d2c (patch) | |
tree | 7f3abba1276a4864082c51efe5a522f2d13d2ec6 /includes | |
parent | 0f24a52770718be5340b26a5fded3e75da6dd82a (diff) | |
download | brdo-fa40f2446091575454de700024aa95aaad058d2c.tar.gz brdo-fa40f2446091575454de700024aa95aaad058d2c.tar.bz2 |
- Patch #20235 by chx: fixed problem with db_set_active().
Diffstat (limited to 'includes')
-rw-r--r-- | includes/database.mysql.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/database.mysql.inc b/includes/database.mysql.inc index 6b6a16399..20edf814a 100644 --- a/includes/database.mysql.inc +++ b/includes/database.mysql.inc @@ -28,7 +28,7 @@ function db_connect($url) { $url['host'] = $url['host'] .':'. $url['port']; } - $connection = mysql_connect($url['host'], $url['user'], $url['pass']) or die(mysql_error()); + $connection = mysql_connect($url['host'], $url['user'], $url['pass'], TRUE) or die(mysql_error()); mysql_select_db(substr($url['path'], 1)) or die('unable to select database'); return $connection; |