fixing bug #2719 by using a PreparedStatement
fixing bug #4659 and #5856 : filename is indexed both ANALYZE and NOT_ANALYZE
Merge branch 'ney-bug-5856' into core-5.14.x