[GRASS-git] [OSGeo/grass] 930d59: lib/db: Remove deprecated implementation of db_set...
Mohan Yelugoti
noreply at github.com
Wed Oct 23 05:50:51 PDT 2024
Branch: refs/heads/main
Home: https://github.com/OSGeo/grass
Commit: 930d59a3c30235f6ac33ba53e10dd1a8e201f732
https://github.com/OSGeo/grass/commit/930d59a3c30235f6ac33ba53e10dd1a8e201f732
Author: Mohan Yelugoti <ymdatta.work at gmail.com>
Date: 2024-10-23 (Wed, 23 Oct 2024)
Changed paths:
M db/db.login/main.c
M include/grass/defs/dbmi.h
M lib/db/dbmi_base/login.c
Log Message:
-----------
lib/db: Remove deprecated implementation of db_set_login() and replace it with that of db_set_login2() (#4308)
`db_set_login()` is deprecated in 7.8.0 release with da399c52637ee5c81228459fa374a114c8fef06c. Change its function signature and implementation to match that of the currently preferred `db_set_login2()`. Technically, this is removing the old function and introducing a new one with the same name, but a different signature.
Modify `db_set_login2()` to internally call `db_set_login()` function call. In the next major version, `db_set_login2()` should be removed to have only one method to get login details for simplicity.
See also #4308.
---------
Signed-off-by: Mohan Yelugoti <ymdatta.work at gmail.com>
To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications
More information about the grass-commit
mailing list