]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rgw/dbstore: use `const char*` for sqlite3_bind_parameter_index()
authorCasey Bodley <cbodley@redhat.com>
Mon, 21 Feb 2022 16:59:37 +0000 (11:59 -0500)
committerCasey Bodley <cbodley@redhat.com>
Mon, 21 Feb 2022 18:18:25 +0000 (13:18 -0500)
commit673516826d90d6d4c6c0841ab8f68fa0f557ecec
tree94d0fda58f90a246d0efb267b27350da2699782e
parent9730342d9ec6c15c92367f4146ce700936268796
rgw/dbstore: use `const char*` for sqlite3_bind_parameter_index()

all string constants passed to sqlite3_bind_parameter_index() are now
`static constexpr const char*` instead of `std::string`

Signed-off-by: Casey Bodley <cbodley@redhat.com>
src/rgw/store/dbstore/common/dbstore.h
src/rgw/store/dbstore/sqlite/sqliteDB.cc