diff options
author | Michael Vogel <icarus@dabo.de> | 2012-05-26 03:21:07 +0200 |
---|---|---|
committer | Michael Vogel <icarus@dabo.de> | 2012-05-26 03:21:07 +0200 |
commit | 49512105082dde72553f4250e6284920612cc6b8 (patch) | |
tree | e6222e7ca809b116af44d006218271bc36b5c009 /include/dba.php | |
parent | a71e3134bf7250b60cafd1e51098eea70c3459de (diff) | |
download | volse-hubzilla-49512105082dde72553f4250e6284920612cc6b8.tar.gz volse-hubzilla-49512105082dde72553f4250e6284920612cc6b8.tar.bz2 volse-hubzilla-49512105082dde72553f4250e6284920612cc6b8.zip |
Speed optimisation by enabling the posibility of the MySQL fulltext engine
Diffstat (limited to 'include/dba.php')
-rw-r--r-- | include/dba.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/dba.php b/include/dba.php index 7ecce7270..c19d4a8fc 100644 --- a/include/dba.php +++ b/include/dba.php @@ -77,14 +77,14 @@ class dba { $this->error = ''; - //@file_put_contents("/tmp/friendica-db.log", datetime_convert().':'.session_id(). ' Start '.$sql."\n", FILE_APPEND); + @file_put_contents("/tmp/friendica-db.log", datetime_convert().':'.session_id(). ' Start '.$sql."\n", FILE_APPEND); if($this->mysqli) $result = @$this->db->query($sql); else $result = @mysql_query($sql,$this->db); - //@file_put_contents("/tmp/friendica-db.log", datetime_convert().':'.session_id(). ' Stop '."\n", FILE_APPEND); + @file_put_contents("/tmp/friendica-db.log", datetime_convert().':'.session_id(). ' Stop '."\n", FILE_APPEND); if($this->mysqli) { if($this->db->errno) |