8.0 sql db warning sig

To avoid that a bad query raises a exception. Now a bad query raises a warning.