nZEDb/nZEDb — pull request #1360 by JRouleau (2014-06-22 17:46:56+00:00)
Title: Fix issue with schema not installing all database triggers.

This issue is present in master since June 4th.

New installs do not have the proper database triggers created which prevents things like search and API functionality (as no releases are indexed).

Fixes the issue by correcting the str_replace parameter to find $$ delimiters in mysql-ddl.sql that don't have a space in front of them. Also fixes a syntax error by adding the missing ')' to insert_hashes.