[GRASS-git] [OSGeo/grass] a05ed2: lib/db: Remove deprecated implementation of db_get...
Mohan Yelugoti
noreply at github.com
Wed Oct 23 05:49:08 PDT 2024
Branch: refs/heads/main
Home: https://github.com/OSGeo/grass
Commit: a05ed293ec9af66daa61f493e62611a6f179d2af
https://github.com/OSGeo/grass/commit/a05ed293ec9af66daa61f493e62611a6f179d2af
Author: Mohan Yelugoti <ymdatta.work at gmail.com>
Date: 2024-10-23 (Wed, 23 Oct 2024)
Changed paths:
M db/drivers/mysql/db.c
M db/drivers/postgres/db.c
M db/drivers/postgres/listdb.c
M include/grass/defs/dbmi.h
M lib/db/dbmi_base/connect.c
M lib/db/dbmi_base/login.c
M lib/vector/Vlib/open_pg.c
M vector/v.external/dsn.c
M vector/v.in.ogr/dsn.c
M vector/v.out.ogr/dsn.c
Log Message:
-----------
lib/db: Remove deprecated implementation of db_get_login() and replace it with that of db_get_login2() (#4302)
`db_get_login()` is deprecated in 7.8.0 release with da399c52637ee5c81228459fa374a114c8fef06c. Change its function signature and implementation to match that of the currently preferred `db_get_login2()`. Technically, this is removing the old function and introducing a new one with the same name, but a different signature.
Modify `db_get_login2()` to internally call `db_get_login()` function call. In the next major version, `db_get_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