[InterNetNews/inn] b5f8fc: ovsqlite-util: Remove useless check on a return
Julien ÉLIE
noreply at github.com
Fri Aug 9 20:17:03 UTC 2024
Branch: refs/heads/main
Home: https://github.com/InterNetNews/inn
Commit: b5f8fc8591add5b72f7342af0cc5828c33e5fdb5
https://github.com/InterNetNews/inn/commit/b5f8fc8591add5b72f7342af0cc5828c33e5fdb5
Author: Bo Lindbergh <2bfjdsla52kztwejndzdstsxl9athp at gmail.com>
Date: 2024-08-09 (Fri, 09 Aug 2024)
Changed paths:
M storage/ovsqlite/ovsqlite-util.in
Log Message:
-----------
ovsqlite-util: Remove useless check on a return
It doesn't seem to be explicitly stated in the current DBI
documentation, but the RaiseError attribute passed to the connect
method applies to that method call itself as well as to future method
calls on the returned database handle. So, with RaiseError => 1,
there's no need to check the return value.
This behaviour has been present since DBI version 0.91 released in
1997.
To unsubscribe from these emails, change your notification settings at https://github.com/InterNetNews/inn/settings/notifications
More information about the inn-committers
mailing list